This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can't compile GCC (unhelpful linking error)


Hello,

Ok, my GCC compile seemed to be going great and then I got what might be the most unhelpful linking error I've seen. I hope someone here can make some sense out of it.

The error is in the libstdc++ directory. I'm wondering if I can get around it by just not compiling C++ support... I could ./configure with --languages=c,fortran only... Would that work?


---------------------------//----------------------
libtool: link: /home/daniel/Other/GCC/gcc-4.6.1/build/./gcc/xgcc -shared-libgcc -B/home/daniel/Other/GCC/gcc-4.6.1/build/./gcc -nostdinc++ -L/home/daniel/Other/GCC/gcc-4.6.1/build/i686-pc-linux-gnu/libstdc++-v3/src -L/home/daniel/Other/GCC/gcc-4.6.1/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include -shared -nostdlib /usr/lib/crti.o /home/daniel/Other/GCC/gcc-4.6.1/build/./gcc/crtbeginS.o .libs/atomic.o .libs/bitmap_allocator.o .libs/pool_allocator.o .libs/mt_allocator.o .libs/codecvt.o .libs/compatibility.o .libs/compatibility-c++0x.o .libs/compatibility-debug_list.o .libs/compatibility-debug_list-2.o .libs/compatibility-list.o .libs/compatibility-list-2.o .libs/complex_io.o .libs/ctype.o .libs/debug.o .libs/functexcept.o .libs/functional.o .libs/globals_io.o .libs/hash_c++0x.o .libs/hash_tr1.o .libs/hashtable_c++0x.o .libs/hashtable_tr1.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o .libs/locale_init.o .libs/locale_facets.o .libs/localename.o .libs/math_stubs_float.o .libs/math_stubs_long_double.o .libs/stdexcept.o .libs/strstream.o .libs/system_error.o .libs/tree.o .libs/istream.o .libs/placeholders.o .libs/regex.o .libs/shared_ptr.o .libs/streambuf.o .libs/mutex.o .libs/condition_variable.o .libs/chrono.o .libs/thread.o .libs/future.o .libs/valarray.o .libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o .libs/ctype_members.o .libs/messages_members.o .libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o .libs/basic_file.o .libs/c++locale.o .libs/allocator-inst.o .libs/concept-inst.o .libs/ext-inst.o .libs/fstream-inst.o .libs/ios-inst.o .libs/iostream-inst.o .libs/istream-inst.o .libs/locale-inst.o .libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o .libs/streambuf-inst.o .libs/string-inst.o .libs/wlocale-inst.o .libs/wstring-inst.o .libs/parallel_settings.o .libs/compatibility-parallel_list.o .libs/compatibility-parallel_list-2.o -Wl,--whole-archive ../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive -L/home/daniel/Other/GCC/gcc-4.6.1/build/i686-pc-linux-gnu/libstdc++-v3/src -L/home/daniel/Other/GCC/gcc-4.6.1/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm -L/home/daniel/Other/GCC/gcc-4.6.1/build/./gcc -lc -lgcc_s /home/daniel/Other/GCC/gcc-4.6.1/build/./gcc/crtendS.o /usr/lib/crtn.o -Wl,-O1 -Wl,--gc-sections -Wl,--version-script=libstdc++-symbols.ver -Wl,-soname -Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.16
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
/usr/bin/ld: error: unsupported symbol binding
collect2: ld returned 1 exit status
make[4]: *** [libstdc++.la] Error 1
make[4]: Leaving directory `/home/daniel/Other/GCC/gcc-4.6.1/build/i686-pc-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/daniel/Other/GCC/gcc-4.6.1/build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/daniel/Other/GCC/gcc-4.6.1/build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/daniel/Other/GCC/gcc-4.6.1/build'
make: *** [all] Error 2
---------------------------//----------------------



-- I'm not overweight, I'm undertall.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]