Skip to contentSkip to conversation

New: uClibc 0.9.28.3 fails to build

Buildroot bugzilla at busybox.net 1 participant 7 messages Mar 7, 2009 – Apr 9, 2010

lore
Share & tools
lore
#0 lore raw

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 at buildroot.uclibc.org
ReportedBy: luke_tucker at yahoo.co.uk
CC: buildroot at uclibc.org
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

Signature · 3 lines
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.
#1 lore raw

[Buildroot] [Bug 155] uClibc 0.9.28.3 fails to build

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

--- Comment #1 from Luke <[email protected]> 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) */

Signature · 3 lines
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.
#2 lore raw

[Buildroot] [Bug 155] uClibc 0.9.28.3 fails to build

In reply to bugzilla at busybox.net

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

--- Comment #2 from Luke <[email protected]> 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

Signature · 3 lines
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.
#3 lore raw

[Buildroot] [Bug 155] uClibc 0.9.28.3 fails to build

In reply to bugzilla at busybox.net

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

Luke <[email protected]> changed:

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

Signature · 3 lines
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.
#4 lore raw

[Buildroot] [Bug 155] uClibc 0.9.28.3 fails to build

In reply to bugzilla at busybox.net

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

--- Comment #3 from Thomas Petazzoni <[email protected]> 2009-08-07 17:23:01 UTC --- I would suggest to add
http://lists.busybox.net/pipermail/uclibc-cvs/2006-September/023471.html to our
list of patches, or to remove support for the obsolete 0.9.28.3 version of
uClibc.

Signature · 3 lines
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.
#5 lore raw

[Buildroot] [Bug 155] uClibc 0.9.28.3 fails to build

In reply to bugzilla at busybox.net

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

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2010.02

Signature · 3 lines
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.
#6 lore raw

[Buildroot] [Bug 155] uClibc 0.9.28.3 fails to build

In reply to bugzilla at busybox.net

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

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #4 from Thomas Petazzoni <[email protected]> 2010-04-09 14:45:49 UTC --- uClibc 0.9.28 is deprecated, so I'm closing this bug. If you ever have an issue
with a more recent version (0.9.30 or 0.9.31), do not hesitate to open another
bug. Thanks!

Signature · 3 lines
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.