Closed
Bug 628593
Opened 14 years ago
Closed 14 years ago
elfhack fails to build on Fedora 14
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla2.0b11
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
(deleted),
patch
|
khuey
:
review+
sdwilsh
:
approval2.0+
|
Details | Diff | Splinter Review |
From https://bugzilla.mozilla.org/show_bug.cgi?id=606145#c50
On Fedora 14 hg:ac6c96109dcf build failed at
c++ -o host_elf.o -c -fno-rtti -fno-exceptions -Wall -Wpointer-arith
-Woverloade
d-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align
-Wno
-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long
-gdwar
f-2 -fno-strict-aliasing -fshort-wchar -pthread -pipe -fexceptions -DNDEBUG
-DT
RIMMED -g -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fno-exceptions
-fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I. -I../../../dist/include
-I../../../dist/include/nsprpub -I/usr/include/nspr4 -I/usr/include/nss3
-
I/usr/include/nspr4 elf.cpp
elf.cpp: In constructor 'Elf::Elf(std::ifstream&)':
elf.cpp:149:54: error: exception handling disabled, use -fexceptions to enable
Assignee | ||
Comment 1•14 years ago
|
||
Assignee: nobody → mh+mozilla
Attachment #506681 -
Flags: review?(khuey)
Comment 2•14 years ago
|
||
Sorry. I found that I manually set -fno-exceptions (-fexceptions is replaced with -fno-exceptions in Fedora xulrunner spec file).
It's better to filtrate -fno-exceptions. However the current build/unix/elfhack/Makefile.in have no problem.
Comment on attachment 506681 [details] [diff] [review]
Remove -fno-exceptions from CXXFLAGS when building elfhack
Yuck.
Attachment #506681 -
Flags: review?(khuey) → review+
Assignee | ||
Updated•14 years ago
|
Attachment #506681 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #506681 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 4•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b11
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
•