Closed
Bug 630600
Opened 14 years ago
Closed 14 years ago
elfhack failure: build/unix/elfhack/elf.cpp:285: Elf::Elf(std::ifstream&): Assertion `segment->getFileSize() == phdr.p_filesz' failed.
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 629635
People
(Reporter: ehsan.akhgari, Unassigned)
Details
Attachments
(2 files)
x86_64-noinit.c
===
=== 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.
===
elfhack: /home/ehsan/moz/src/build/unix/elfhack/elf.cpp:285: Elf::Elf(std::ifstream&): Assertion `segment->getFileSize() == phdr.p_filesz' failed.
make[6]: *** [test.so] Aborted
make[6]: *** Deleting file `test.so'
make[5]: *** [libs] Error 2
make[4]: *** [libs] Error 2
make[3]: *** [libs_tier_base] Error 2
make[2]: *** [tier_base] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2
ehsan@ehsan-Macmini:~/moz/src$ gcc --version
gcc-4.4.real (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ehsan@ehsan-Macmini:~/moz/src$ g++ --version
g++-4.4.real (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ehsan@ehsan-Macmini:~/moz/src$ ld --version
GNU gold (GNU Binutils for Ubuntu 2.20.51-system.20100908) 1.10
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
ehsan@ehsan-Macmini:~/moz/src$ cat /home/ehsan/.mozconfig
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-dbg
mk_add_options MOZ_MAKE_FLAGS="-s -j4"
ac_add_options --enable-application=browser
ac_add_options --enable-debug
ac_add_options --disable-optimize
ac_add_options --enable-ccache
Reporter | ||
Comment 1•14 years ago
|
||
FWIW, adding --disable-elf-hack to my mozconfig has fixed this, as suggested by the comment.
Oh, and also:
ehsan@ehsan-Macmini:~/moz/src$ hg id
c0c64f24c8a7 tip
Comment 2•14 years ago
|
||
Very likely to be a duplicate of 629635. Could you arrange to build test.so and give the output of readelf -l -S test.so ?
Reporter | ||
Comment 3•14 years ago
|
||
Reporter | ||
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
I can confirm this is the same bug
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
•