Hello,
I'm running this on Scientific Linux 7.2
My configure --
../gcc-5.3.0/configure --prefix=$PREFIX \
--enable-multilib \
--enable-bootstrap \
--enable-shared \
--enable-host-shared \
--enable-threads=posix \
--enable-checking=release \
--enable-__cxa_atexit \
--disable-libunwind-exceptions \
--enable-gnu-unique-object \
--enable-linker-build-id \
--with-system-zlib \
--enable-languages=c,c++,objc,obj-c++,java,fortran,go,lto \
--enable-plugin --enable-initfini-array
--disable-libgcj \
--enable-gnu-indirect-function
--with-tune=generic \
--with-arch_32=x86-64
Builds fine but make -n install fails with --
g++ -g -O2 -DIN_GCC -fPIC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o
c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o
c/c-objc-common.o c/c-parser.o c/c-array-notation.o c-family/c-common.o
c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o
c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o
c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o
c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o
c-family/c-ada-spec.o c-family/c-cilkplus.o
c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o
i386-c.o glibc-c.o \
cc1-checksum.o libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a
../libiberty/pic/libiberty.a ../libdecnumber/libdecnumber.a
-L/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/./isl/.libs -lisl
-L/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/./gmp/.libs
-L/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/./mpfr/.libs
-L/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/./mpc/src/.libs -lmpc
-lmpfr -lgmp -rdynamic -ldl -lz
libbackend.a(ipa-chkp.o): In function `void
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_M_construct<char const*>(char const*, char
const*, std::forward_iterator_tag)':
/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:223:
undefined reference to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_M_create(unsigned
long&, unsigned long)'
libbackend.a(ipa-chkp.o): In function `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::operator=(char const*)':
/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1168:
undefined reference to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned
long, unsigned long, char const*, unsigned long)'
libbackend.a(ipa-chkp.o): In function `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(char const*)':
/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1030:
undefined reference to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_M_append(char const*,
unsigned long)'
libbackend.a(ipa-chkp.o): In function `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::assign(char const*)':
/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1168:
undefined reference to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned
long, unsigned long, char const*, unsigned long)'
libbackend.a(ipa-chkp.o): In function `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(char const*)':
/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1030:
undefined reference to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_M_append(char const*,
unsigned long)'
/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1030:
undefined reference to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_M_append(char const*,
unsigned long)'
/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1030:
undefined reference to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_M_append(char const*,
unsigned long)'
/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1030:
undefined reference to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_M_append(char const*,
unsigned long)'
/afs/cad/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1030:
undefined reference to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_M_append(char const*,
unsigned long)'
collect2: error: ld returned 1 exit status
make[2]: *** [cc1] Error 1
make[2]: Leaving directory
`/afs/cad.njit.edu/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: Leaving directory
`/afs/cad.njit.edu/u/g/w/gwolosh/ftp/gcc/5.3.0/objdir'
make: *** [install] Error 2
I have tried various configuration options all with the same result.
This is just the latest iteration.
--
___________________________________________
Gedaliah Wolosh
Senior Academic and Research Computing Specialist
Academic and Research Computing/IST
New Jersey Institute of Technology
GITC 2203
973 596 5437