|
From: Danny W. <da...@to...> - 2016-12-06 10:30:08
|
Hi Jeff,
I've downloaded and compiled gcc 4.4.7 (same as stock Centos version).
Unfortunately, the program no longer compiles, giving an error "This platform does not support exception propagation". (I don't know what that means).
Any suggestion on how to get around this?
Thanks,
Danny
/home/dvmon/bin/gcc-4.4.7/bin/g++ -c -g -O0 -DDEBUG -DCHECK_ALL -DDVMONDEBUG -DDV_BUILD_DATE=\"2016.12.06-17:58:21\" -Wall -Wextra -Wno-sign-compare -Wcast-align -DDV_MAJOR_VERSION=6 -DDV_MINOR_VERSION=0 -DDV_BETA_INDICATOR= -DDV_BUILD_NUMBER=27 -DDV_INSTALL_DIR=\"/usr/local/dvstation\" -ftemplate-depth-32 -march=native -ggdb -fPIC -DACE_HAS_NO_THROW_SPEC -D_GNU_SOURCE -D__ACE_INLINE__ -I../../include -I../../src -I/mnt/swdevel/DVMon/source_build/ext/ACE -I/mnt/swdevel/DVMon/source_build/ext/ACE/TAO -I/mnt/swdevel/DVMon/source_build/ext/ACE/TAO/orbsvcs -I/usr/include/libxml2 -Iinclude -DAGENTPP_NAMESPACE -I/usr/lib/qt-3.3/include -I/usr/include/pcap -o DvMain.o DvMain.cpp
In file included from ../../include/com/DvComDefaultExceptionHandler.h:76,
from DvMain.cpp:26:
/home/dvmon/bin/gcc-4.4.7/lib/gcc/i686-pc-linux-gnu/4.4.7/../../../../include/c++/4.4.7/exception_ptr.h:40:4: error: #error This platform does not support exception propagation.
make[1]: *** [DvMain.o] Error 1
On 29/11/2016, at 12:35 PM, Jeff Hammond wrote:
> Based upon your prior report showing the illegal instruction associated with std:tr1 code (re-included below), I recommend you build GCC from source so that your C++ standard library is compiled with generic instructions. Building GCC sounds daunting but I do it all the time. My poorly curated notes are https://github.com/jeffhammond/HPCInfo/wiki/GCC if you like to copy+paste from the internet :-)
|