Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84445 - -fno-exceptions kills partimage compile
Summary: -fno-exceptions kills partimage compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Christian Zoffoli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-07 14:48 UTC by Joseph Cheek
Modified: 2005-03-13 06:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Cheek 2005-03-07 14:48:26 UTC
with -fno-exceptions in CXXFLAGS, partimage fails to build.

Making all in shared
make[3]: Entering directory `/usr/src/RedmondLinux/BUILD/partimage-0.6.4/src/shared'
source='image_disk.cpp' object='image_disk.o' libtool=no \
depfile='.deps/image_disk.Po' tmpdepfile='.deps/image_disk.TPo' \
depmode=gcc /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I. -I../.. -I../.. -I../../src/client -I../../src/shared -I/usr/include/slang  -Wno-deprecated -I/usr/include/openssl -Wall  -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium -c -o image_disk.o image_disk.cpp
image_disk.cpp: In method `QWORD CImageDisk::getPartitionSize(const char *)':
image_disk.cpp:100: exception handling disabled, use -fexceptions to enable
make[3]: *** [image_disk.o] Error 1
make[3]: Leaving directory `/usr/src/RedmondLinux/BUILD/partimage-0.6.4/src/shared'


Reproducible: Always
Steps to Reproduce:
1. add -fno-exceptions to CXXFLAGS
2. emerge partimage
3. verify above error

Actual Results:  
see above

Expected Results:  
filter-flags -fno-exceptions
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2005-03-13 06:02:16 UTC
fixed in cvs.
thanks