All of lore.kernel.org
 help / color / mirror / Atom feed
* why does glibc_2.9.bb use glibc-ports-2.7?
@ 2009-08-12  7:32 Graham Gower
  2009-08-12  9:50 ` Koen Kooi
  0 siblings, 1 reply; 8+ messages in thread
From: Graham Gower @ 2009-08-12  7:32 UTC (permalink / raw)
  To: openembedded-devel

This combination of glibc-2.9 with glibc-ports-2.7 fails to build on mipsel.

I assume there is either a problem with the glibc-ports-2.9 on arm, or the
recipe was simply copied from glibc_2.7.bb without noticing that the ports
version was hardcoded.

I'm using the following patch on mipsel without problems. I don't know what
needs to be done for the other architectures, so it shouldn't be committed.

-Graham

PS: eglibc-2.9 and eglibc-2.10 both fail with a nasty error:
/home/grg/oe/tmp/work/mipsel-angstrom-linux/eglibc-2.9-r4.2/build-mipsel-angstrom-linux/libc_pic.os: In function `_mcount':
(.debug_macinfo+0x5bafe18): relocation truncated to fit: R_MIPS_HI16 against `_gp_disp'


diff --git a/recipes/glibc/glibc-2.9/_begin.patch b/recipes/glibc/glibc-2.9/_begin.patch
new file mode 100644
index 0000000..8d36a05
--- /dev/null
+++ b/recipes/glibc/glibc-2.9/_begin.patch
@@ -0,0 +1,28 @@
+From 7c8a67320e26b8c11108bf0a3410d3aef9cf3486 Mon Sep 17 00:00:00 2001
+From: Ulrich Drepper <drepper@redhat.com>
+Date: Sat, 31 Jan 2009 00:21:15 +0000
+Subject: [PATCH] * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to newer linker scripts.
+---
+diff --git a/elf/Makefile b/elf/Makefile
+index 8079fe9..e44ff1d 100644
+--- a/elf/Makefile
++++ b/elf/Makefile
+@@ -1,4 +1,4 @@
+-# Copyright (C) 1995-2007, 2008 Free Software Foundation, Inc.
++# Copyright (C) 1995-2007, 2008, 2009 Free Software Foundation, Inc.
+ # This file is part of the GNU C Library.
+ 
+ # The GNU C Library is free software; you can redistribute it and/or
+@@ -304,7 +304,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
+ 		  $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 |	\
+ 		  LC_ALL=C \
+ 		  sed -e '/^=========/,/^=========/!d;/^=========/d'	\
+-		      -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
++		      -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
+ 		  > $@.lds
+ 	$(LINK.o) -nostdlib -nostartfiles -shared -o $@			\
+ 		  $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now))	\
+-- 
+1.6.3.2
+
+
diff --git a/recipes/glibc/glibc_2.9.bb b/recipes/glibc/glibc_2.9.bb
index 6e323aa..c17d516 100644
--- a/recipes/glibc/glibc_2.9.bb
+++ b/recipes/glibc/glibc_2.9.bb
@@ -43,7 +43,7 @@ RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
 #	   file://arm-ioperm.patch;patch=1;pnum=0 \
 #	   file://ldd.patch;patch=1;pnum=0 \
 SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
-	   ftp://ftp.gnu.org/pub/gnu/glibc/glibc-ports-2.7.tar.bz2 \
+	   ftp://ftp.gnu.org/pub/gnu/glibc/glibc-ports-${PV}.tar.bz2 \
 	   ftp://ftp.gnu.org/pub/gnu/glibc/glibc-libidn-${PV}.tar.bz2 \
            file://arm-memcpy.patch;patch=1 \
            file://arm-longlong.patch;patch=1 \
@@ -53,10 +53,6 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
            file://nptl-crosscompile.patch;patch=1 \
 	   file://glibc-check_pf.patch;patch=1;pnum=0 \
            file://ldd-unbash.patch;patch=1 \
-	   file://glibc-arm-IO-acquire-lock-fix.diff;patch=1 \
-	   file://local-args6.diff;patch=1 \
-	   file://arm-check-pf.patch;patch=1 \
-	   file://arm-lowlevellock-include-tls.patch;patch=1 \
 	   file://generic-bits_select.h \
 	   file://generic-bits_types.h \
 	   file://generic-bits_typesizes.h \
@@ -65,8 +61,15 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
            file://generate-supported.mk \
            file://march-i686.patch;patch=1;pnum=0 \
 	   file://tls_i486.patch;patch=1 \
+	   file://_begin.patch;patch=1 \
            "
 
+# glibc-ports-2.7 arm patches
+#SRC_URI_append_arm = " file://arm-check-pf.patch;patch=1 \
+#	   file://arm-lowlevellock-include-tls.patch;patch=1 \
+#	   file://local-args6.diff;patch=1 \
+#	   file://glibc-arm-IO-acquire-lock-fix.diff;patch=1 \
+#	   "
 
 # Build fails on sh3 and sh4 without additional patches
 SRC_URI_append_sh3 = " file://no-z-defs.patch;patch=1"
@@ -90,7 +93,7 @@ EXTRA_OECONF += "${@get_glibc_fpu_setting(bb, d)}"
 
 do_munge() {
 	# Integrate ports and libidn into tree
-	mv ${WORKDIR}/glibc-ports-2.7 ${S}/ports
+	mv ${WORKDIR}/glibc-ports-${PV} ${S}/ports
 	mv ${WORKDIR}/glibc-libidn-${PV} ${S}/libidn
 
 	# Ports isn't really working... Fix it



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: why does glibc_2.9.bb use glibc-ports-2.7?
  2009-08-12  7:32 why does glibc_2.9.bb use glibc-ports-2.7? Graham Gower
@ 2009-08-12  9:50 ` Koen Kooi
  2009-08-12 10:16   ` Graham Gower
  0 siblings, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2009-08-12  9:50 UTC (permalink / raw)
  To: openembedded-devel

On 12-08-09 09:32, Graham Gower wrote:
> This combination of glibc-2.9 with glibc-ports-2.7 fails to build on
> mipsel.
>
> I assume there is either a problem with the glibc-ports-2.9 on arm, or the
> recipe was simply copied from glibc_2.7.bb without noticing that the ports
> version was hardcoded.

Actually there was no 2.9 ports release on the gnu mirror when I did 
that recipe. Feel free to fix :)

regards,

Koen




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: why does glibc_2.9.bb use glibc-ports-2.7?
  2009-08-12  9:50 ` Koen Kooi
@ 2009-08-12 10:16   ` Graham Gower
  2009-08-12 12:50     ` Holger Hans Peter Freyther
  0 siblings, 1 reply; 8+ messages in thread
From: Graham Gower @ 2009-08-12 10:16 UTC (permalink / raw)
  To: openembedded-devel

I currently don't have resources to test arm builds (or other
architectures...). mipsel builds take 16hrs on my workstation as it
is.

2009/8/12 Koen Kooi <k.kooi@student.utwente.nl>:
> On 12-08-09 09:32, Graham Gower wrote:
>>
>> This combination of glibc-2.9 with glibc-ports-2.7 fails to build on
>> mipsel.
>>
>> I assume there is either a problem with the glibc-ports-2.9 on arm, or the
>> recipe was simply copied from glibc_2.7.bb without noticing that the ports
>> version was hardcoded.
>
> Actually there was no 2.9 ports release on the gnu mirror when I did that
> recipe. Feel free to fix :)
>
> regards,
>
> Koen
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: why does glibc_2.9.bb use glibc-ports-2.7?
  2009-08-12 10:16   ` Graham Gower
@ 2009-08-12 12:50     ` Holger Hans Peter Freyther
  2009-08-12 15:25       ` Holger Hans Peter Freyther
  0 siblings, 1 reply; 8+ messages in thread
From: Holger Hans Peter Freyther @ 2009-08-12 12:50 UTC (permalink / raw)
  To: openembedded-devel

On Wednesday 12 August 2009 12:16:33 Graham Gower wrote:
> I currently don't have resources to test arm builds (or other
> architectures...). mipsel builds take 16hrs on my workstation as it
> is.

I'm doing an arm build now.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: why does glibc_2.9.bb use glibc-ports-2.7?
  2009-08-12 12:50     ` Holger Hans Peter Freyther
@ 2009-08-12 15:25       ` Holger Hans Peter Freyther
  2009-08-14  1:53         ` Holger Hans Peter Freyther
  2009-09-03 11:16         ` Holger Hans Peter Freyther
  0 siblings, 2 replies; 8+ messages in thread
From: Holger Hans Peter Freyther @ 2009-08-12 15:25 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: Text/Plain, Size: 377 bytes --]

On Wednesday 12 August 2009 14:50:58 Holger Hans Peter Freyther wrote:
> On Wednesday 12 August 2009 12:16:33 Graham Gower wrote:
> > I currently don't have resources to test arm builds (or other
> > architectures...). mipsel builds take 16hrs on my workstation as it
> > is.
>
> I'm doing an arm build now.

Here we go. Compile tested on ARM (mostly) and MIPS.

z.

[-- Attachment #2: 0001-glibc-Build-glibc-2.9-with-glibc-ports-2.9.patch --]
[-- Type: text/x-patch, Size: 5673 bytes --]

From d1f8845abdee9fe05c3863e1297c53b82ef04b84 Mon Sep 17 00:00:00 2001
From: Graham Gower <graham.gower@gmail.com>
Date: Tue, 11 Aug 2009 21:32:03 +0000
Subject: [PATCH] glibc: Build glibc 2.9 with glibc-ports 2.9

This combination of glibc-2.9 with glibc-ports-2.7 fails to build on mipsel.
The reason we have been using glibc-ports 2.7 was that glibc-ports 2.9 was
not tagged or we didn't see it for various reasons.

Build glibc 2.9 with glibc-port 2.9 and drop the three ARM patches as
they have been applied to the upstream glibc-ports tree:

http://sourceware.org/git/?p=glibc-ports.git;a=commitdiff;h=7272ed4e474a398b8ce1e7374cdaa8592b840e2a
http://sourceware.org/git/?p=glibc-ports.git;a=commitdiff;h=e6e41f0f4963bfb0c0e32f8263ae028b288b5453

Patchwork: http://patchwork.openembedded.org/patch/933/
Signed-off-By: Graham Gower <graham.gower@gmail.com>
Signed-off-By: Holger Hans Peter <zecke@selfish.org>
---
 conf/checksums.ini                                 |    4 +++
 recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch |   28 ++++++++++++++++++++
 recipes/glibc/glibc_2.9.bb                         |   11 +++-----
 3 files changed, 36 insertions(+), 7 deletions(-)
 create mode 100644 recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch

diff --git a/conf/checksums.ini b/conf/checksums.ini
index 6769ad7..d4e38f7 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -8142,6 +8142,10 @@ sha256=d094028bc6d6691f56b4efeff7cd7e1c7ca10733e0cb5efc36e8fb08d8324bf1
 md5=eaeb8527b8fa286c2d887157214f9998
 sha256=3e481996259af87c3581da23481970a27de679e3c87cfa9a5a59751cd20c7b44
 
+[ftp://ftp.gnu.org/pub/gnu/glibc/glibc-ports-2.9.tar.bz2]
+md5=7d5d86031cb15403e4d246658209ee81
+sha256=824c97b83f1ec2894ee0e824db6d542c40b978d2f6c4364c7411777e44b15a64
+
 [ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/2.16/glibmm-2.16.2.tar.bz2]
 md5=408054366f0acc01014f4c4af2304da5
 sha256=f033f6f39c32fc17ecce63087e41408671a3a43d698c83de2528af3fc7276d28
diff --git a/recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch b/recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch
new file mode 100644
index 0000000..8d36a05
--- /dev/null
+++ b/recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch
@@ -0,0 +1,28 @@
+From 7c8a67320e26b8c11108bf0a3410d3aef9cf3486 Mon Sep 17 00:00:00 2001
+From: Ulrich Drepper <drepper@redhat.com>
+Date: Sat, 31 Jan 2009 00:21:15 +0000
+Subject: [PATCH] * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to newer linker scripts.
+---
+diff --git a/elf/Makefile b/elf/Makefile
+index 8079fe9..e44ff1d 100644
+--- a/elf/Makefile
++++ b/elf/Makefile
+@@ -1,4 +1,4 @@
+-# Copyright (C) 1995-2007, 2008 Free Software Foundation, Inc.
++# Copyright (C) 1995-2007, 2008, 2009 Free Software Foundation, Inc.
+ # This file is part of the GNU C Library.
+ 
+ # The GNU C Library is free software; you can redistribute it and/or
+@@ -304,7 +304,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
+ 		  $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 |	\
+ 		  LC_ALL=C \
+ 		  sed -e '/^=========/,/^=========/!d;/^=========/d'	\
+-		      -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
++		      -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
+ 		  > $@.lds
+ 	$(LINK.o) -nostdlib -nostartfiles -shared -o $@			\
+ 		  $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now))	\
+-- 
+1.6.3.2
+
+
diff --git a/recipes/glibc/glibc_2.9.bb b/recipes/glibc/glibc_2.9.bb
index 6e323aa..1bf5a3f 100644
--- a/recipes/glibc/glibc_2.9.bb
+++ b/recipes/glibc/glibc_2.9.bb
@@ -5,7 +5,7 @@ ARM_INSTRUCTION_SET = "arm"
 PACKAGES_DYNAMIC = "libc6*"
 RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev"
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 # the -isystem in bitbake.conf screws up glibc do_stage
 BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
@@ -43,7 +43,7 @@ RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
 #	   file://arm-ioperm.patch;patch=1;pnum=0 \
 #	   file://ldd.patch;patch=1;pnum=0 \
 SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
-	   ftp://ftp.gnu.org/pub/gnu/glibc/glibc-ports-2.7.tar.bz2 \
+	   ftp://ftp.gnu.org/pub/gnu/glibc/glibc-ports-${PV}.tar.bz2 \
 	   ftp://ftp.gnu.org/pub/gnu/glibc/glibc-libidn-${PV}.tar.bz2 \
            file://arm-memcpy.patch;patch=1 \
            file://arm-longlong.patch;patch=1 \
@@ -54,9 +54,6 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
 	   file://glibc-check_pf.patch;patch=1;pnum=0 \
            file://ldd-unbash.patch;patch=1 \
 	   file://glibc-arm-IO-acquire-lock-fix.diff;patch=1 \
-	   file://local-args6.diff;patch=1 \
-	   file://arm-check-pf.patch;patch=1 \
-	   file://arm-lowlevellock-include-tls.patch;patch=1 \
 	   file://generic-bits_select.h \
 	   file://generic-bits_types.h \
 	   file://generic-bits_typesizes.h \
@@ -65,9 +62,9 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
            file://generate-supported.mk \
            file://march-i686.patch;patch=1;pnum=0 \
 	   file://tls_i486.patch;patch=1 \
+	   file://glibc-2.9-use-_begin.patch;patch=1 \
            "
 
-
 # Build fails on sh3 and sh4 without additional patches
 SRC_URI_append_sh3 = " file://no-z-defs.patch;patch=1"
 SRC_URI_append_sh4 = " file://no-z-defs.patch;patch=1"
@@ -90,7 +87,7 @@ EXTRA_OECONF += "${@get_glibc_fpu_setting(bb, d)}"
 
 do_munge() {
 	# Integrate ports and libidn into tree
-	mv ${WORKDIR}/glibc-ports-2.7 ${S}/ports
+	mv ${WORKDIR}/glibc-ports-${PV} ${S}/ports
 	mv ${WORKDIR}/glibc-libidn-${PV} ${S}/libidn
 
 	# Ports isn't really working... Fix it
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: why does glibc_2.9.bb use glibc-ports-2.7?
  2009-08-12 15:25       ` Holger Hans Peter Freyther
@ 2009-08-14  1:53         ` Holger Hans Peter Freyther
  2009-09-03 11:16         ` Holger Hans Peter Freyther
  1 sibling, 0 replies; 8+ messages in thread
From: Holger Hans Peter Freyther @ 2009-08-14  1:53 UTC (permalink / raw)
  To: openembedded-devel

On Wednesday 12 August 2009 17:25:56 Holger Hans Peter Freyther wrote:
> On Wednesday 12 August 2009 14:50:58 Holger Hans Peter Freyther wrote:
> > On Wednesday 12 August 2009 12:16:33 Graham Gower wrote:
> > > I currently don't have resources to test arm builds (or other
> > > architectures...). mipsel builds take 16hrs on my workstation as it
> > > is.
> >
> > I'm doing an arm build now.
>
> Here we go. Compile tested on ARM (mostly) and MIPS.
>
> z.


From d1f8845abdee9fe05c3863e1297c53b82ef04b84 Mon Sep 17 00:00:00 2001
From: Graham Gower <graham.gower@gmail.com>
Date: Tue, 11 Aug 2009 21:32:03 +0000
Subject: [PATCH 1/2] glibc: Build glibc 2.9 with glibc-ports 2.9

This combination of glibc-2.9 with glibc-ports-2.7 fails to build on mipsel.
The reason we have been using glibc-ports 2.7 was that glibc-ports 2.9 was
not tagged or we didn't see it for various reasons.

Build glibc 2.9 with glibc-port 2.9 and drop the three ARM patches as
they have been applied to the upstream glibc-ports tree:

http://sourceware.org/git/?p=glibc-
ports.git;a=commitdiff;h=7272ed4e474a398b8ce1e7374cdaa8592b840e2a
http://sourceware.org/git/?p=glibc-
ports.git;a=commitdiff;h=e6e41f0f4963bfb0c0e32f8263ae028b288b5453

Patchwork: http://patchwork.openembedded.org/patch/933/
Signed-off-By: Graham Gower <graham.gower@gmail.com>
Signed-off-By: Holger Hans Peter <zecke@selfish.org>
---
 conf/checksums.ini                                 |    4 +++
 recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch |   28 
++++++++++++++++++++
 recipes/glibc/glibc_2.9.bb                         |   11 +++-----
 3 files changed, 36 insertions(+), 7 deletions(-)
 create mode 100644 recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch

diff --git a/conf/checksums.ini b/conf/checksums.ini
index 6769ad7..d4e38f7 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -8142,6 +8142,10 @@ 
sha256=d094028bc6d6691f56b4efeff7cd7e1c7ca10733e0cb5efc36e8fb08d8324bf1
 md5=eaeb8527b8fa286c2d887157214f9998
 sha256=3e481996259af87c3581da23481970a27de679e3c87cfa9a5a59751cd20c7b44
 
+[ftp://ftp.gnu.org/pub/gnu/glibc/glibc-ports-2.9.tar.bz2]
+md5=7d5d86031cb15403e4d246658209ee81
+sha256=824c97b83f1ec2894ee0e824db6d542c40b978d2f6c4364c7411777e44b15a64
+
 [ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/2.16/glibmm-2.16.2.tar.bz2]
 md5=408054366f0acc01014f4c4af2304da5
 sha256=f033f6f39c32fc17ecce63087e41408671a3a43d698c83de2528af3fc7276d28
diff --git a/recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch 
b/recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch
new file mode 100644
index 0000000..8d36a05
--- /dev/null
+++ b/recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch
@@ -0,0 +1,28 @@
+From 7c8a67320e26b8c11108bf0a3410d3aef9cf3486 Mon Sep 17 00:00:00 2001
+From: Ulrich Drepper <drepper@redhat.com>
+Date: Sat, 31 Jan 2009 00:21:15 +0000
+Subject: [PATCH] * elf/Makefile (ld.so): Adjust the sed script to insert 
_begin in to newer linker scripts.
+---
+diff --git a/elf/Makefile b/elf/Makefile
+index 8079fe9..e44ff1d 100644
+--- a/elf/Makefile
++++ b/elf/Makefile
+@@ -1,4 +1,4 @@
+-# Copyright (C) 1995-2007, 2008 Free Software Foundation, Inc.
++# Copyright (C) 1995-2007, 2008, 2009 Free Software Foundation, Inc.
+ # This file is part of the GNU C Library.
+ 
+ # The GNU C Library is free software; you can redistribute it and/or
+@@ -304,7 +304,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
+ 		  $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 |	\
+ 		  LC_ALL=C \
+ 		  sed -e '/^=========/,/^=========/!d;/^=========/d'	\
+-		      -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
++		      -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
+ 		  > $@.lds
+ 	$(LINK.o) -nostdlib -nostartfiles -shared -o $@			\
+ 		  $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now))	\
+-- 
+1.6.3.2
+
+
diff --git a/recipes/glibc/glibc_2.9.bb b/recipes/glibc/glibc_2.9.bb
index 6e323aa..1bf5a3f 100644
--- a/recipes/glibc/glibc_2.9.bb
+++ b/recipes/glibc/glibc_2.9.bb
@@ -5,7 +5,7 @@ ARM_INSTRUCTION_SET = "arm"
 PACKAGES_DYNAMIC = "libc6*"
 RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev"
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 # the -isystem in bitbake.conf screws up glibc do_stage
 BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
@@ -43,7 +43,7 @@ RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
 #	   file://arm-ioperm.patch;patch=1;pnum=0 \
 #	   file://ldd.patch;patch=1;pnum=0 \
 SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
-	   ftp://ftp.gnu.org/pub/gnu/glibc/glibc-ports-2.7.tar.bz2 \
+	   ftp://ftp.gnu.org/pub/gnu/glibc/glibc-ports-${PV}.tar.bz2 \
 	   ftp://ftp.gnu.org/pub/gnu/glibc/glibc-libidn-${PV}.tar.bz2 \
            file://arm-memcpy.patch;patch=1 \
            file://arm-longlong.patch;patch=1 \
@@ -54,9 +54,6 @@ SRC_URI = 
"ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
 	   file://glibc-check_pf.patch;patch=1;pnum=0 \
            file://ldd-unbash.patch;patch=1 \
 	   file://glibc-arm-IO-acquire-lock-fix.diff;patch=1 \
-	   file://local-args6.diff;patch=1 \
-	   file://arm-check-pf.patch;patch=1 \
-	   file://arm-lowlevellock-include-tls.patch;patch=1 \
 	   file://generic-bits_select.h \
 	   file://generic-bits_types.h \
 	   file://generic-bits_typesizes.h \
@@ -65,9 +62,9 @@ SRC_URI = 
"ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
            file://generate-supported.mk \
            file://march-i686.patch;patch=1;pnum=0 \
 	   file://tls_i486.patch;patch=1 \
+	   file://glibc-2.9-use-_begin.patch;patch=1 \
            "
 
-
 # Build fails on sh3 and sh4 without additional patches
 SRC_URI_append_sh3 = " file://no-z-defs.patch;patch=1"
 SRC_URI_append_sh4 = " file://no-z-defs.patch;patch=1"
@@ -90,7 +87,7 @@ EXTRA_OECONF += "${@get_glibc_fpu_setting(bb, d)}"
 
 do_munge() {
 	# Integrate ports and libidn into tree
-	mv ${WORKDIR}/glibc-ports-2.7 ${S}/ports
+	mv ${WORKDIR}/glibc-ports-${PV} ${S}/ports
 	mv ${WORKDIR}/glibc-libidn-${PV} ${S}/libidn
 
 	# Ports isn't really working... Fix it
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: why does glibc_2.9.bb use glibc-ports-2.7?
  2009-08-12 15:25       ` Holger Hans Peter Freyther
  2009-08-14  1:53         ` Holger Hans Peter Freyther
@ 2009-09-03 11:16         ` Holger Hans Peter Freyther
  2009-09-03 15:00           ` Khem Raj
  1 sibling, 1 reply; 8+ messages in thread
From: Holger Hans Peter Freyther @ 2009-09-03 11:16 UTC (permalink / raw)
  To: openembedded-devel

On Wednesday 12 August 2009 17:25:56 Holger Hans Peter Freyther wrote:
> On Wednesday 12 August 2009 14:50:58 Holger Hans Peter Freyther wrote:
> > On Wednesday 12 August 2009 12:16:33 Graham Gower wrote:
> > > I currently don't have resources to test arm builds (or other
> > > architectures...). mipsel builds take 16hrs on my workstation as it
> > > is.
> >
> > I'm doing an arm build now.
>
> Here we go. Compile tested on ARM (mostly) and MIPS.
>
> z.

ping???



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: why does glibc_2.9.bb use glibc-ports-2.7?
  2009-09-03 11:16         ` Holger Hans Peter Freyther
@ 2009-09-03 15:00           ` Khem Raj
  0 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2009-09-03 15:00 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Sep 3, 2009 at 4:16 AM, Holger Hans Peter
Freyther<holger+oe@freyther.de> wrote:
> On Wednesday 12 August 2009 17:25:56 Holger Hans Peter Freyther wrote:
>> On Wednesday 12 August 2009 14:50:58 Holger Hans Peter Freyther wrote:
>> > On Wednesday 12 August 2009 12:16:33 Graham Gower wrote:
>> > > I currently don't have resources to test arm builds (or other
>> > > architectures...). mipsel builds take 16hrs on my workstation as it
>> > > is.
>> >
>> > I'm doing an arm build now.
>>
>> Here we go. Compile tested on ARM (mostly) and MIPS.
>>
>> z.
>
> ping???

Acked-by: Khem Raj <raj.khem@gmail.com>

>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-09-03 15:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-12  7:32 why does glibc_2.9.bb use glibc-ports-2.7? Graham Gower
2009-08-12  9:50 ` Koen Kooi
2009-08-12 10:16   ` Graham Gower
2009-08-12 12:50     ` Holger Hans Peter Freyther
2009-08-12 15:25       ` Holger Hans Peter Freyther
2009-08-14  1:53         ` Holger Hans Peter Freyther
2009-09-03 11:16         ` Holger Hans Peter Freyther
2009-09-03 15:00           ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.