Closed
Bug 654087
Opened 13 years ago
Closed 12 years ago
Elfhack error
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla21
People
(Reporter: bes.wll, Assigned: glandium)
References
Details
Attachments
(2 files)
505.27 KB,
text/plain
|
Details | |
2.45 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110501 Firefox/6.0a1 SeaMonkey/2.2a1pre Build Identifier: Nightly 6.0a1 2011-05-02 Trying to build with elfhack rresults in this: == 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 elfhack: /home/bengt-erik/mozilla-central/src/build/unix/elfhack/elf.cpp:286: Elf::Elf(std::ifstream&): Assertion `segment->getMemSize() == phdr.p_memsz' failed. xargs: ../../build/unix/elfhack/elfhack: avslutades av signal 6 (terminated by signal 6) make[2]: *** [elfhack] Fel 125 (Error 125) Building as such is OK, this happens when using 'make package' Compiler: gcc 4.5.2 (Ubuntu 11.04) Linker : GNU gold (GNU Binutils 2.21.51.20110227) 1.11 when using --disable-elf-hack everything is OK Reproducible: Always
Updated•13 years ago
|
Component: General → Build Config
QA Contact: general → build-config
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → mh+mozilla
Comment 1•13 years ago
|
||
I have same problem compiling Firefox 7.0.1 with PGO. I don't understand that if it disables the elfhack when I configure/compile, why it fails when I try to install it with "sudo make -f client.mk install" because this?
Comment 2•13 years ago
|
||
Same problem here compiling FF 7.0.1 with PGO Tried the --disable-elf-hack, but this elf-hack makes icc to lose its compatibility to compile as what ./configure said
Comment 3•13 years ago
|
||
I am seeing this same bug when compiling with PGO. The problem looks like that we have a .tbss section of 16x + 8 bytes and the TLS segment that contains it has a memsz of 16(x+1) bytes. Both section and segment are said to be 16-byte aligned. Will upload an example file in a second.
Comment 4•13 years ago
|
||
An x86-64 shared library that exhibits the problem. Compiled with close-to-tip GCC 4.7 and linked with trunk gold.
Updated•13 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 5•13 years ago
|
||
this affects me as well, not sure what other information is needed.
Assignee | ||
Comment 6•13 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #5) > this affects me as well, not sure what other information is needed. If your problem is http://pastebin.mozilla.org/1412669 that would be a separate issue. Please file a new bug with that log, as well as a copy of the file on which elfhack segfaults (apparently, libplugin-container.so)
Assignee | ||
Comment 7•12 years ago
|
||
Attachment #702271 -
Flags: review?(nfroyd)
Updated•12 years ago
|
Attachment #702271 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 9•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/eb1363fb8a2d
Comment 10•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/eb1363fb8a2d
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•