[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

BUG: glibc-2.3.6-7 build w/gcc-4.0 fails



I was attempting to build a customized libc6.1 package on Alpha to
work around Bug#325600 -- libc6.1: Threads remain <defunct> on Alpha
with libc6. 2.3.5-4.  (Interested parties should also see
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1297 where this
issue has been declared CLOSED - WONTFIX, which I speculate would not
be the case if x86 were affected :-( ).  The build was failing during
the -DPROF compile of elf/dl-runtime.c with the following error:

dl-runtime.c:222: error: '_dl_runtime_profile' aliased to undefined symbol '_dl_runtime_resolve'

As a workaround, I modified sysdeps/alpha/dl-machine.h as follows:

strong_alias (_dl_runtime_resolve, _dl_runtime_profile);

was replaced by

asm (".globl _dl_runtime_profile\n"			\
     "_dl_runtime_profile = _dl_runtime_resolve");

as inferred from include/libc-symbols.h.

'gcc -v' output:

Using built-in specs.
Target: alpha-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release alpha-linux-gnu
Thread model: posix
gcc version 4.0.4 20060422 (prerelease) (Debian 4.0.3-2)

binutils version: 2.16.1cvs20060413-1

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------



Reply to: