[klibc] New linux-2.6-klibc.git tree available; should fix UML

H. Peter Anvin hpa at zytor.com
Mon May 15 22:53:01 PDT 2006

I have pushed out a new linux-2.6-klibc tree which should fix building 
UML (at least to the extent that klibc is at issue; any attempt I make 
at building UML dies with:

   CC      arch/um/os-Linux/sys-x86_64/registers.o
arch/um/os-Linux/sys-x86_64/registers.c: In function ‘get_thread_regs’:
arch/um/os-Linux/sys-x86_64/registers.c:85: error: ‘JB_PC’ undeclared 
(first use in this function)
arch/um/os-Linux/sys-x86_64/registers.c:85: error: (Each undeclared 
identifier is reported only once
arch/um/os-Linux/sys-x86_64/registers.c:85: error: for each function it 
appears in.)
arch/um/os-Linux/sys-x86_64/registers.c:86: error: ‘JB_RSP’ undeclared 
(first use in this function)
arch/um/os-Linux/sys-x86_64/registers.c:87: error: ‘JB_RBP’ undeclared 
(first use in this function)
make[2]: *** [arch/um/os-Linux/sys-x86_64/registers.o] Error 1
make[1]: *** [arch/um/os-Linux/sys-x86_64] Error 2
make: *** [arch/um/os-Linux] Error 2

... or the equivalent on i386.)

Either way, I have successfully built initramfs_data.cpio.gz as part of 
a UML tree, even when SUBARCH is set (e.g. make ARCH=um SUBARCH=i386 on 
an x86-64 system.)

This push also fixes the pipe() system call on Alpha.


More information about the klibc mailing list