Enable cloog/ppl when compiling gcc
cover Enable cloog/ppl when compiling gcc
This patchset contains
Changes to gcc where now it will be compiled with cloog/ppl support and we have corresponding libraries build as -native and -nativesdk recipes
Fixes the beagleboard ICE seen with mesa-xlib sometime ago and removes the workaround for the same
Updates eglibc 2.14 to tip of SVN branch
Fixes gnutls build failure observed on uclibc
The following changes since commit 0a7a8597be05c8def8af58eecab49d963dc9d757:
libsdl: Disable pulseaudio explicitly (2011-12-05 23:03:23 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/gcc-graphite
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-graphite
Khem Raj (6):
tcmode-default: Remove pinning u-boot-mkimage-native to non-existing
version
cloog-ppl,ppl: Add new recipes
gcc-4.6: Enable PPL and ClooG support
gnutls: Fix fix-gettext-version.patch
eglibc: Update 2.14 recipes to latest SVN tip
gcc: Backport patch from trunk to fix ICE seen on armv7 with
mesa-xlib
meta/conf/distro/include/tcmode-default.inc | 7 - .../eglibc-2.14/glibc-2.14-libdl-crash.patch | 66 +- meta/recipes-core/eglibc/eglibc_2.14.bb | 2 +- meta/recipes-devtools/gcc/gcc-4.6.inc | 14 +- .../gcc/gcc-4.6/gcc-arm-set-cost.patch | 34 + .../recipes-devtools/gcc/gcc-cross-canadian_4.6.bb | 4 +- meta/recipes-support/cloog-ppl/cloog-ppl.inc | 6 + .../recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb | 13 + .../gnutls-2.12.14/fix-gettext-version.patch | 17 +- meta/recipes-support/gnutls/gnutls_2.12.14.bb | 2 +- .../ppl/ppl-0.11.2/ppl_autoreconf.patch |17034 ++++++++++++++++++++ meta/recipes-support/ppl/ppl.inc | 6 + meta/recipes-support/ppl/ppl_0.11.2.bb | 16 + meta/recipes-support/ppl/ppl_git.bb | 17 + 14 files changed, 17188 insertions(+), 50 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/gcc-arm-set-cost.patch create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl.inc create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb create mode 100644 meta/recipes-support/ppl/ppl-0.11.2/ppl_autoreconf.patch create mode 100644 meta/recipes-support/ppl/ppl.inc create mode 100644 meta/recipes-support/ppl/ppl_0.11.2.bb create mode 100644 meta/recipes-support/ppl/ppl_git.bb
Signature · 1 line
1.7.5.4
PATCH 1/6 tcmode-default: Remove pinning u-boot-mkimage-native to non-existing version
2009.08 does not exist anywhere and ppc builds complain about it.
--- meta/conf/distro/include/tcmode-default.inc | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
meta/conf/distro/include/tcmode-default.inc +0 -3
@@ -23,9 +23,6 @@ EGLIBCVERSION ?= "2.13" UCLIBCVERSION ?= "0.9.32" LINUXLIBCVERSION ?= "3.1" -# Temporary preferred version overrides for PPC -PREFERRED_VERSION_u-boot-mkimage-native_powerpc ?= "2009.08" - # Temporary workaround for gcc 4.6.0 ICE with beagleboard # gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47719 TARGET_CC_ARCH_arm_pn-mesa-xlib := "${@'${TARGET_CC_ARCH}'.replace('armv7-a','armv5')}"
Signature · 1 line
1.7.5.4
PATCH 2/6 cloog-ppl,ppl: Add new recipes
These are supporting libraries needed if we want to build gcc with graphite support which does better job on loop optimizarions.
--- meta/recipes-support/cloog-ppl/cloog-ppl.inc | 6 + .../recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb | 13 + .../ppl/ppl-0.11.2/ppl_autoreconf.patch |17034 ++++++++++++++++++++ meta/recipes-support/ppl/ppl.inc | 6 + meta/recipes-support/ppl/ppl_0.11.2.bb | 16 + meta/recipes-support/ppl/ppl_git.bb | 17 + 6 files changed, 17092 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl.inc create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb create mode 100644 meta/recipes-support/ppl/ppl-0.11.2/ppl_autoreconf.patch create mode 100644 meta/recipes-support/ppl/ppl.inc create mode 100644 meta/recipes-support/ppl/ppl_0.11.2.bb create mode 100644 meta/recipes-support/ppl/ppl_git.bb
meta/recipes-support/cloog-ppl/cloog-ppl.inc new file +6 -0
@@ -0,0 +1,6 @@ +DESCRIPTION = "Chunky Loop Generator is a research tool for data locality improvement and generates loops for scanning Z-polyhedra" +HOMEPAGE = "http://www.cloog.org/" +LICENSE = "GPLv2+" +SECTION = "devel" + +inherit autotools gettext
meta/recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb new file +13 -0
@@ -0,0 +1,13 @@ +require cloog-ppl.inc +LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0c8c39efe4b616cc7187df2883ef4a" +DEPENDS += "gmp ppl" + +SRC_URI = "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-${PV}.tar.gz" +SRC_URI[md5sum] = "060ae4df6fb8176e021b4d033a6c0b9e" +SRC_URI[sha256sum] = "7cd634d0b2b401b04096b545915ac67f883556e9a524e8e803a6bf6217a84d5f" + +EXTRA_OECONF += "--with-ppl" + +S = "${WORKDIR}/cloog-ppl-${PV}" + +BBCLASSEXTEND = "native nativesdk"
meta/recipes-support/ppl/ppl-0.11.2/ppl_autoreconf.patch new file +17034 -0
2,981 lines not on this page · raw message
meta/recipes-support/ppl/ppl.inc new file +6 -0
Lines of this file are not shown. View the raw message.
meta/recipes-support/ppl/ppl_0.11.2.bb new file +16 -0
Lines of this file are not shown. View the raw message.
meta/recipes-support/ppl/ppl_git.bb new file +17 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.5.4
Part of the diff is not shown here. View the raw message.
Re: [PATCH 2/6] cloog-ppl,ppl: Add new recipes
Quoted 12 lines · Khem Raj
These are supporting libraries needed if we want to build gcc with graphite support which does better job on loop optimizarions.
Signed-off-by Khem Raj <[email protected]>---
meta/recipes-support/cloog-ppl/cloog-ppl.inc | 6 + .../recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb | 13 +.../ppl/ppl-0.11.2/ppl_autoreconf.patch|17034 ++++++++++++++++++++ meta/recipes-support/ppl/ppl.inc | 6 + meta/recipes-support/ppl/ppl_0.11.2.bb | 16 + meta/recipes-support/ppl/ppl_git.bb | 17 +
Quoted 7 lines
6 files changed, 17092 insertions(+), 0 deletions(-)create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl.inc create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb create mode 100644
meta/recipes-support/ppl/ppl-0.11.2/ppl_autoreconf.patchcreate mode 100644 meta/recipes-support/ppl/ppl.inc
create mode 100644 meta/recipes-support/ppl/ppl_0.11.2.bb create mode 100644 meta/recipes-support/ppl/ppl_git.bb
While testing this changes I got this from ppl build
| ../arm-oe-linux-gnueabi-libtool --tag=CXX --mode=link
arm-oe-linux-gnueabi-g++ -march=armv7-a -fno-tree-vectorize
-mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8
--sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900 -O2
-frounding-math -O2 -pipe -g -feliminate-unused-debug-types
-fpermissive -fvisibility-inlines-hidden -W -Wall -version-info 9:0:0
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o libppl.la -rpath/usr/lib Box.lo checked.lo Checked_Number.lo Float.lo fpu-ia32.lo
Constraint.lo Constraint_System.lo Congruence.lo Congruence_System.lo
Generator_System.lo Grid_Generator_System.lo Generator.lo
Grid_Generator.lo Init.lo Coefficient.lo Linear_Expression.lo
Linear_System.lo Matrix.lo Scalar_Products.lo MIP_Problem.lo
PIP_Tree.lo PIP_Problem.lo Poly_Con_Relation.lo Poly_Gen_Relation.lo
BHRZ03_Certificate.lo H79_Certificate.lo Grid_Certificate.lo
Partial_Function.lo Polyhedron_nonpublic.lo Polyhedron_public.lo
Polyhedron_chdims.lo Polyhedron_widenings.lo C_Polyhedron.lo
NNC_Polyhedron.lo Grid_nonpublic.lo Grid_public.lo Grid_chdims.lo
Grid_widenings.lo BD_Shape.lo Octagonal_Shape.lo PERROR: Function
'do_compile' failed (see
/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/ppl-0.11.2-r0/temp/log.do_compile.4745
for further information)
| ointset_Powerset.lo Row.lo Linear_Row.lo Bit_Matrix.lo Bit_Row.lo
Ph_Status.lo Grid_Status.lo Variable.lo Variables_Set.lo conversion.lo
minimize.lo simplify.lo Grid_conversion.lo Grid_simplify.lo
stdiobuf.lo c_streambuf.lo globals.lo mp_std_bits.lo
Weight_Profiler.lo version.lo termination.lo wrap_string.lo
-L/usr/lib -lgmpxx -L/usr/lib -lgmp
| arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-g++
-march=armv7-a -fno-tree-vectorize -mthumb-interwork
-mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8
--sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900 -fPIC -DPIC
-shared -nostdlib
/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib/crti.o /OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib/arm-oe-linux-gnueabi/4.6.3/crtbeginS.o
.libs/Box.o .libs/checked.o .libs/Checked_Number.o .libs/Float.o.libs/fpu-ia32.o .libs/Constraint.o .libs/Constraint_System.o.libs/Congruence.o .libs/Congruence_System.o .libs/Generator_System.o.libs/Grid_Generator_System.o .libs/Generator.o .libs/Grid_Generator.o.libs/Init.o .libs/Coefficient.o .libs/Linear_Expression.o.libs/Linear_System.o .libs/Matrix.o .libs/Scalar_Products.o.libs/MIP_Problem.o .libs/PIP_Tree.o .libs/PIP_Problem.o.libs/Poly_Con_Relation.o .libs/Poly_Gen_Relation.o.libs/BHRZ03_Certificate.o .libs/H79_Certificate.o.libs/Grid_Certificate.o .libs/Partial_Function.o.libs/Polyhedron_nonpublic.o .libs/Polyhedron_public.o.libs/Polyhedron_chdims.o .libs/Polyhedron_widenings.o.libs/C_Polyhedron.o .libs/NNC_Polyhedron.o .libs/Grid_nonpublic.o.libs/Grid_public.o .libs/Grid_chdims.o .libs/Grid_widenings.o.libs/BD_Shape.o .libs/Octagonal_Shape.o .libs/Pointset_Powerset.o.libs/Row.o .libs/Linear_Row.o .libs/Bit_Matrix.o .libs/Bit_Row.o.libs/Ph_Status.o .libs/Grid_Status.o .libs/Variable.o.libs/Variables_Set.o .libs/conversion.o .libs/minimize.o.libs/simplify.o .libs/Grid_conversion.o .libs/Grid_simplify.o.libs/stdiobuf.o .libs/c_streambuf.o .libs/globals.o.libs/mp_std_bits.o .libs/Weight_Profiler.o .libs/version.o.libs/termination.o .libs/wrap_string.o -L/usr/lib -lgmpxx -lgmp
-L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.3 -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.3/../../../../../arm-oe-linux-gnueabi/lib -L/OE/shr-core/tmp-eglibc/sysroots/nokia900/lib
-L/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib/arm-oe-linux-gnueabi/4.6.3
-L/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib
/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib/libstdc++.so -lm -lc
-lgcc_s /OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib/arm-oe-linux-gnueabi/4.6.3/crtendS.o /OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib/crtn.o
-march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
-mtune=cortex-a8 --sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900
-O2 -O2 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-soname
-Wl,libppl.so.9 -o .libs/libppl.so.9.0.0
| /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.3/ld:
warning: library search path "/usr/lib" is unsafe for
cross-compilation
| /usr/lib/libgmpxx.so: file not recognized: File format not recognized | collect2: ld returned 1 exit status | make[3]: *** [libppl.la] Error 1 | make[3]: Leaving directory
`/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/ppl-0.11.2-r0/ppl-0.11.2/src' | make[2]: *** [all] Error 2
| make[2]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/ppl-0.11.2-r0/ppl-0.11.2/src' | make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/ppl-0.11.2-r0/ppl-0.11.2'
| make: *** [all] Error 2 | + die 'oe_runmake failed' | + bbfatal 'oe_runmake failed' | + echo 'ERROR: oe_runmake failed' | ERROR: oe_runmake failed | + exit 1
NOTE: package ppl-0.11.2-r0: task do_compile: Failed
ERROR: Task 7 (/OE/shr-core/openembedded-core/meta/recipes-support/ppl/ppl_0.11.2.bb, do_compile) failed with exit code '1'
ERROR: '/OE/shr-core/openembedded-core/meta/recipes-support/ppl/ppl_0.11.2.bb' failed
libgmp was built, but wrong one is used, from config.log:
configure:10139: checking how to link with libgmp configure:10612: result: /usr/lib/libgmp.so configure:10654: checking how to link with libgmpxx configure:11127: result: /usr/lib/libgmpxx.so /usr/lib/libgmp.so configure:11173: checking for the GMP library version 4.1.3 or above
...
ac_cv_libgmp_cppflags= ac_cv_libgmp_libs=/usr/lib/libgmp.so ac_cv_libgmp_ltlibs='-L/usr/lib -lgmp' ac_cv_libgmp_prefix=/usr
ac_cv_libgmpxx_cppflags= ac_cv_libgmpxx_libs='/usr/lib/libgmpxx.so /usr/lib/libgmp.so' ac_cv_libgmpxx_ltlibs='-L/usr/lib -lgmpxx -L/usr/lib -lgmp' ac_cv_libgmpxx_prefix=/usr
OE @ ~/shr-core/tmp-eglibc $ find sysroots/nokia900/usr/lib/ -name libgmp\* sysroots/nokia900/usr/lib/libgmp.so.10.0.2 sysroots/nokia900/usr/lib/libgmp.la sysroots/nokia900/usr/lib/libgmpxx.a sysroots/nokia900/usr/lib/libgmpxx.so.4 sysroots/nokia900/usr/lib/libgmp.so.10 sysroots/nokia900/usr/lib/libgmpxx.la sysroots/nokia900/usr/lib/ssl/engines/libgmp.so sysroots/nokia900/usr/lib/libgmp.so sysroots/nokia900/usr/lib/libgmpxx.so.4.2.2 sysroots/nokia900/usr/lib/libgmp.a sysroots/nokia900/usr/lib/libgmpxx.so
Maybe we should pass --with-gmp-build or improve m4/ac_check_gmp.m4 to detect gmp in sysroot?
PATCH 1/1 ppl: fix libgmp paths
* before this patch:
configure:10139: checking how to link with libgmp configure:10612: result: /usr/lib/libgmp.so configure:10654: checking how to link with libgmpxx configure:11127: result: /usr/lib/libgmpxx.so /usr/lib/libgmp.so
...
ac_cv_libgmp_cppflags= ac_cv_libgmp_libs=/usr/lib/libgmp.so ac_cv_libgmp_ltlibs='-L/usr/lib -lgmp' ac_cv_libgmp_prefix=/usr
ac_cv_libgmpxx_cppflags= ac_cv_libgmpxx_libs='/usr/lib/libgmpxx.so /usr/lib/libgmp.so' ac_cv_libgmpxx_ltlibs='-L/usr/lib -lgmpxx -L/usr/lib -lgmp' ac_cv_libgmpxx_prefix=/usr
* after this patch
configure:10139: checking how to link with libgmp configure:10612: result: -lgmp configure:10654: checking how to link with libgmpxx configure:11127: result: -lgmpxx -lgmp
...
ac_cv_libgmp_cppflags= ac_cv_libgmp_libs=-lgmp ac_cv_libgmp_ltlibs=-lgmp ac_cv_libgmp_prefix= ac_cv_libgmpxx_cppflags= ac_cv_libgmpxx_libs='-lgmpxx -lgmp' ac_cv_libgmpxx_ltlibs='-lgmpxx -lgmp' ac_cv_libgmpxx_prefix=
* but for ppl-native it worked before as well as after this patch like this:
configure:10139: checking how to link with libgmp
configure:10612: result: /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libgmp.so -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib
configure:10654: checking how to link with libgmpxx
configure:11127: result: /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libgmpxx.so /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libgmp.so -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib
--- meta/recipes-support/ppl/ppl_0.11.2.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
meta/recipes-support/ppl/ppl_0.11.2.bb +5 -1
@@ -11,6 +11,10 @@ SRC_URI[sha256sum] = "e3fbd1c19ef44c6f020951807cdb6fc6a8153cd3a5c53b0ab9cf4c4f6e S = "${WORKDIR}/ppl-${PV}" BBCLASSEXTEND = "native nativesdk" -EXTRA_OECONF = "--enable-watchdog --disable-debugging --disable-assertions --disable-ppl_lcdd --disable-ppl_lpsol --disable-ppl_pips --enable-interfaces='c cxx'" +# do we have something shorter then this? or can native.bbclass overwrite STAGING_DIR_HOST like nativesdk does? +GMP_PREFIX = "${STAGING_DIR_HOST}" +GMP_PREFIX_virtclass-native = "${STAGING_DIR_NATIVE}" + +EXTRA_OECONF = "--with-gmp-prefix=${GMP_PREFIX} --enable-watchdog --disable-debugging --disable-assertions --disable-ppl_lcdd --disable-ppl_lpsol --disable-ppl_pips --enable-interfaces='c cxx'" acpaths = "-I m4"
Signature · 1 line
1.7.8
Re: [PATCH] ppl: fix libgmp paths
Op 6 dec. 2011, om 13:27 heeft Martin Jansa het volgende geschreven:
[..]
Quoted 20 lines
---
meta/recipes-support/ppl/ppl_0.11.2.bb | 6 +++++-1 files changed, 5 insertions(+), 1 deletions(-)meta/recipes-support/ppl/ppl_0.11.2.bb +0
-0@@ -11,6 +11,10 @@ SRC_URI[sha256sum] = "e3fbd1c19ef44c6f020951807cdb6fc6a8153cd3a5c53b0ab9cf4c4f6eS = "${WORKDIR}/ppl-${PV}"
BBCLASSEXTEND = "native nativesdk"meta/recipes-support/ppl/ppl_0.11.2.bb +5
-1-EXTRA_OECONF = "--enable-watchdog --disable-debugging --disable-assertions --disable-ppl_lcdd --disable-ppl_lpsol --disable-ppl_pips --enable-interfaces='c cxx'" +# do we have something shorter then this? or can native.bbclass overwrite STAGING_DIR_HOST like nativesdk does? +GMP_PREFIX = "${STAGING_DIR_HOST}" +GMP_PREFIX_virtclass-native = "${STAGING_DIR_NATIVE}" + +EXTRA_OECONF = "--with-gmp-prefix=${GMP_PREFIX} --enable-watchdog --disable-debugging --disable-assertions --disable-ppl_lcdd --disable-ppl_lpsol --disable-ppl_pips --enable-interfaces='c cxx'"
Quoted 2 lines
acpaths = "-I m4"
That is missing a PR bump :)
regards,
Koen
Re: [PATCH] ppl: fix libgmp paths
In reply to Martin JansaQuoted 13 lines · Martin Jansa
configure:10654: checking how to link with libgmpxx
configure:11127: result: /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libgmpxx.so /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libgmp.so -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libSigned-off-by Martin Jansa <[email protected]>--- meta/recipes-support/ppl/ppl_0.11.2.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)meta/recipes-support/ppl/ppl_0.11.2.bb +0
-0
meta/recipes-support/ppl/ppl_0.11.2.bb SRC_URI[sha256sum] = "e3fbd1c19ef44c6f020951807cdb6fc6a8153cd3a5c53b0ab9cf4c4f6e · line 17
Quoted 8 lines
meta/recipes-support/ppl/ppl_0.11.2.bb +4
-1@@ -11,6 +11,10 @@ SRC_URI[sha256sum] = "e3fbd1c19ef44c6f020951807cdb6fc6a8153cd3a5c53b0ab9cf4c4f6e S = "${WORKDIR}/ppl-${PV}" BBCLASSEXTEND = "native nativesdk" -EXTRA_OECONF = "--enable-watchdog --disable-debugging --disable-assertions --disable-ppl_lcdd --disable-ppl_lpsol --disable-ppl_pips --enable-interfaces='c cxx'" +# do we have something shorter then this? or can native.bbclass overwrite STAGING_DIR_HOST like nativesdk does? +GMP_PREFIX = "${STAGING_DIR_HOST}" +GMP_PREFIX_virtclass-native = "${STAGING_DIR_NATIVE}" +
I think we should override STAGING_DIR_HOST in native class as well. Since we do install native packages into local sysroot before populating the global native sysroot. The comment in class code seems that since we installed the native packages in position it was needed to be unset that may not be the case now.
RP thoughts ?
Signature · 1 line
-Khem
Re: [PATCH] ppl: fix libgmp paths
Quoted 29 lines · Khem Raj
Quoted 13 lines · Martin Jansa
configure:10654: checking how to link with libgmpxx
configure:11127: result: /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libgmpxx.so /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libgmp.so -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libSigned-off-by Martin Jansa <[email protected]>--- meta/recipes-support/ppl/ppl_0.11.2.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)meta/recipes-support/ppl/ppl_0.11.2.bb +0
-0meta/recipes-support/ppl/ppl_0.11.2.bb SRC_URI[sha256sum] = "e3fbd1c19ef44c6f020951807cdb6fc6a8153cd3a5c53b0ab9cf4c4f6e · line 17
Quoted 8 lines
meta/recipes-support/ppl/ppl_0.11.2.bb +4
-1@@ -11,6 +11,10 @@ SRC_URI[sha256sum] = "e3fbd1c19ef44c6f020951807cdb6fc6a8153cd3a5c53b0ab9cf4c4f6e S = "${WORKDIR}/ppl-${PV}" BBCLASSEXTEND = "native nativesdk" -EXTRA_OECONF = "--enable-watchdog --disable-debugging --disable-assertions --disable-ppl_lcdd --disable-ppl_lpsol --disable-ppl_pips --enable-interfaces='c cxx'" +# do we have something shorter then this? or can native.bbclass overwrite STAGING_DIR_HOST like nativesdk does? +GMP_PREFIX = "${STAGING_DIR_HOST}" +GMP_PREFIX_virtclass-native = "${STAGING_DIR_NATIVE}" +I think we should override
STAGING_DIR_HOSTin native class as well. Since we do install native packages into local sysroot before populating the global native sysroot. The comment in class code seems that since we installed the native packages in position it was needed to be unset that may not be the case now.
Quoted 1 line
RP thoughts ?
native.bbclass already sets STAGING_DIR_HOST correctly to be empty. It looks wrong but its correct when you think about it since the installed binaries are at their final location where we intent to execute them (in ${prefix}).
Cheers,
Richard
Re: [PATCH] ppl: fix libgmp paths
Quoted 7 lines
Quoted 1 line
RP thoughts ?
native.bbclass already sets
STAGING_DIR_HOSTcorrectly to be empty. It looks wrong but its correct when you think about it since the installed binaries are at their final location where we intent to execute them (in ${prefix}).
OK in this case then I think we are better of using --with-gmp-prefix=${STAGING_EXECPREFIXDIR} here which should work for target/native/nativesdk
variants
Quoted 11 lines
Cheers,
Richard
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH 2/6] cloog-ppl,ppl: Add new recipes
In reply to Martin JansaQuoted 35 lines · Martin Jansa
Quoted 12 lines · Khem Raj
These are supporting libraries needed if we want to build gcc with graphite support which does better job on loop optimizarions.
Signed-off-by Khem Raj <[email protected]>---
meta/recipes-support/cloog-ppl/cloog-ppl.inc | 6 + .../recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb | 13 +.../ppl/ppl-0.11.2/ppl_autoreconf.patch|17034 ++++++++++++++++++++ meta/recipes-support/ppl/ppl.inc | 6 + meta/recipes-support/ppl/ppl_0.11.2.bb | 16 + meta/recipes-support/ppl/ppl_git.bb | 17 +Quoted 7 lines
6 files changed, 17092 insertions(+), 0 deletions(-)create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl.inc create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb create mode 100644
meta/recipes-support/ppl/ppl-0.11.2/ppl_autoreconf.patchcreate mode 100644 meta/recipes-support/ppl/ppl.inc
create mode 100644 meta/recipes-support/ppl/ppl_0.11.2.bb create mode 100644 meta/recipes-support/ppl/ppl_git.bbWhile testing this changes I got this from ppl build configure:10654: checking how to link with libgmpxx configure:11127: result:
/usr/lib/libgmpxx.so/usr/lib/libgmp.soconfigure:11173: checking for the GMP library version 4.1.3 or above
...
ac_cv_libgmp_cppflags= ac_cv_libgmp_libs=/usr/lib/libgmp.so ac_cv_libgmp_ltlibs='-L/usr/lib -lgmp' ac_cv_libgmp_prefix=/usr
ac_cv_libgmpxx_cppflags= ac_cv_libgmpxx_libs='/usr/lib/libgmpxx.so/usr/lib/libgmp.so' ac_cv_libgmpxx_ltlibs='-L/usr/lib -lgmpxx -L/usr/lib -lgmp' ac_cv_libgmpxx_prefix=/usr
Quoted 13 lines
OE @ ~/shr-core/tmp-eglibc $ find sysroots/nokia900/usr/lib/ -name libgmp\* sysroots/nokia900/usr/lib/libgmp.so.10.0.2 sysroots/nokia900/usr/lib/libgmp.la sysroots/nokia900/usr/lib/libgmpxx.a sysroots/nokia900/usr/lib/libgmpxx.so.4 sysroots/nokia900/usr/lib/libgmp.so.10 sysroots/nokia900/usr/lib/libgmpxx.la sysroots/nokia900/usr/lib/ssl/engines/libgmp.so sysroots/nokia900/usr/lib/libgmp.so sysroots/nokia900/usr/lib/libgmpxx.so.4.2.2 sysroots/nokia900/usr/lib/libgmp.a sysroots/nokia900/usr/lib/libgmpxx.so
is this when you build gcc for target ?
Quoted 2 lines
Maybe we should pass --with-gmp-build or improve m4/ac_check_gmp.m4 to detect gmp in sysroot?
Thanks for trying it out.
Yes I should. I had it for a while but then I removed it for experimenting if it will find libs in sysroot and it did and since then I removed it but I forgot that I do not have gmp libs installed locally on build system.
I will fix it here and push a new patch to same branch
Re: [PATCH 2/6] cloog-ppl,ppl: Add new recipes
Quoted 50 lines · Khem Raj
Quoted 35 lines · Martin Jansa
Quoted 12 lines · Khem Raj
These are supporting libraries needed if we want to build gcc with graphite support which does better job on loop optimizarions.
Signed-off-by Khem Raj <[email protected]>---
meta/recipes-support/cloog-ppl/cloog-ppl.inc | 6 + .../recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb | 13 +.../ppl/ppl-0.11.2/ppl_autoreconf.patch|17034 ++++++++++++++++++++ meta/recipes-support/ppl/ppl.inc | 6 + meta/recipes-support/ppl/ppl_0.11.2.bb | 16 + meta/recipes-support/ppl/ppl_git.bb | 17 +Quoted 7 lines
6 files changed, 17092 insertions(+), 0 deletions(-)create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl.inc create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb create mode 100644
meta/recipes-support/ppl/ppl-0.11.2/ppl_autoreconf.patchcreate mode 100644 meta/recipes-support/ppl/ppl.inc
create mode 100644 meta/recipes-support/ppl/ppl_0.11.2.bb create mode 100644 meta/recipes-support/ppl/ppl_git.bbWhile testing this changes I got this from ppl build configure:10654: checking how to link with libgmpxx configure:11127: result:
/usr/lib/libgmpxx.so/usr/lib/libgmp.soconfigure:11173: checking for the GMP library version 4.1.3 or above
...
ac_cv_libgmp_cppflags= ac_cv_libgmp_libs=/usr/lib/libgmp.so ac_cv_libgmp_ltlibs='-L/usr/lib -lgmp' ac_cv_libgmp_prefix=/usr
ac_cv_libgmpxx_cppflags= ac_cv_libgmpxx_libs='/usr/lib/libgmpxx.so/usr/lib/libgmp.so' ac_cv_libgmpxx_ltlibs='-L/usr/lib -lgmpxx -L/usr/lib -lgmp' ac_cv_libgmpxx_prefix=/usrQuoted 13 lines
OE @ ~/shr-core/tmp-eglibc $ find sysroots/nokia900/usr/lib/ -name libgmp\* sysroots/nokia900/usr/lib/libgmp.so.10.0.2 sysroots/nokia900/usr/lib/libgmp.la sysroots/nokia900/usr/lib/libgmpxx.a sysroots/nokia900/usr/lib/libgmpxx.so.4 sysroots/nokia900/usr/lib/libgmp.so.10 sysroots/nokia900/usr/lib/libgmpxx.la sysroots/nokia900/usr/lib/ssl/engines/libgmp.so sysroots/nokia900/usr/lib/libgmp.so sysroots/nokia900/usr/lib/libgmpxx.so.4.2.2 sysroots/nokia900/usr/lib/libgmp.a sysroots/nokia900/usr/lib/libgmpxx.so
Quoted 1 line
is this when you build gcc for target ?
while building ppl for target, ppl-native was built fine
Quoted 10 lines
Quoted 2 lines
Maybe we should pass --with-gmp-build or improve m4/ac_check_gmp.m4 to detect gmp in sysroot?
Thanks for trying it out.
Yes I should. I had it for a while but then I removed it for experimenting if it will find libs in sysroot and it did and since then I removed it but I forgot that I do not have gmp libs installed locally on build system.
I will fix it here and push a new patch to same branch
http://patches.openembedded.org/patch/16301/
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
PATCH 3/6 gcc-4.6: Enable PPL and ClooG support
In reply to Khem RajThis will enable graphite framework in gcc
For more information
http://gcc.gnu.org/wiki/Graphite
--- meta/recipes-devtools/gcc/gcc-4.6.inc | 13 ++++++++----- .../recipes-devtools/gcc/gcc-cross-canadian_4.6.bb | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +8 -5
@@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r18" +PR = "r19" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.6.0
@@ -22,8 +22,8 @@ SRCREV = 181430 BRANCH = "gcc-4_6-branch" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}" -DEPENDS =+ "mpfr gmp libmpc" -NATIVEDEPS = "mpfr-native gmp-native libmpc-native" +DEPENDS =+ "mpfr gmp libmpc ppl cloog-ppl" +NATIVEDEPS = "mpfr-native gmp-native libmpc-native ppl-native cloog-ppl-native" LICENSE="GPL-3.0-with-GCC-exception & GPLv3"
@@ -89,13 +89,16 @@ JAVA = "" # --disable-bootstrap \ # --disable-libgomp \ # --disable-libmudflap" -EXTRA_OECONF_BASE = " --enable-lto \ +EXTRA_OECONF_BASE = " --enable-lto \ --enable-libssp \ --disable-bootstrap \ --disable-libgomp \ --disable-libmudflap \ --with-linker-hash-style=${LINKER_HASH_STYLE} \ - --enable-cheaders=c_global " + --enable-cheaders=c_global \ + --with-ppl \ + --with-cloog \ + " EXTRA_OECONF_INITIAL = "--disable-libmudflap \ --disable-libgomp \
meta/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb +2 -2
@@ -5,8 +5,8 @@ require gcc-cross-canadian.inc require gcc-configure-sdk.inc require gcc-package-sdk.inc -DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" -RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" +DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk ppl-nativesdk cloog-ppl-nativesdk" +RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk ppl-nativesdk cloog-ppl-nativesdk" SYSTEMHEADERS = "/usr/include" SYSTEMLIBS = "/lib/"
Signature · 1 line
1.7.5.4
PATCH 4/6 gnutls: Fix fix-gettext-version.patch
In reply to Khem RajThis patch did not cover all places to remove references to gettext 0.17 therefore updated it.
--- .../gnutls-2.12.14/fix-gettext-version.patch | 17 +++++++++++++++-- meta/recipes-support/gnutls/gnutls_2.12.14.bb | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-)
meta/recipes-support/gnutls/gnutls-2.12.14/fix-gettext-version.patch +15 -2
@@ -5,8 +5,8 @@ Signed-off-by: Saul Wold <[email protected]> Index: gnutls-2.12.14/lib/po/Makefile.in.in =================================================================== ---- gnutls-2.12.14.orig/lib/po/Makefile.in.in 2011-11-28 20:15:56.000000000 -0800 -+++ gnutls-2.12.14/lib/po/Makefile.in.in 2011-11-28 20:17:21.386078977 -0800 +--- gnutls-2.12.14.orig/lib/po/Makefile.in.in 2009-11-01 01:43:00.000000000 -0800 ++++ gnutls-2.12.14/lib/po/Makefile.in.in 2011-12-05 12:09:34.349552489 -0800 @@ -8,8 +8,8 @@ # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain.
@@ -18,3 +18,16 @@ Index: gnutls-2.12.14/lib/po/Makefile.in.in PACKAGE = @PACKAGE@ VERSION = @VERSION@ +Index: gnutls-2.12.14/lib/m4/po.m4 +=================================================================== +--- gnutls-2.12.14.orig/lib/m4/po.m4 2011-12-05 12:12:34.000000000 -0800 ++++ gnutls-2.12.14/lib/m4/po.m4 2011-12-05 12:12:49.429552465 -0800 +@@ -29,7 +29,7 @@ + + dnl Release version of the gettext macros. This is used to ensure that + dnl the gettext macros and po/Makefile.in.in are in sync. +- AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) ++ AC_SUBST([GETTEXT_MACRO_VERSION], [0.18]) + + dnl Perform the following tests also if --disable-nls has been given, + dnl because they are needed for "make dist" to work.
meta/recipes-support/gnutls/gnutls_2.12.14.bb +1 -1
@@ -1,6 +1,6 @@ require gnutls.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" SRC_URI += "file://gnutls-openssl.patch \ file://configure-fix.patch \
Signature · 1 line
1.7.5.4
PATCH 5/6 eglibc: Update 2.14 recipes to latest SVN tip
In reply to Khem RajAdjust patches to apply on new sourcebase
--- .../eglibc-2.14/glibc-2.14-libdl-crash.patch | 66 ++++++++++---------- meta/recipes-core/eglibc/eglibc_2.14.bb | 2 +- 2 files changed, 35 insertions(+), 33 deletions(-)
meta/recipes-core/eglibc/eglibc-2.14/glibc-2.14-libdl-crash.patch +34 -32
@@ -12,11 +12,11 @@ http://mailman.archlinux.org/pipermail/arch-commits/2011-June/137142.html http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/glibc/current/SOURCES/glibc-2.14-libdl-crash.patch?view=markup&pathrev=691343 http://repos.archlinuxppc.org/wsvn/filedetails.php?repname=packages&path=%2Fglibc%2Ftrunk%2Fglibc-2.14-libdl-crash.patch -diff --git a/elf/dl-close.c b/elf/dl-close.c -index 73b2a2f..9bd91e3 100644 ---- a/elf/dl-close.c -+++ b/elf/dl-close.c -@@ -119,17 +119,8 @@ _dl_close_worker (struct link_map *map) +Index: libc/elf/dl-close.c +=================================================================== +--- libc.orig/elf/dl-close.c 2011-12-05 20:16:38.000000000 -0800 ++++ libc/elf/dl-close.c 2011-12-05 20:17:15.863326893 -0800 +@@ -119,17 +119,8 @@ if (map->l_direct_opencount > 0 || map->l_type != lt_loaded || dl_close_state != not_pending) {
@@ -35,12 +35,12 @@ index 73b2a2f..9bd91e3 100644 + dl_close_state = rerun; /* There are still references to this object. Do nothing more. */ - if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_FILES, 0)) -diff --git a/elf/dl-deps.c b/elf/dl-deps.c -index 9e30594..3890d00 100644 ---- a/elf/dl-deps.c -+++ b/elf/dl-deps.c -@@ -478,6 +478,7 @@ _dl_map_object_deps (struct link_map *map, + if (__builtin_expect (GLRO_dl_debug_mask & DL_DEBUG_FILES, 0)) +Index: libc/elf/dl-deps.c +=================================================================== +--- libc.orig/elf/dl-deps.c 2011-12-05 20:16:38.000000000 -0800 ++++ libc/elf/dl-deps.c 2011-12-05 20:19:33.179326877 -0800 +@@ -478,6 +478,7 @@ nneeded * sizeof needed[0]); atomic_write_barrier (); l->l_initfini = l_initfini;
@@ -48,7 +48,7 @@ index 9e30594..3890d00 100644 } /* If we have no auxiliary objects just go on to the next map. */ -@@ -681,6 +682,7 @@ Filters not supported with LD_TRACE_PRELINKING")); +@@ -678,6 +679,7 @@ l_initfini[nlist] = NULL; atomic_write_barrier (); map->l_initfini = l_initfini;
@@ -56,18 +56,20 @@ index 9e30594..3890d00 100644 if (l_reldeps != NULL) { atomic_write_barrier (); -@@ -689,5 +691,5 @@ Filters not supported with LD_TRACE_PRELINKING")); +@@ -686,7 +688,7 @@ _dl_scope_free (old_l_reldeps); } if (old_l_initfini != NULL) - map->l_orig_initfini = old_l_initfini; -+ _dl_scope_free (old_l_initfini); - } -diff --git a/elf/dl-libc.c b/elf/dl-libc.c -index 7be9483..a13fce3 100644 ---- a/elf/dl-libc.c -+++ b/elf/dl-libc.c -@@ -265,13 +265,13 @@ libc_freeres_fn (free_mem) ++ _dl_scope_free (old_l_initfini); + + if (errno_reason) + _dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname, +Index: libc/elf/dl-libc.c +=================================================================== +--- libc.orig/elf/dl-libc.c 2011-10-22 09:34:03.000000000 -0700 ++++ libc/elf/dl-libc.c 2011-12-05 20:17:15.863326893 -0800 +@@ -265,13 +265,13 @@ for (Lmid_t ns = 0; ns < GL(dl_nns); ++ns) {
@@ -82,7 +84,7 @@ index 7be9483..a13fce3 100644 while (lnp != NULL) { struct libname_list *old = lnp; -@@ -279,6 +279,10 @@ libc_freeres_fn (free_mem) +@@ -279,6 +279,10 @@ if (! old->dont_free) free (old); }
@@ -93,11 +95,11 @@ index 7be9483..a13fce3 100644 } if (__builtin_expect (GL(dl_ns)[ns]._ns_global_scope_alloc, 0) != 0 -diff --git a/elf/rtld.c b/elf/rtld.c -index 4a9109e..617e30e 100644 ---- a/elf/rtld.c -+++ b/elf/rtld.c -@@ -2251,6 +2251,7 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n", +Index: libc/elf/rtld.c +=================================================================== +--- libc.orig/elf/rtld.c 2011-10-22 09:34:03.000000000 -0700 ++++ libc/elf/rtld.c 2011-12-05 20:17:15.863326893 -0800 +@@ -2264,6 +2264,7 @@ lnp->dont_free = 1; lnp = lnp->next; }
@@ -105,11 +107,11 @@ index 4a9109e..617e30e 100644 if (l != &GL(dl_rtld_map)) _dl_relocate_object (l, l->l_scope, GLRO(dl_lazy) ? RTLD_LAZY : 0, -diff --git a/include/link.h b/include/link.h -index e877104..051b99a 100644 ---- a/include/link.h -+++ b/include/link.h -@@ -192,6 +192,9 @@ struct link_map +Index: libc/include/link.h +=================================================================== +--- libc.orig/include/link.h 2011-10-22 09:32:35.000000000 -0700 ++++ libc/include/link.h 2011-12-05 20:17:15.863326893 -0800 +@@ -192,6 +192,9 @@ during LD_TRACE_PRELINKING=1 contains any DT_SYMBOLIC libraries. */
@@ -119,7 +121,7 @@ index e877104..051b99a 100644 /* Collected information about own RPATH directories. */ struct r_search_path_struct l_rpath_dirs; -@@ -240,9 +243,6 @@ struct link_map +@@ -240,9 +243,6 @@ /* List of object in order of the init and fini calls. */ struct link_map **l_initfini;
meta/recipes-core/eglibc/eglibc_2.14.bb +1 -1
@@ -1,6 +1,6 @@ require eglibc.inc -SRCREV = "15225" +SRCREV = "15870" DEPENDS += "gperf-native" PR = "r1"
Signature · 1 line
1.7.5.4
PATCH 6/6 gcc: Backport patch from trunk to fix ICE seen on armv7 with mesa-xlib
In reply to Khem RajThis patch is a backport of http://patchwork.ozlabs.org/patch/110517/
--- meta/conf/distro/include/tcmode-default.inc | 4 -- meta/recipes-devtools/gcc/gcc-4.6.inc | 3 +- .../gcc/gcc-4.6/gcc-arm-set-cost.patch | 34 ++++++++++++++++++++ 3 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/gcc-arm-set-cost.patch
meta/conf/distro/include/tcmode-default.inc +0 -4
@@ -23,10 +23,6 @@ EGLIBCVERSION ?= "2.13" UCLIBCVERSION ?= "0.9.32" LINUXLIBCVERSION ?= "3.1" -# Temporary workaround for gcc 4.6.0 ICE with beagleboard -# gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47719 -TARGET_CC_ARCH_arm_pn-mesa-xlib := "${@'${TARGET_CC_ARCH}'.replace('armv7-a','armv5')}" - PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross-initial ?= "${GCCVERSION}"
meta/recipes-devtools/gcc/gcc-4.6.inc +2 -1
@@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r19" +PR = "r20" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.6.0
@@ -72,6 +72,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ file://pr46934.patch \ file://pr32219.patch \ file://pr47551.patch \ + file://gcc-arm-set-cost.patch \ " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch "
meta/recipes-devtools/gcc/gcc-4.6/gcc-arm-set-cost.patch new file +34 -0
@@ -0,0 +1,34 @@ +2011-08-18 Richard Sandiford <[email protected]> + + gcc/ + Backport from mainline: + + 2011-08-18 Richard Sandiford <[email protected]> + + * config/arm/arm.c (arm_rtx_costs_1): Don't modify the costs of SET. + (arm_size_rtx_costs): Likewise. + +=== modified file 'gcc/config/arm/arm.c' +--- old/gcc/config/arm/arm.c 2011-08-12 08:08:31 +0000 ++++ new/gcc/config/arm/arm.c 2011-08-18 13:53:37 +0000 +@@ -7464,6 +7464,9 @@ + *total = COSTS_N_INSNS (4); + return true; + ++ case SET: ++ return false; ++ + default: + *total = COSTS_N_INSNS (4); + return false; +@@ -7811,6 +7814,9 @@ + *total = COSTS_N_INSNS (1) + 1; + return true; + ++ case SET: ++ return false; ++ + default: + if (mode != VOIDmode) + *total = COSTS_N_INSNS (ARM_NUM_REGS (mode)); +
Signature · 1 line
1.7.5.4
Quoted 5 lines · Khem Raj
This patchset contains
Changes to gcc where now it will be compiled with cloog/ppl support and we have corresponding libraries build as -native and -nativesdk recipes
This gives a hit to the build time of the toolchain and I'm not sure what benefits its buying us, particularly if we don't enable the optimisations that cloog/ppl is used for.
Whilst this looks nice for experimentation, are there documented benefits for a system compiled with this?
Cheers,
Richard
Quoted 10 lines · Richard Purdie
Quoted 5 lines · Khem Raj
This patchset contains
Changes to gcc where now it will be compiled with cloog/ppl support and we have corresponding libraries build as -native and -nativesdk recipes
This gives a hit to the build time of the toolchain and I'm not sure what benefits its buying us, particularly if we don't enable the optimisations that cloog/ppl is used for.
The total compile time of the toolchain is impacted little since now we have to build these extra packages but they are relatively small. However I think I need to measure the total compile time as well to make sure it does not impact gcc's compile
time performance. My intention was to
provide the capability in the compiler/SDK so that someone can utilize it if he/she wants. e.g. gnuradio folks I am sure will benefit from it
Quoted 4 lines
Whilst this looks nice for experimentation, are there documented benefits for a system compiled with this?
I did not find official documented advantages but there has been several posts where improvement in performance has been observed. There was a lengthy thread I found on gentoo where they saw total system performance boost when they enabled
graphite.
I think it is more of RFC so people can try it out and then we can weigh in benefits of it in OE context.
Quoted 21 lines · Khem Raj
This patchset contains
Changes to gcc where now it will be compiled with cloog/ppl support and we have corresponding libraries build as -native and -nativesdk recipes
Fixes the beagleboard ICE seen with mesa-xlib sometime ago and removes the workaround for the same
Updates eglibc 2.14 to tip of SVN branch
Fixes gnutls build failure observed on uclibc
The following changes since commit
0a7a8597be05c8def8af58eecab49d963dc9d757:libsdl: Disable pulseaudio explicitly (2011-12-05 23:03:23 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/gcc-graphite
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-graphite
Quoted 7 lines
Khem Raj (6):
tcmode-default: Remove pinning u-boot-mkimage-native to non-existing
version
gnutls: Fix fix-gettext-version.patch
eglibc: Update 2.14 recipes to latest SVN tip
gcc: Backport patch from trunk to fix ICE seen on armv7 with
mesa-xlib
I merged these.
Quoted 2 lines
cloog-ppl,ppl: Add new recipes
gcc-4.6: Enable PPL and ClooG support
but I think these need more discussion.
Cheers,
Richard