Skip to contentSkip to conversation

more eglibc 2.16 fixes

PATCH Applied Khem Raj 2 participants 4 messages Jul 18, 2012 – Jul 19, 2012

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

cover more eglibc 2.16 fixes

This patchset is a followup to eglibc update
It cleans up the use of 'proto' in SRC_URI of
svn recipes

Fixes eglibc 2.16 build on ppc e500v1 and e500v2 cores

The following changes since commit 2bd0aaf98c5d586638d82f5f22c1c24122a889a3:

toolchain-scripts: Sync the SDK/ADT values to the build system (2012-07-17 18:02:10 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16

Khem Raj (2):
eglibc: Fix build for e500 cores
recipes: Change 'proto' to 'protocol' in SRC_URI

 .../eglibc/cross-localedef-native_2.15.bb          |    2 +-
 .../eglibc/cross-localedef-native_2.16.bb          |    2 +-
 .../eglibc/eglibc-2.16/e500-math_private.patch     |   31 ++++++++++++++++++++
 meta/recipes-core/eglibc/eglibc_2.16.bb            |    3 +-
 meta/recipes-multimedia/tremor/tremor_20120314.bb  |    2 +-
 5 files changed, 36 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/2 eglibc: Fix build for e500 cores

e500 support needed to be updared to match eglibc 2.16

---
 .../eglibc/eglibc-2.16/e500-math_private.patch     |   31 ++++++++++++++++++++
 meta/recipes-core/eglibc/eglibc_2.16.bb            |    3 +-
 2 files changed, 33 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch
meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch new file +31 -0
new file mode 100644
index 0000000..9dbb26e
@@ -0,0 +1,31 @@
+Match with the latest math_private restructuring in glibc
+
+as done here
+
+http://sourceware.org/ml/libc-alpha/2012-03/msg00302.html
+
+Signed-off-by: Khem Raj <[email protected]>
+
+Upstream-Status: Pending
+
+Index: libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h
+===================================================================
+--- libc.orig/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h	2012-07-17 22:58:20.340405923 -0700
++++ libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h	2012-07-17 22:58:21.120405923 -0700
+@@ -1 +1 @@
+-#include <math/math_private.h>
++#include_next <sysdeps/generic/math_private.h>
+Index: libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c
+===================================================================
+--- libc.orig/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c	2012-07-17 23:15:15.872405939 -0700
++++ libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c	2012-07-17 23:18:42.760405602 -0700
+@@ -23,7 +23,7 @@
+ 
+ #undef feraiseexcept
+ 
+-#define __FERAISEEXCEPT_INTERNAL feraiseexcept
++#define __FERAISEEXCEPT_INTERNAL __feraiseexcept
+ #include "../spe-raise.c"
+ 
+-libm_hidden_def (feraiseexcept)
++libm_hidden_ver (__feraiseexcept, feraiseexcept)
meta/recipes-core/eglibc/eglibc_2.16.bb +2 -1
index 09f5dbb..23a4130 100644
@@ -3,7 +3,7 @@ require eglibc.inc
 SRCREV = "19383"
 
 DEPENDS += "gperf-native"
-PR = "r0"
+PR = "r1"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_16"
@@ -22,6 +22,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h
            file://eglibc_fix_findidx_parameters.patch \
            file://ppc_slow_ieee754_sqrt.patch \
            file://rpc-bootstrap.patch \
+           file://e500-math_private.patch \
           "
 LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
       file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
Signature · 1 line
1.7.9.5
author
#2 lore raw

PATCH 2/2 recipes: Change 'proto' to 'protocol' in SRC_URI

---
 .../eglibc/cross-localedef-native_2.15.bb          |    2 +-
 .../eglibc/cross-localedef-native_2.16.bb          |    2 +-
 meta/recipes-multimedia/tremor/tremor_20120314.bb  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-core/eglibc/cross-localedef-native_2.15.bb +1 -1
index 6f311fc..493eb61 100644
@@ -16,7 +16,7 @@ inherit autotools
 PR = "r0"
 SRCREV="15225"
 EGLIBC_BRANCH="eglibc-2_14"
-SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http "
+SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=http "
 S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef"
 
 do_unpack_append() {
meta/recipes-core/eglibc/cross-localedef-native_2.16.bb +1 -1
index 88c701e..0f870be 100644
@@ -16,7 +16,7 @@ inherit autotools
 PR = "r0"
 SRCREV="19383"
 EGLIBC_BRANCH="eglibc-2_16"
-SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http "
+SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=http "
 S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef"
 
 do_unpack_append() {
meta/recipes-multimedia/tremor/tremor_20120314.bb +1 -1
index 19d03d6..cf51983 100644
@@ -8,7 +8,7 @@ DEPENDS = "libogg"
 SRCDATE = "${PV}"
 PR = "r0"
 
-SRC_URI = "svn://svn.xiph.org/trunk;module=Tremor;rev=18221;proto=http"
+SRC_URI = "svn://svn.xiph.org/trunk;module=Tremor;rev=18221;protocol=http"
 
 S = "${WORKDIR}/Tremor"
 
Signature · 1 line
1.7.9.5
Applied
#3 lore raw
In reply to Khem Raj
Quoted 10 lines · Khem Raj

This patchset is a followup to eglibc update
It cleans up the use of 'proto' in SRC_URI of
svn recipes

Fixes eglibc 2.16 build on ppc e500v1 and e500v2 cores

The following changes since commit 2bd0aaf98c5d586638d82f5f22c1c24122a889a3:

   toolchain-scripts: Sync the SDK/ADT values to the build system (2012-07-17 18:02:10 +0100)
Quoted 7 lines

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16

Khem Raj (2):
eglibc: Fix build for e500 cores

Merged into OE-Core

Quoted 2 lines

recipes: Change 'proto' to 'protocol' in SRC_URI

These were already fixed.

Thanks
Sau!

Quoted 8 lines
  .../eglibc/cross-localedef-native_2.15.bb          |    2 +-
  .../eglibc/cross-localedef-native_2.16.bb          |    2 +-
  .../eglibc/eglibc-2.16/e500-math_private.patch     |   31 ++++++++++++++++++++
  meta/recipes-core/eglibc/eglibc_2.16.bb            |    3 +-
  meta/recipes-multimedia/tremor/tremor_20120314.bb  |    2 +-
  5 files changed, 36 insertions(+), 4 deletions(-)

create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch