[Bug libstdc++/22185] final link failed: Nonrepresentable section on output

2005-08-25 Thread pedro dot lamarao at mndfck dot org
--- Additional Comments From pedro dot lamarao at mndfck dot org 2005-08-26 01:31 --- Substituting the pragma for -fvisibility=hidden also seems to solve the problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22185

[Bug libstdc++/22185] final link failed: Nonrepresentable section on output

2005-08-21 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-08-21 18:02 --- It is a gcc bug and has been fixed in CVS: [EMAIL PROTECTED] .libs]$ readelf --wide -s/usr/lib/libstdc++.so.6 | grep _ZNSs4_Rep20_S_empty_rep_s | c++filt 1536: 000e3ef816 OBJECT WEAK DEFAULT 25

[Bug libstdc++/22185] final link failed: Nonrepresentable section on output

2005-08-21 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-08-21 20:22 --- Wrong duplicated bug. -- What|Removed |Added Status|RESOLVED

[Bug libstdc++/22185] final link failed: Nonrepresentable section on output

2005-08-21 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-08-21 20:25 --- The real isssue is you can't use #pragma GCC visibility push(hidden) on libstdc++ and glibc since they don't support them. We need to fix both glibc and libstdc++ header files. *** This bug has been marked as a

[Bug libstdc++/22185] final link failed: Nonrepresentable section on output

2005-08-21 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-08-21 20:40 --- One solution is to put #pragma GCC visibility push(default) ... #pragma GCC visibility pop around all libc and libstdc++ header files, like #pragma GCC visibility push(default) #include iostream.h #pragma GCC

[Bug libstdc++/22185] final link failed: Nonrepresentable section on output

2005-06-26 Thread pedro dot lamarao at mndfck dot org
--- Additional Comments From pedro dot lamarao at mndfck dot org 2005-06-26 14:58 --- Works in the same system with a g++ 3.4.4 compiled from source: [EMAIL PROTECTED] Projetos]$ $HOME/.local/gcc-3.4.4/bin/g++ -O3 -fPIC -c -o net_error.o net_error.ii [EMAIL PROTECTED] Projetos]$

[Bug libstdc++/22185] final link failed: Nonrepresentable section on output

2005-06-25 Thread pedro dot lamarao at mndfck dot org
--- Additional Comments From pedro dot lamarao at mndfck dot org 2005-06-25 16:10 --- Created an attachment (id=9149) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9149action=view) Problem code This file contains the declaration for a class inheriting from std::runtime_error. --

[Bug libstdc++/22185] final link failed: Nonrepresentable section on output

2005-06-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-25 18:23 --- I think this is a binutils bug and not a bug in GCC and/or libstdc++. -- What|Removed |Added