This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.2 runs with glibc-2.2, crashes with glibc-2.3?
- From: "Yuval Kfir" <yuvalk at mainsoft dot com>
- To: "Jim Wilson" <wilson at specifixinc dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Wed, 3 Mar 2004 11:49:06 +0200
- Subject: Re: GCC 3.2 runs with glibc-2.2, crashes with glibc-2.3?
- Organization: Mainsoft Corporation
- References: <1078039078.40419226c2dbe@imapserver.il.mainsoft.com> <40451AD5.9010803@specifixinc.com>
Thanks, Jim. Eventually we managed to narrow it down to the crtbeginS.o
file - the symbol __dso_handle was being created as public instead of
private, and the linker was using the loader's __dso_handle instead of the
shared library's.
The solution was to upgrade to gcc 3.2.3 and binutils 2.13.90, so that the
assembler will generate __dso_handle as a private symbol.
- Yuval