This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/80314] New: Undefined reference to __dso_handle & __cxa_atexit


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80314

            Bug ID: 80314
           Summary: Undefined reference to __dso_handle & __cxa_atexit
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sbansal at ciena dot com
  Target Milestone: ---

I am seeing undefined reference to __dso_handle and __cxa_texit during linking
stage.

BinUtils version : 2.23.52.20130219

What could be the possible problem?

hax-dgera-1|</lib/gcc/powerpc-wrs-vxworks/4.8.1$ nmppc libstdc++.a | grep
dso_handle
         U __dso_handle
         U __dso_handle
         U __dso_handle
         U __dso_handle
         U __dso_handle
         U __dso_handle
         U __dso_handle
         U __dso_handle
         U __dso_handle
         U __dso_handle
         U __dso_handle

hax-dgera-1|</lib/gcc/powerpc-wrs-vxworks/4.8.1$ nmppc libsupc++.a | grep
__cxa_atexit
         U __cxa_atexit
         U __cxa_atexit
         U __cxa_atexit


+hax-dgera-1|</ome/spx/ppc/sp2_vx$ ccppc -v
Using built-in specs.
COLLECT_GCC=ccppc
COLLECT_LTO_WRAPPER=/home/sbansal/vik/4.8.1/x86-linux2/bin/../libexec/gcc/powerpc-wrs-vxworks/4.8.1/lto-wrapper
Target: powerpc-wrs-vxworks
Configured with: ../gcc-4.8/configure LDFLAGS=-L/opt/cross/lib
--build=i686-pc-linux-gnu --disable-decimal-float --disable-fixed-point
--disable-libgomp --disable-libmudflap --disable-libssp --disable-libstdcxx-pch
--disable-lto --disable-multilib --disable-nls --disable-hosted-libstdcxx
--disable-sjlj-exceptions --disable-symvers --disable-shared
--exec-prefix=/opt/cross/x86-linux2 --enable-__cxa_atexit
--enable-languages=c,c++ --enable-poison-system-directories --enable-shared
--enable-threads=vxworks --enable-version-specific-runtime-libs
--host=i686-pc-linux-gnu --libdir=/opt/cross/lib --prefix=/opt/cross
--program-transform-name='s,^gcc$,cc,;s,$,ppc,' --target=powerpc-wrs-vxworks
--with-build-time-tools=/opt/cross/x86-linux2/powerpc-wrs-vxworks/bin
--with-cloog=/opt/cross --with-isl=/opt/cross --with-gmp=/opt/cross
--with-mpfr=/opt/cross --with-gnu-ld
Thread model: vxworks
gcc version 4.8.1 (GCC) 
Compiler SPR fixes: TCGNU-3730 TCGNU-3740 TCGNU-3781 TCGNU-3728 TCGNU-3808
TCGNU-3821 TCGNU-3765 TCGNU-3835 TCVXWGCC-12 TCVXWGCC-13 TCVXWGCC-14
TCVXWGCC-58
Library SPR fixes: TCGNU-3844

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]