[klibc] (fwd) Bug#440721: FTBFS on sparc while linking usr/klibc/libc.so

H. Peter Anvin hpa at zytor.com
Tue Sep 4 00:49:37 PDT 2007


maximilian attems wrote:
> new klibc sparc build failure against gcc 4.2
> 
> ----- Forwarded message from Kilian Krause <kilian at debian.org> -----
> 
> Subject: Bug#440721: FTBFS on sparc while linking usr/klibc/libc.so
> From: Kilian Krause <kilian at debian.org>
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> Date: Mon, 03 Sep 2007 23:35:23 +0200
> 
> Package: klibc
> Version: 1.5.6-2
> Severity: serious
> 
> While building your package on sparc the following error occurs:
>   KLIBCLD usr/klibc/libc.so
> ld: sparc architecture of input file `/usr/lib/gcc/sparc-linux-gnu/4.2.1/libgcc.a(_clzdi2.o)' is incompatible with sparc:v9 output
> ld: sparc architecture of input file `/usr/lib/gcc/sparc-linux-gnu/4.2.1/libgcc.a(_clz.o)' is incompatible with sparc:v9 output
> /usr/lib/gcc/sparc-linux-gnu/4.2.1/libgcc.a(_clzdi2.o): In function `__clzdi2':
> (.text+0xc): undefined reference to `_GLOBAL_OFFSET_TABLE_'
> /usr/lib/gcc/sparc-linux-gnu/4.2.1/libgcc.a(_clzdi2.o): In function `__clzdi2':
> (.text+0x14): undefined reference to `_GLOBAL_OFFSET_TABLE_'
> make[3]: *** [usr/klibc/libc.so] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [klibc] Error 2
> make[1]: Leaving directory `/build/klibc-1.5.6'
> 
> Full build log can be found at http://status.buildserver.net/fetch.php?&pkg=klibc&ver=1.5.6-2&arch=sparc&stamp=1188846193&file=log&as=raw
> 

Hmm... wonder if this means libgcc is no longer usable on sparc.  If so, 
we may have to do the internal libgcc thing for sparcd as well.

Is this sparc32 or -64?

	-hpa



More information about the klibc mailing list