[klibc] Fix sparc32 compile with gcc-4

Jeff Bailey jbailey at ubuntu.com
Tue Jan 31 04:08:55 PST 2006


This patch allows sparc32 to work with more recent than gcc-3.3.  The
problem is that a symbol needed by libgcc is resolved by libc.

Signed-off-by: Jeff Bailey <jbailey at ubuntu.com>

--- klibc-1.1.16.orig/scripts/Kbuild.klibc
+++ klibc-1.1.16/scripts/Kbuild.klibc
@@ -253,7 +253,8 @@
                        $(EXTRA_KLIBCLDFLAGS)              \
                        $(KLIBCCRT0)                       \
                        $(link-deps)                       \
-                       $(KLIBCLIBC) $(KLIBCLIBGCC);       \
+                       $(KLIBCLIBC) $(KLIBCLIBGCC)        \
+                       $(KLIBCLIBC);                      \
                        cp -f $@ $@.g;                     \
                        $(KLIBCSTRIP) $(KLIBCSTRIPFLAGS) $@





More information about the klibc mailing list