From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3sfk i686) Description of problem: g++ 2.96-85 reports an internal error while building TAO 1.2 with ACE 5.2. g++ -W -Wall -Wpointer-arith -pipe -O3 -g -Wno-uninitialized -fno-implicit-templates -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -DACE_HAS_AIO_CALLS -I/opt/ACE_wrappers/ -DACE_HAS_EXCEPTIONS -I/opt/ACE_wrappers//TAO -c -fPIC -o .shobj/POA_Policies.o POA_Policies.cpp PolicyS.cpp: In function `void POA_CORBA_Policy::_get_policy_type_skel (TAO_ServerRequest &, void *, void *, Environment &)': PolicyS.cpp:894: Internal compiler error in scan_region, at except.c: 2809 Please submit a full bug report. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Get ACE 5.2 + TAO 1.2 Corba orb 2. Build ACE according to instructions 3. Build TAO according to instructions Actual Results: g++ -W -Wall -Wpointer-arith -pipe -O3 -g -Wno-uninitialized -fno-implicit-templates -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -DACE_HAS_AIO_CALLS -I/opt/ACE_wrappers/ -DACE_HAS_EXCEPTIONS -I/opt/ACE_wrappers//TAO -c -fPIC -o .shobj/POA_Policies.o POA_Policies.cpp PolicyS.cpp: In function `void POA_CORBA_Policy::_get_policy_type_skel (TAO_ServerRequest &, void *, void *, Environment &)': PolicyS.cpp:894: Internal compiler error in scan_region, at except.c: 2809 Please submit a full bug report. make[2]: *** [.shobj/PolicyS.o] Error 2 ... g++ -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -DACE_HAS_AIO_CALLS -I/opt/ACE_wrappers/ -DACE_HAS_EXCEPTIONS -I/opt/ACE_wrappers//TAO -shared -o libTAO_DynamicInterface.so .shobj/Context.o .shobj/DII_Invocation.o .shobj/DII_Reply_Dispatcher.o .shobj/Dynamic_Adapter_Impl.o .shobj/Dynamic_Implementation.o .shobj/ExceptionList.o .shobj/Request.o .shobj/Server_Request.o .shobj/Unknown_User_Exception.o -L/opt/ACE_wrappers//ace -L./ -L/opt/ACE_wrappers//TAO/tao -lTAO_PortableServer -lTAO -lACE -ldl -lpthread -lrt /usr/bin/ld: cannot find -lTAO_PortableServer collect2: ld returned 1 exit status Additional info:
This has been fixed since gcc-2.96-97 AFAIK.