Bug 746115 - needs --disable-elf-hack on F15 armv7hl
Summary: needs --disable-elf-hack on F15 armv7hl
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xulrunner
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-13 22:38 UTC by Henrik Nordström
Modified: 2018-04-11 08:31 UTC (History)
7 users (show)

Fixed In Version: xulrunner-10.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 15:22:38 UTC
Type: ---


Attachments (Terms of Use)
Add --disable-elf-hack on armv7hl (1.13 KB, patch)
2011-10-13 22:40 UTC, Henrik Nordström
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.