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).