Misc Fixes
cover Misc Fixes
From: Nitin A Kamble <[email protected]>
Misc Fixes. These are tested on 64bit fedora 17 alpha system for qemux86 machine
Nitin
The following changes since commit b8f45af0c477b23b85ea8eb02f3c9e46a666a422:
mklibs-native: fix for gcc-4.7 (2012-04-12 15:25:04 -0700)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib nitin/bugfixes
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/bugfixes
Nitin A Kamble (2):
eglibc: fix perl path in target scripts on fedora 17 alpha
eglibc: clean up the common code from 2.1[35] versions
meta/recipes-core/eglibc/eglibc.inc | 2 ++ meta/recipes-core/eglibc/eglibc_2.13.bb | 5 +---- meta/recipes-core/eglibc/eglibc_2.15.bb | 4 +--- 3 files changed, 4 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.7
PATCH 1/2 eglibc: fix perl path in target scripts on fedora 17 alpha
From: Nitin A Kamble <[email protected]>
fedora 17 has /usr/bin/perl as well as /bin/perl, which results in
the perl path set in thetarget perl scripts as /bin/perl
While we install perl on target at ${bindir}/perl i.e. /usr/bin/perl Hence the target perl scripts are broken when build is done on fedora 17. Work around the issue by providing cached value of perl path to eglibc
This fixes bug [YOCTO #2286]
--- meta/recipes-core/eglibc/eglibc.inc | 2 ++ meta/recipes-core/eglibc/eglibc_2.13.bb | 2 +- meta/recipes-core/eglibc/eglibc_2.15.bb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-)
meta/recipes-core/eglibc/eglibc.inc +2 -0
@@ -54,3 +54,5 @@ do_configure_prepend() { GLIBC_ADDONS ?= "ports,nptl,libidn" SDK_GLIBC_ADDONS ?= "ports,nptl,libidn" GLIBC_ADDONS_virtclass-nativesdk = "${SDK_GLIBC_ADDONS}" + +CACHED_CONFIGUREVARS = "ac_cv_path_PERL=${bindir}/perl"
meta/recipes-core/eglibc/eglibc_2.13.bb +1 -1
@@ -3,7 +3,7 @@ require eglibc.inc SRCREV = "15508" DEPENDS += "gperf-native" -PR = "r23" +PR = "r24" PR_append = "+svnr${SRCPV}" EGLIBC_BRANCH="eglibc-2_13"
meta/recipes-core/eglibc/eglibc_2.15.bb +1 -1
@@ -3,7 +3,7 @@ require eglibc.inc SRCREV = "17386" DEPENDS += "gperf-native" -PR = "r3" +PR = "r4" PR_append = "+svnr${SRCPV}" EGLIBC_BRANCH="eglibc-2_15"
Signature · 1 line
1.7.7
PATCH 2/2 eglibc: clean up the common code from 2.1[35] versions
From: Nitin A Kamble <[email protected]>
consolidate all the common cached config vars in one location
no PR bump as this does not change the output of the recipe.
--- meta/recipes-core/eglibc/eglibc.inc | 2 +- meta/recipes-core/eglibc/eglibc_2.13.bb | 3 --- meta/recipes-core/eglibc/eglibc_2.15.bb | 2 -- 3 files changed, 1 insertions(+), 6 deletions(-)
meta/recipes-core/eglibc/eglibc.inc +1 -1
@@ -55,4 +55,4 @@ GLIBC_ADDONS ?= "ports,nptl,libidn" SDK_GLIBC_ADDONS ?= "ports,nptl,libidn" GLIBC_ADDONS_virtclass-nativesdk = "${SDK_GLIBC_ADDONS}" -CACHED_CONFIGUREVARS = "ac_cv_path_PERL=${bindir}/perl" +CACHED_CONFIGUREVARS = "libc_cv_slibdir=${base_libdir} ac_cv_path_PERL=${bindir}/perl"
meta/recipes-core/eglibc/eglibc_2.13.bb +0 -3
@@ -56,9 +56,6 @@ python __anonymous () { d.getVar('TARGET_OS', True)) } -export libc_cv_slibdir = "${base_libdir}" - - EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --without-cvs --disable-profile --disable-debug --without-gd \ --enable-clocale=gnu \
meta/recipes-core/eglibc/eglibc_2.15.bb +0 -2
@@ -61,8 +61,6 @@ python __anonymous () { d.getVar('TARGET_OS', True)) } -export libc_cv_slibdir = "${base_libdir}" - EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --without-cvs --disable-profile --disable-debug --without-gd \ --enable-clocale=gnu \
Signature · 1 line
1.7.7
Re: [PATCH 1/2] eglibc: fix perl path in target scripts on fedora 17 alpha
In reply to [email protected]Quoted 6 lines · On Thu, Apr 12, 2012 at 9:43 PM, <[email protected]> wrote:
fedora 17 has
/usr/bin/perlas well as/bin/perl, which results in the perl path set in thetarget perl scripts as/bin/perlWhile we install perl on target at ${bindir}/perl i.e./usr/bin/perlHence the target perl scripts are broken when build is done on fedora 17. Work around the issue by providing cached value of perl path to eglibc
is this issue in eglibc-nativesdk ?