This is the mail archive of the gcc@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]

Problems with dso_handle



I'm compiling on Linux 2.2.16 with H.J.'s latest binutils (2.10.0.18) and
am seeing something that has me a bit baffled.

Most C++ programs now show up with the error:

	undefined symbol: __dso_handle

at link time.

In particular, 'make check' in the tree causes *all* of the libstdc++ tests
to fail with errors such as:

/home/leei/IUE/egcs/linux/i586-pc-linux-gnu/libstdc++/testsuite/tcomplex: error 
in loading shared libraries: /home/leei/IUE/egcs/linux/i586-pc-linux-gnu/libstdc
++/libstdc++-libc6.1-2.so.3: undefined symbol: __dso_handle
FAIL: tcomplex.cc execution

Is this something that I've broken in my compile-time environment?  It's been
showing up for about a week now, but I must admit that I haven't been testing
extensively (at all?) on this platform for some time now so it may have
happened any time in the past month or so.

How is the dso_handle stuff supposed to work?

I've bootstrapped with:

../configure --with-gcc-version-trigger=/home/leei/IUE/egcs/gcc/version.c --host=i586-pc-linux-gnu --prefix=/usr/egcs --disable-threads --enable-shared --enable-languages=c++,java,f77 --with-cpu=k6 --disable-nls
-------------------------------------------------------------------------------
Lee Iverson     		SRI International
leei@ai.sri.com			333 Ravenswood Ave., Menlo Park CA 94025
http://www.ai.sri.com/~leei/	(650) 859-3307

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