Bug 84445 - -fno-exceptions kills partimage compile
Bug#: 84445 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: xmerlin@gentoo.org Reported By: joseph@cheek.com
Component: Ebuilds
URL: 
Summary: -fno-exceptions kills partimage compile
Keywords:  
Status Whiteboard: 
Opened: 2005-03-07 14:48 0000
Description:   Opened: 2005-03-07 14:48 0000
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 From Christian Zoffoli 2005-03-13 06:02:16 0000 -------
fixed in cvs.
thanks