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

Re: glibc-2.0.96 build problems



"Nils Lohner" <lohner@debian.org> writes:

> I had to change this in the makefile because for some reason make -C wasn't 
> working... it simply segfaulted make.  Maybe you can ad a ./configure check 
> to see if make -C works, and if not, use this as an alternative?

Which version of make?  And please, investigate the segfault.

I really don't want to add checks for every broken version on each
platform.  Only general problems with programs will be tested.  But
this problem is either SPARC limited or even limited to your copy.

> gcc ../sysdeps/generic/segfault.c -c -O -Wall -Winline -Wstrict-prototypes 
> -Wwrite-strings -g   -fPIC    -I../include -I.  -I.. -I../libio  
> -I../sysdeps/sparc/sparc32/elf -I../crypt/sysdeps/unix 
> -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread 
> -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix 
> -I../linuxthreads/sysdeps/sparc/sparc32 -I../linuxthreads/sysdeps/pthread/no-
> cmpxchg -I../linuxthreads/sysdeps/sparc -I../sysdeps/unix/sysv/linux/sparc/sp
> arc32 -I../sysdeps/unix/sysv/linux/sparc -I../sysdeps/unix/sysv/linux 
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/sparc 
> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sparc/sparc32/fpu 
> -I../sysdeps/sparc/sparc32 -I../sysdeps/wordsize-32 -I../sysdeps/sparc/fpu 
> -I../sysdeps/sparc -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 
> -I../sysdeps/generic/elf -I../sysdeps/generic   -D_LIBC_REENTRANT -include 
> ../include/libc-symbols.h  -DPIC   -o segfault.os
> ../sysdeps/generic/segfault.c: In function `install_handler':
> ../sysdeps/generic/segfault.c:179: `SA_ONSTACK' undeclared (first use in 
> this function)
> ../sysdeps/generic/segfault.c:179: (Each undeclared identifier is reported 
> only once
> ../sysdeps/generic/segfault.c:179: for each function it appears in.)

Well, this is a problem with the alpha, mips, and sparc specific
sigaction.h files.  I don't know why this wasn't reported.  You have
to add appropriate definitions to

	sysdeps/unix/sysv/linux/sparc/bits/sigaction.h



-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


Reply to: