bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28894] segfault when building openjdk13 on x86 32bit (binu


From: pierre.labastie at neuf dot fr
Subject: [Bug binutils/28894] segfault when building openjdk13 on x86 32bit (binutils 2.38 regression)
Date: Tue, 15 Feb 2022 18:40:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28894

--- Comment #3 from Pierre Labastie <pierre.labastie at neuf dot fr> ---
I have a similar issue with openjdk-17.0.2 (in a 32 bit VM):
/usr/bin/ld:
/sources/openjdk/jdk17u-jdk-17.0.2-ga/build/linux-x86-server-release/hotspot/variant-server/libjvm/objs/adaptiveSizePolicy.o:
warning: relocation in read-only section `.text'
/usr/bin/ld: BFD (GNU Binutils) 2.38 assertion fail ../../bfd/elfxx-x86.c:529
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
compilation terminated.

The command line leading to that is:
/usr/bin/g++ -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-O1
-Wl,--hash-style=gnu -march=i586 -m32 -shared -m32
-Wl,-version-script=/sources/openjdk/jdk17u-jdk-17.0.2-ga/build/linux-x86-server-release/hotspot/variant-server/libjvm/mapfile
-Wl,-soname=libjvm.so -o
/sources/openjdk/jdk17u-jdk-17.0.2-ga/build/linux-x86-server-release/support/modules_libs/java.base/server/libjvm.so
@/sources/openjdk/jdk17u-jdk-17.0.2-ga/build/linux-x86-server-release/hotspot/variant-server/libjvm/objs/_BUILD_LIBJVM_objectfilenames.txt
-lm -ldl -lpthread -lrt

I have attached the "version-script". The compressed directory objs (that
contains all the object files unless I've missed something) will be attached
next

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]