http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52405
Matthias Klose <doko at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> 2012-02-28 13:35:17 UTC --- binutils from the 2.22 release branch is used. yes, using the linker plugin. options to build the shared library (see build.sh) -m64 -fpic -fno-rtti -fno-exceptions -fcheck-new -fvisibility=hidden -m64 -flto -flto-partition=none -g -O3 -fno-strict-aliasing -fno-omit-frame-pointer -Xlinker -O1 -Wl,-Bsymbolic-functions -Xlinker -z -Xlinker noexecstack -shared -Xlinker --version-script=mapfile_reorder -Xlinker -soname=libjvm.so -o libjvm.so reducing these to -m64 -fpic -fno-rtti -fno-exceptions -fcheck-new -fvisibility=hidden -flto -flto-partition=none -g -O3 -fno-strict-aliasing -fno-omit-frame-pointer -Wl,-Bsymbolic-functions -Xlinker -z -shared -Xlinker -soname=libjvm.so -o libjvm.so doesn't change things. -fno-use-linker-plugin doesn't change things. -flto-partition=none doesn't change things.