Unusual error message from gcc34 ?

walt wa1ter at myrealbox.com
Fri Jun 25 06:40:20 PDT 2004


I have gcc34 as the default in make.conf now.  I was updating
the 'aspell' port which halted with an error I've never seen
before (BTW the error does not occur with gcc 2.95.4):
mkdir .libs
cc -O -pipe -march=athlon-xp -o .libs/example-c example-c.o  ../lib/.libs/libaspell.so -Wl,--rpath -Wl,/usr/local/lib
/usr/libexec/binutils214/elf/ld: .libs/example-c: hidden symbol `__dso_handle' in /usr/lib/crtbegin.o is referenced by DSO
I found this comment in /usr/src/contrib/gcc-3.4/gcc/crtstuff.c:

/* Declare the __dso_handle variable.  It should have a unique value
   in every shared-object; in a main program its value is zero.  The
   object should in any case be protected.  This means the instance
   in one DSO or the main program is not used in another object.  The
   dynamic linker takes care of this.  */
Can anyone connect the dots for me -- I don't know if this represents
a bug in the 'aspell' port or possibly a bug somewhere else.
Thanks!





More information about the Bugs mailing list