[klibc] klibc 0.207 released

Olaf Hering olh at suse.de
Fri Mar 4 05:56:37 PST 2005


 On Thu, Mar 03, H. Peter Anvin wrote:

> Olaf Hering wrote:
> > On Thu, Mar 03, H. Peter Anvin wrote:
> >
> >
> >>Olaf Hering wrote:
> >>
> >>>No, you rely on kernel headers, and this struct siginfo or similar is
> >>>hidden inside __KERNEL__ on sparc. Let me check.
> >
> >
> >../include/signal.h:81: warning: "struct sigaction" declared inside 
> >parameter list
> >
> >that one is hidden on sparc.
> >
> 
> OK, I hopefully exposed these definitions, let's see if it helps.

sparc is still not happy, this patch is needed, but it fails to link:

sparc-linux-ld  -o tests/environ crt0.o tests/environ.o libc.a /home/olaf/toolchain/cross/inst-gcc-3_4-branch/lib/gcc/sparc-linux/3.4.4/libgcc.a
/home/olaf/toolchain/cross/inst-gcc-3_4-branch/lib/gcc/sparc-linux/3.4.4/libgcc.a(_udivdi3.o): In function `__udivdi3':
/home/olaf/toolchain/src/gcc-3_4-branch/gcc/libgcc2.c:883: undefined reference to `.udiv'
/home/olaf/toolchain/cross/inst-gcc-3_4-branch/lib/gcc/sparc-linux/3.4.4/libgcc.a(_umoddi3.o): In function `__udivmoddi4':
/home/olaf/toolchain/src/gcc-3_4-branch/gcc/libgcc2.c:883: undefined reference to `.udiv'
make[1]: *** [tests/environ] Error 1


--- klibc/arch/sparc/crt0.S     13 Aug 2002 22:32:25 -0000      1.1
+++ klibc/arch/sparc/crt0.S     4 Mar 2005 13:55:13 -0000
@@ -1,2 +1,2 @@
 #define TARGET_PTR_SIZE        32
-#include "arch/sparc/crt0i.S"
+#include "crt0i.S"



More information about the klibc mailing list