Bug 746115

Summary: needs --disable-elf-hack on F15 armv7hl
Product: [Fedora] Fedora Reporter: Henrik Nordström <henrik>
Component: xulrunnerAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: gecko-bugs-nobody, johnp, jrb, mcepl, mcepl, stransky, walters
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xulrunner-10.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 15:22:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Add --disable-elf-hack on armv7hl none

Description Henrik Nordström 2011-10-13 22:38:48 UTC
Build fails on armv7hl unless --disable-elf-hack is used, crashing with a segfault while running elfhack on libxul.so


Makefile:102: FULL_NSPR_CFLAGS=
===
=== If you get failures below, please file a bug describing the error
=== and your environment (compiler and linker versions), and use
=== --disable-elf-hack until this is fixed.
===
cd ../../dist/bin; find . -name "*.so" | xargs ../../build/unix/elfhack/elfhack
./libmozjs.so: Reduced by 16272 bytes
./libmozalloc.so: No gain. Skipping
./components/libdbusservice.so: No gain. Skipping
./components/libmozgnome.so: No gain. Skipping
./libxul.so: xargs: ../../build/unix/elfhack/elfhack: terminated by signal 11
make[1]: Leaving directory `/builddir/build/BUILD/xulrunner-7.0/mozilla-release/xulrunner/installer'
make[1]: *** [elfhack] Error 125
make: *** [install] Error 2


Seen with 7.0-1.fc15 and 7.0.1-1.fc15


gcc-4.6.1-9.fc15.0.arm1.armv7hl
gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)

binutils-2.21.51.0.6-7.fc15.armv7hl

relevant build flags:
-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard 


Have not filed an upstream bug report yet as I am not 100% sure what file it agains. Core? or Firefox?

Comment 1 Henrik Nordström 2011-10-13 22:40:13 UTC
Created attachment 528123 [details]
Add --disable-elf-hack on armv7hl

Comment 2 Matěj Cepl 2011-10-14 09:54:13 UTC
This bug has been triaged

Comment 3 Henrik Nordström 2011-10-20 07:18:05 UTC
Same --disable-efl-hack workaround os also needed for firefox obviously.

Comment 4 Martin Stransky 2012-02-24 15:22:38 UTC
It's already there.