[oe-commits] org.oe.dev glibc_2.6.1.bb: fix powerpc/soft-float builds
jeremy_laine commit
oe at amethyst.openembedded.net
Mon Apr 21 08:24:28 UTC 2008
glibc_2.6.1.bb: fix powerpc/soft-float builds
* fixes errors message stating fe_nomask.o cannot be built
* see http://sources.redhat.com/ml/libc-ports/2007-06/msg00005.html
Author: jeremy_laine at openembedded.org
Branch: org.openembedded.dev
Revision: 8a3c4530401cc8efd585c6614fd3e4bcc0679140
ViewMTN: http://monotone.openembedded.org/revision/info/8a3c4530401cc8efd585c6614fd3e4bcc0679140
Files:
1
packages/glibc/files/glibc-2.6.1-powerpc-nofpu.patch
packages/glibc/glibc_2.6.1.bb
Diffs:
#
# mt diff -rea22d358a831b54fb4cab9ba737aa7318d20aa38 -r8a3c4530401cc8efd585c6614fd3e4bcc0679140
#
#
#
# add_file "packages/glibc/files/glibc-2.6.1-powerpc-nofpu.patch"
# content [167457c19aba32e53d5e2fcb81e12b113c9872ca]
#
# patch "packages/glibc/glibc_2.6.1.bb"
# from [d7da717daed6dd7a23f3d54789b6f28eafa6314a]
# to [e44cc81d7e42c307cc3fa0165f19e3c2cc9c1dab]
#
============================================================
--- packages/glibc/files/glibc-2.6.1-powerpc-nofpu.patch 167457c19aba32e53d5e2fcb81e12b113c9872ca
+++ packages/glibc/files/glibc-2.6.1-powerpc-nofpu.patch 167457c19aba32e53d5e2fcb81e12b113c9872ca
@@ -0,0 +1,11 @@
+--- dummy-libc/ports/sysdeps/powerpc/nofpu/Makefile 2006-11-22 09:13:11.000000000 -0600
++++ libc25/ports/sysdeps/powerpc/nofpu/Makefile 2007-06-07 09:53:05.708240976 -0500
+@@ -6,7 +6,7 @@
+ endif
+
+ ifeq ($(subdir),math)
+-libm-support += fenv_const fe_nomask
++libm-support += fenv_const
+ CPPFLAGS += -I../soft-fp/
+ # The follow CFLAGS are a work around for GCC Bugzilla Bug 29253
+ # "expand_abs wrong default code for floating point"
============================================================
--- packages/glibc/glibc_2.6.1.bb d7da717daed6dd7a23f3d54789b6f28eafa6314a
+++ packages/glibc/glibc_2.6.1.bb e44cc81d7e42c307cc3fa0165f19e3c2cc9c1dab
@@ -63,7 +63,10 @@ SRC_URI_append_sh4 = " file://no-z-defs.
SRC_URI_append_sh4 = " file://no-z-defs.patch;patch=1"
# PowerPC Patches to add support for soft-float
-SRC_URI_append_powerpc = "file://powerpc-sqrt-hack.diff;patch=1"
+SRC_URI_append_powerpc = "\
+ file://powerpc-sqrt-hack.diff;patch=1 \
+ file://glibc-2.6.1-powerpc-nofpu.patch;patch=1 \
+"
S = "${WORKDIR}/glibc-${PV}"
B = "${WORKDIR}/build-${TARGET_SYS}"
More information about the Openembedded-commits
mailing list