Closed Bug 628593 Opened 14 years ago Closed 14 years ago

elfhack fails to build on Fedora 14

Categories

(Firefox Build System :: General, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla2.0b11

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

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: nobody → mh+mozilla
Attachment #506681 - Flags: review?(khuey)
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+
Attachment #506681 - Flags: approval2.0?
Attachment #506681 - Flags: approval2.0? → approval2.0+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b11
Blocks: 606145
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: