I get the following with the net_error.ii file attached to this bug: [EMAIL PROTECTED] Projetos]$ g++ -O3 -fPIC -c -o net_error.o net_error.ii [EMAIL PROTECTED] Projetos]$ g++ -fPIC -shared -o net_error.so net_error.o /usr/bin/ld: net_error.o(.text+0x8e): unresolvable relocation against symbol `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage@@GLIBCXX_3.4' /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status
[EMAIL PROTECTED] Projetos]$ g++ -O3 -c -o net_error.o net_error.ii [EMAIL PROTECTED] Projetos]$ g++ -shared -o net_error.so net_error.o [EMAIL PROTECTED] Projetos]$ Works fine. [EMAIL PROTECTED] Projetos]$ g++ -fPIC -c -o net_error.o net_error.ii [EMAIL PROTECTED] Projetos]$ g++ -fPIC -shared -o net_error.so net_error.o [EMAIL PROTECTED] Projetos]$ Works fine. [EMAIL PROTECTED] Projetos]$ g++ -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux Thread model: posix gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) The machine runs a Fedora Core 4 system. -- Summary: final link failed: Nonrepresentable section on output Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: critical Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pedro dot lamarao at mndfck dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22185