Red Hat Bugzilla – Bug 432144
building mozilla with unusual options: collect2: ld terminated with signal 11
Last modified: 2009-07-14 14:13:15 EDT
Latest Rawhide from today, x86_64 host, 4 gb
I was hunting for another build failure, and accidentially built mozilla (stable
1.8 branch) on x86_64 using the build options that were copied from a i386 build:
--enable-optimize="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
To my surprise this crashed:
gmake: Entering directory `/home/kaie/moz/18/obj-sm-opt/nsprpub/config'
gmake: warning: -jN forced in submake: disabling jobserver mode.
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/usr/bin/ld: i386 architecture of input file `now.o' is incompatible with
gmake: *** [now] Error 1
gmake: Leaving directory `/home/kaie/moz/18/obj-sm-opt/nsprpub/config'
gmake: *** [export] Error 2
gmake: Leaving directory `/home/kaie/moz/18/obj-sm-opt/nsprpub'
gmake: *** [nspr] Error 2
gmake: Leaving directory `/home/kaie/moz/18/obj-sm-opt'
make: *** [default] Error 2
make: Leaving directory `/home/kaie/moz/18/obj-sm-opt'
make: *** [build] Error 2
make: Leaving directory `/home/kaie/moz/18/mozilla'
and it no longer crashes.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
To the reporter: can you attach input file(s) needed and exact command line of
gcc or ld which results in triggering this bug?
Created attachment 336992 [details]
Prevent seg-fault on mis-matched binaries
The uploaded patch will fix the linker so that it no longer seg-faults, but instead returns an error code. Please could you try it out and let me know if you have any problems with it ?
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '9'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 9's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 9 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
I'm sorry, but when you requested me to test 3 months ago, my test environment had been wiped already for a long time. I don't have a way to test this now.
Fedora 9 changed to end-of-life (EOL) status on 2009-07-10. Fedora 9 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.