This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20170] New: Link errors building ACE 5.4.2: undefined reference to `__cxa_get_exception_ptr'
- From: "micis at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Feb 2005 16:19:03 -0000
- Subject: [Bug c++/20170] New: Link errors building ACE 5.4.2: undefined reference to `__cxa_get_exception_ptr'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When I use the actual snapshot of gcc40 to compile ACE 5.4.2 I get link errors.
I don't how to proceed in this case, the link error occurs after ~350 are
compiled and several libraries are generated.
This is a new regression, snapshot 20050213 has no problems.
My gcc is snapshot 20050220 with patches for bug19952 and bug20091.
Michael Cieslinski
g++40e -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc40/configure --prefix=/usr/local/gcc40e --program-
suffix=40e --with-arch=opteron --enable-languages=c,c++ --enable-checking
Thread model: posix
gcc version 4.0.0 20050220 (experimental)
g++40e -march=opteron -fmessage-length=0 -O0 -g -pipe -D_REENTRANT -
DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/home/cie019/ace542-gcc40x/ACE_wrappers -
DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I../../.. -I../../../Kokyu -c -
o .obj/MIF.o MIF.cpp
g++40e -march=opteron -fmessage-length=0 -O0 -g -pipe -D_REENTRANT -
DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/home/cie019/ace542-gcc40x/ACE_wrappers -
DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I../../.. -I../../../Kokyu -
L/usr/local/lib64 -Wl,-E -L/home/cie019/ace542-gcc40x/ACE_wrappers/ace -L./ -
L../../../lib -o MIF .obj/MIF.o -lKokyu -lACE -ldl -lpthread -lrt
.obj/MIF.o
(.gnu.linkonce.t._ZN5Kokyu23DSRT_Dispatcher_FactoryI20mif_scheduler_traitsE22cre
ate_DSRT_dispatcherERKNS_15DSRT_ConfigInfoE
[Kokyu::DSRT_Dispatcher_Factory<mif_scheduler_traits>::create_DSRT_dispatcher
(Kokyu::DSRT_ConfigInfo const&)]+0x125): In function
`Kokyu::DSRT_Dispatcher_Factory<mif_scheduler_traits>::create_DSRT_dispatcher
(Kokyu::DSRT_ConfigInfo const&)':
../../../Kokyu/Kokyu_dsrt.cpp:81: undefined reference to
`__cxa_get_exception_ptr'
.obj/MIF.o
(.gnu.linkonce.t._ZN5Kokyu23DSRT_Dispatcher_FactoryI20mif_scheduler_traitsE22cre
ate_DSRT_dispatcherERKNS_15DSRT_ConfigInfoE
[Kokyu::DSRT_Dispatcher_Factory<mif_scheduler_traits>::create_DSRT_dispatcher
(Kokyu::DSRT_ConfigInfo const&)]+0x217):../../../Kokyu/Kokyu_dsrt.cpp:90:
undefined reference to `__cxa_get_exception_ptr'
.obj/MIF.o
(.gnu.linkonce.t._ZN5Kokyu23DSRT_Dispatcher_FactoryI20mif_scheduler_traitsE22cre
ate_DSRT_dispatcherERKNS_15DSRT_ConfigInfoE
[Kokyu::DSRT_Dispatcher_Factory<mif_scheduler_traits>::create_DSRT_dispatcher
(Kokyu::DSRT_ConfigInfo const&)]+0x3af):../../../Kokyu/Kokyu_dsrt.cpp:99:
undefined reference to `__cxa_get_exception_ptr'
.obj/MIF.o
(.gnu.linkonce.t._ZN21ACE_Bound_Ptr_CounterI16ACE_Thread_MutexE15internal_create
Ei[ACE_Bound_Ptr_Counter<ACE_Thread_Mutex>::internal_create(int)]+0x87): In
function `ACE_Bound_Ptr_Counter<ACE_Thread_Mutex>::internal_create(int)':
/home/cie019/ace542-gcc40x/ACE_wrappers/ace/Bound_Ptr.inl:15: undefined
reference to `__cxa_get_exception_ptr'
.obj/MIF.o
(.gnu.linkonce.t._ZN5Kokyu27DSRT_Direct_Dispatcher_ImplI20mif_scheduler_traitsE1
0schedule_iEiRKNS1_15QoSDescriptor_tE[non-virtual thunk to
Kokyu::DSRT_Direct_Dispatcher_Impl<mif_scheduler_traits>::schedule_i(int,
mif_scheduler_traits::QoSDescriptor_t const&)]+0x124): In function
`Kokyu::DSRT_Direct_Dispatcher_Impl<mif_scheduler_traits>::schedule_i(int,
mif_scheduler_traits::QoSDescriptor_t const&)':
../../../Kokyu/DSRT_Direct_Dispatcher_Impl_T.cpp:210: undefined reference to
`__cxa_get_exception_ptr'
.obj/MIF.o
(.gnu.linkonce.t._ZN5Kokyu23DSRT_CV_Dispatcher_ImplI20mif_scheduler_traitsE10sch
edule_iEiRKNS1_15QoSDescriptor_tE
[Kokyu::DSRT_CV_Dispatcher_Impl<mif_scheduler_traits>::schedule_i(int,
mif_scheduler_traits::QoSDescriptor_t const&)]
+0x190):../../../Kokyu/DSRT_CV_Dispatcher_Impl_T.cpp:81: more undefined
references to `__cxa_get_exception_ptr' follow
collect2: ld returned 1 exit status
make[4]: *** [MIF] Error 1
--
Summary: Link errors building ACE 5.4.2: undefined reference to
`__cxa_get_exception_ptr'
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: micis at gmx dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20170