This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

glibc-2.1.3, asm/elf.h and PPC kernels with AltiVec support


Hi,

current glibc-2-1-branch breaks on the latest 2.2 kernels containing 
AltiVec support:

make[2]: Entering directory
'/usr/src/redhat/BUILD/glibc-2.1/linuxthreads'
In file included	from
../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:31,	
			from ../linuxthreads_db/proc_service.h:20,
			from ../linuxthreads_db/thread_dbP.h:6,
			from internals.h:30
			from attr.c:22:
/usr/include/asm/elf.h:43: parse error before 'elf_vrreg_t'
/usr/include/asm/elf.h:43: warning: data definition has no type or
storage class
/usr/include/asm/elf.h:44: parse error before 'elf_vrregset_t'
/usr/include/asm/elf.h:44: warning: data definition has no type or
storage class
make[2]: ***
[/usr/src/redhat/BUILD/glibc-2.1/build-ppc-linux/linuxthreads/attr.o]
Error 1

I think the correct fix would be a separate sys/elf.h for PPC, like what 
x86 and arm already do.

If there are no objections, I'll put together such a file and post it later 
today with the corresponding changes to other files.

Franz.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]