[Bug 155] New: uClibc 0.9.28.3 fails to build

View: New views
4 Messages — Rating Filter:   Alert me  

[Bug 155] New: uClibc 0.9.28.3 fails to build

by Bugzilla from bugzilla@busybox.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.busybox.net/show_bug.cgi?id=155

              Host: openSuSE 11.1
            Target: mipsel TViX DVICO m-6500
           Summary: uClibc 0.9.28.3 fails to build
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Outdated package
        AssignedTo: unassigned@...
        ReportedBy: luke_tucker@...
                CC: buildroot@...
   Estimated Hours: 0.0


When building the default configuration with the following differences:
mipsel
-obsolete options on
-gcc 4.0.4
-binutils 2.18
-uClibc 0.9.28.3
-kernel-headers 2.6.20.4

The following build error occurs in uClibc:
make[5]: Entering directory
`/home/luke/buildroot/toolchain_build_mipsel/uClibc-0.9.28.3/libc/sysdeps/linux/mips'
/home/luke/buildroot/build_mipsel/staging_dir/usr/bin/mipsel-linux-uclibc-gcc
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  -mips1
-fno-builtin -nostdinc -D_LIBC -I../../../../include -I.  -Os -funit-at-a-time
-mno-split-addresses -isystem
/home/luke/buildroot/build_mipsel/staging_dir/bin/../lib/gcc/mipsel-linux-uclibc/4.0.4/include
-DNDEBUG -fPIC  -c clone.S -o clone.o
clone.S:27:21: error: asm/asm.h: No such file or directory
make[5]: *** [clone.o] Error 1
make[5]: Leaving directory
`/home/luke/buildroot/toolchain_build_mipsel/uClibc-0.9.28.3/libc/sysdeps/linux/mips'
make[4]: *** [mips] Error 2
make[4]: Leaving directory
`/home/luke/buildroot/toolchain_build_mipsel/uClibc-0.9.28.3/libc/sysdeps/linux'
make[3]: *** [_dir_linux] Error 2
make[3]: Leaving directory
`/home/luke/buildroot/toolchain_build_mipsel/uClibc-0.9.28.3/libc/sysdeps'
make[2]: *** [_dir_sysdeps] Error 2
make[2]: Leaving directory
`/home/luke/buildroot/toolchain_build_mipsel/uClibc-0.9.28.3/libc'
make[1]: *** [_dir_libc] Error 2
make[1]: Leaving directory
`/home/luke/buildroot/toolchain_build_mipsel/uClibc-0.9.28.3'
make: ***
[/home/luke/buildroot/toolchain_build_mipsel/uClibc-0.9.28.3/lib/libc.a] Error
2


--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@...
http://lists.busybox.net/mailman/listinfo/buildroot

[Bug 155] uClibc 0.9.28.3 fails to build

by Bugzilla from bugzilla@busybox.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.busybox.net/show_bug.cgi?id=155





--- Comment #1 from Luke <luke_tucker@...>  2009-03-08 00:02:52 UTC ---
I looked at 0.9.29 and found an easy patch:

--- uClibc-0.9.28.3/libc/sysdeps/linux/mips/clone.S.orig        2009-03-08
01:00:30.000000000 +0100
+++ uClibc-0.9.28.3/libc/sysdeps/linux/mips/clone.S     2009-03-08
01:01:06.000000000 +0100
@@ -24,7 +24,7 @@
 #include <sys/regdef.h>
 #define _ERRNO_H       1
 #include <bits/errno.h>
-#include <asm/asm.h>
+#include <sys/asm.h>

 /* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg) */


--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@...
http://lists.busybox.net/mailman/listinfo/buildroot

[Bug 155] uClibc 0.9.28.3 fails to build

by Bugzilla from bugzilla@busybox.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.busybox.net/show_bug.cgi?id=155





--- Comment #2 from Luke <luke_tucker@...>  2009-03-08 00:22:35 UTC ---
Ooops, I jumped the gun a bit. The asm directory also needs patching in the
following files.


--- uClibc-0.9.28.3/libc/sysdeps/linux/mips/pipe.S.orig 2009-03-08
01:15:35.000000000 +0100
+++ uClibc-0.9.28.3/libc/sysdeps/linux/mips/pipe.S      2009-03-08
01:16:35.000000000 +0100
@@ -3,9 +3,9 @@
 /*see uClibc's sh/pipe.c and glibc-2.2.4's mips/pipe.S */

 #include <features.h>
-#include <asm/asm.h>
+#include <sys/asm.h>
 #include <asm/unistd.h>
-#include <asm/regdef.h>
+#include <sys/regdef.h>

         .globl  pipe
         .ent    pipe, 0
--- uClibc-0.9.28.3/libc/sysdeps/linux/mips/syscall.S.orig      2009-03-08
01:07:34.000000000 +0100
+++ uClibc-0.9.28.3/libc/sysdeps/linux/mips/syscall.S   2009-03-08
01:09:24.000000000 +0100
@@ -17,8 +17,8 @@
    02111-1307 USA.  */

 #include <features.h>
-#include <asm/asm.h>
-#include <asm/regdef.h>
+#include <sys/asm.h>
+#include <sys/regdef.h>

 #ifdef __PIC__
        .option pic2


--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@...
http://lists.busybox.net/mailman/listinfo/buildroot

[Bug 155] uClibc 0.9.28.3 fails to build

by Bugzilla from bugzilla@busybox.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.busybox.net/show_bug.cgi?id=155


Luke <luke_tucker@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows                     |Linux




--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@...
http://lists.busybox.net/mailman/listinfo/buildroot