[Bug libstdc++/54173] -D_GLIBCXX_DEBUG breaks string::_Rep::_S_empty_rep_storage weak binding.
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Fri Jun 13 16:12:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54173
Pawel Sikora <pluto at agmk dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |WONTFIX
--- Comment #4 from Pawel Sikora <pluto at agmk dot net> ---
currently i'm using a gcc configured with --disable-gnu-unique-object,
--disable-initfini-array (not supported by ld.so on older *enterprise*
redhat/suse distros) and --with-linker-hash-style=both (.gnu.hash section
w/o sysv .hash causes divide by 0 inside older ld.so).
finally, i'm building my application with -fms-compat-visiblity
and explicite __attribute__((visibility("default"))) exports instead
of tricky linker scripts. such options give me pretty portable binaries
(works well on rhel5, rhel6, suse11).
More information about the Gcc-bugs
mailing list