[oe] [PATCH] glibc 2.7 fails to build

Roman I Khimov roman at khimov.ru
Fri Feb 13 10:26:15 UTC 2009


Hello.

As I've mentioned some days ago, I'd submitted several bugs via bugzilla and
as there is zero reaction on it and in general direction to completely stop
using it, I'm reposting that patches here.

This one is bug 5000 (http://bugs.openembedded.net/show_bug.cgi?id=5000):

glibc 2.7 fails to build with
===========
In file included from ../include/limits.h:125,
                 from ../nptl/sysdeps/pthread/allocalim.h:21,
                 from ../include/alloca.h:20,
                 from ../stdlib/stdlib.h:497,
                 from ../include/stdlib.h:8,
                 from ../nptl/sysdeps/i386/i686/../tls.h:28,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
/home/rik/work/altell/distro/oe/tmp/staging/i686-linux/usr/include/limits.h:125:26:
error: no include path in which to search for limits.h
===============
Configuration tried was for x86-32-nocona.

Fixed easily by applying same glibc-use-isystem-include-fixed.patch as used
with 2.6.1, like in patch attached

diff --git a/packages/glibc/glibc_2.7.bb b/packages/glibc/glibc_2.7.bb
index 3349ce5..2bd4fa4 100644
--- a/packages/glibc/glibc_2.7.bb
+++ b/packages/glibc/glibc_2.7.bb
@@ -65,7 +65,8 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
 	   file://generic-bits_typesizes.h \
 	   file://generic-bits_time.h \
            file://etc/ld.so.conf \
-           file://generate-supported.mk"
+           file://generate-supported.mk \
+           file://glibc-use-isystem-include-fixed.patch;patch=1"
 
 
 # Build fails on sh3 and sh4 without additional patches

-- 
                            Roman
 http://roman.khimov.ru
mailto: roman at khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090213/235b6a12/attachment-0002.sig>


More information about the Openembedded-devel mailing list