This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/22185] final link failed: Nonrepresentable section on output
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Aug 2005 20:40:12 -0000
- Subject: [Bug libstdc++/22185] final link failed: Nonrepresentable section on output
- References: <20050625160810.22185.pedro.lamarao@mndfck.org>
- Reply-to: gcc-bugzilla at gcc dot gnu 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 visibility pop
But you may run into bug 20303.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22185