Closed
Bug 633216
Opened 14 years ago
Closed 14 years ago
elfhack fails with gcc 4.4.5 and gold 1.10
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 629635
People
(Reporter: jrmuizel, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
application/octet-stream
|
Details |
elfhack gives me the following error:
elfhack: /home/jrmuizel/src/mozilla-central/build/unix/elfhack/elf.cpp:285: Elf::Elf(std::ifstream&): Assertion `segment->getFileSize() == phdr.p_filesz' failed.
Comment 1•14 years ago
|
||
Did you build beta11 or mozilla-central ? If the former, this could be either bug 629638 or 629639, in which case it's fixed on mozilla-central.
Reporter | ||
Comment 2•14 years ago
|
||
I was using the git repository of mozilla-central as of hg commit 7698f12bbe7d
Comment 3•14 years ago
|
||
please attach test.so (you will have to build it by hand, as the failure will remove it)
Comment 4•14 years ago
|
||
please also give the command lines used to build test.so and test.o
Comment 5•14 years ago
|
||
> Blocks: 633269
Strictly speaking, this is not entirely true. There are versions of gold that work fine with elfhack.
Reporter | ||
Comment 6•14 years ago
|
||
c++ -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -fno-strict-aliasing -fshort-wchar -pthread -pipe -fexceptions -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fno-omit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,-h,test.so -o test.so test.o
Comment 7•14 years ago
|
||
I can reproduce with your test.so. And the good news is that patches from bug 629635 fix it.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•