problems with sparc32 build

Thorsten Kukuk kukuk@suse.de
Wed Jan 29 22:05:00 GMT 2003


On Wed, Jan 29, Jakub Jelinek wrote:

> On Wed, Jan 29, 2003 at 08:56:35PM +0100, Andreas Jaeger wrote:
> > 
> > Building glibc for sparc fails with current CVS with:
> > 
> > In file included from ../linuxthreads/sysdeps/sparc/tls.h:25,
> >                  from ../include/tls.h:3,
> >                  from ../linuxthreads/internals.h:28,
> >                  from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
> >                  from cxa_atexit.c:19:
> > ../linuxthreads/sysdeps/sparc/sparc32/pt-machine.h:59: warning: call-clobbered register used for global register variable
> > 
> > What's going on here?  Is my GCC 3.3 CVS version to old?  I cannot
> > find tls patches for sparc in GCC mainline either...
> 
> By any change, aren't you using -fcall-used-g7?

compiler options are
gcc -m32 -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes \
	-Wwrite-strings -fcall-used-g7 -g -mtune=ultrasparc

so, -fcall-used-g7 is used (same compiler options as we used the
last years for compiling glibc on sparc32).

  Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Deutschherrnstr. 15-19        D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B



More information about the Libc-hacker mailing list