summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc
Commit message (Collapse)AuthorAgeFilesLines
* eglibc-locale: Ensure files have correct ownershipRichard Purdie2013-03-261-0/+1
| | | | | | | | | | | | | | The copy operation leaves the files owned by the person running the build which results in warnings in do_package_write_ipk like: *** Warning: The following files have a UID greater than 99 and incorrect ownership in the packges. This patch addresses this ownership problem. (From OE-Core rev: 90fc8efb88f82f111523e6584e66ae4ff5851426) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cross-localedef-native: Fix case where ${B} != ${S}Richard Purdie2013-03-181-2/+2
| | | | | | | | | This change allows ${B} != ${S} builds to work since otherwise configure isn't found. (From OE-Core rev: 68f447c46596387f95072743926298fc64cdd3b9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: move RPROVIDES to eglibc-packageMartin Jansa2013-03-022-4/+1
| | | | | | | | | | | | * PROVIDES_${PN}-dbg doesn't look correct, it should be RPROVIDES and that was already in eglibc-package * RPROVIDES_${PN}-dev was overwritten in eglibc-package, but add those 2 entries now (From OE-Core rev: 2edf614729a71f9ec15d00eeeea557a97e673284) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix ldd RTLDLISTLaurentiu Palcu2013-03-021-1/+1
| | | | | | | | | | | | | | | | | The sed expression for retrieving the previous RTLDLIST from ldd script was also retrieving the double-quotes. Hence, we ended up with a RTLDLIST like below and ldd would fail: RTLDLIST=""/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2 /libx32/ld-linux-x32.so.2" /lib/ld-linux-x86-64.so.2" [YOCTO #3903] (From OE-Core rev: f2804dc9a9ba666de85b4efb1fd005fa985f4f8a) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-nativesdk: Fix buffer overrun with a relocated SDKJason Wessel2013-02-082-1/+43
| | | | | | | | | | | | | | | | | | When ld-linux-*.so.2 is relocated to a path that is longer than the original fixed location, the dynamic loader will crash in open_path because it implicitly assumes that max_dirnamelen is a fixed size that never changes. The allocated buffer will not be large enough to contain the directory path string which is larger than the fixed location provided at build time. (From OE-Core rev: 8ebd85d29eb1a9c0c0d3cd79e7dda8b857c27bbb) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: don't list the same path twice in RTLDLISTBogdan Marinescu2013-02-011-3/+6
| | | | | | | | | | | | | Before modifying RTLDLIST in ldd, make sure that it doesn't already contain the right path, thus avoiding duplicate entries in RTLDLIST. [YOCTO #2655] (From OE-Core rev: 3cef117439aea2d724e92dcb0f862f1cc8e8bfa5) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Backport upstream 2.17 patchesKhem Raj2013-01-283-0/+9687
| | | | | | | | | | | These two patches has been applied to eglibc 2.17 branch since we created our snapshot. (From OE-Core rev: 4fdec58c979bb9715a8ab92344ad05110aa57cc6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.17: Fix Tibetian locale generation errorKhem Raj2013-01-282-0/+39
| | | | | | | | | | This is fallout of BZ #13950 fix to glibc (From OE-Core rev: 4b39d90c84b1c1577b6744e7117502069c5bf719) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Upgrade recipes 2.16 -> 2.17Khem Raj2013-01-2837-580/+78
| | | | | | | | | | | | | | | | | | | | | | | Drop patches that are applied upstream Fix the license checksums for changes in LICENSES file the new changes add more copyright notices that were missing earlier Moving ports is no longer needed since ports is now part of libc proper Refresh tzselect-sh.patch to accomodate upstream changes C++ headers discovery relative to target sysroot is fixed differently upstream hence we drop use-sysroot-cxx-headers.patch aarch64 support is already available in 2.17 hence drop the local patches (From OE-Core rev: 83b6fe6d91b924be5a7676e6ee973ce26b5eefc5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix evacuate_scripts for external toolchainsMarcin Juszkiewicz2013-01-271-1/+3
| | | | | | | | | | Not every external toolchain has mtrace/sotruss/xtrace scripts so check their existance first. (From OE-Core rev: 06ea50973a4446053d1ecac5b8e4cf425c8df5b1) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-scripts: don't package mtrace, RDEPEND on eglibc-mtrace instead, fix ↵Martin Jansa2013-01-271-3/+2
| | | | | | | | | | | | | | | | | | | | RDEPENDS * eglibc-mtrace and eglibc-scripts provide the same mtrace script * remove mtrace from eglibc-scripts and replace it with RDEPENDS * mtrace also needs perl (eglibc-mtrace has correct RDEPENDS), bash is for sotruss and xtrace * remove invalid RDEPENDS_ldd, ldd is now using /bin/sh and is not packaged by eglibc-scripts * fixes error in world-image build: * check_data_file_clashes: Package eglibc-mtrace wants to install file rootfs/usr/bin/mtrace But that file is already provided by package * eglibc-scripts (From OE-Core rev: a3599db48576043d7c335aff677471fc1afed8ab) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package: remove infodir/dir if it existsMartin Jansa2013-01-271-0/+4
| | | | | | | | | | | | * fixes error in world-image build: * check_data_file_clashes: Package eglibc-doc wants to install file rootfs/usr/share/info/dir But that file is already provided by package * gcc-doc (From OE-Core rev: f6e0875e35b9149f38f3bbfab6bd7a26048dd689) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: enable multilibConstantin Musca2013-01-071-2/+2
| | | | | | | | (From OE-Core rev: e5890474ea6ae44f16e66795aa8e3274ec576aa7) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: run libm-err-tab.pl with specific dirs in ${S}Ting Liu2012-12-312-1/+38
| | | | | | | | | | | | | | | libm-err-tab.pl will parse all the files named "libm-test-ulps" in the given dir recursively. To avoid parsing the one in ${S}/.pc/ (it does exist after eglibc adds aarch64 support, ${S}/.pc/aarch64-0001-glibc-fsf-v1-eaf6f205.patch/ports/sysdeps/ aarch64/libm-test-ulps), run libm-err-tab.pl with specific dirs in ${S}. (From OE-Core rev: ca055169789b399e8a581350fecb58e21094fbf0) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix checksums of fetched patchesMarko Lindqvist2012-12-131-6/+15
| | | | | | | | | | | As downloaded files are not named, tarball checksum is used also for downloaded patches, causing checksum check for them to fail. Added correct checksums of their own for all downloaded files. (From OE-Core rev: 2fbbd406e906df36cf1840b8b5f7f51a25d92a35) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: remove dependency of eglibc-utils on bashPaul Eggleton2012-12-133-1/+205
| | | | | | | | | | | | | | | | Adapt a patch from Peter Seebach <peter.seebach@windriver.com> to remove the non-POSIX elements from the tzselect script, and add a separate patch to work around a bug in the current version of busybox's awk command. This replaces the /bin/bash reference in the script header with /bin/sh and thus eliminates the dependency on bash picked up during packaging. Fixes [YOCTO #3551]. (From OE-Core rev: fe19d0e01cb1563cf4735ef250f80af20059103b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: add AArch64 supportMarcin Juszkiewicz2012-12-131-2/+5
| | | | | | | | (From OE-Core rev: 72087d2cbdcc0da66b38720769d8ad52dbfb4abc) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Move compile with optimization handling to common codeJackie Huang2012-12-032-11/+11
| | | | | | | | | | The optimisation handling code is not version specific, so move the fix code to the .inc. (From OE-Core rev: 22dfc7d5738a20f015d9de693f0c2accfa685560) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: always compile with optimization.Jackie Huang2012-11-241-0/+11
| | | | | | | | | | | | | | eglibc fails to compile if someone tries to compile an entire image as -O0: error "glibc cannot be compiled without optimization" so in this case, force to use -O2 and give a note about it. [YOCTO #3405] (From OE-Core rev: 9ca1c6120fad5dcae1694e8e37331c1b903f1fd0) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ldconfig/cdrtools/icecc-create-env/linuxdoc-tools/python: Set FILESPATH to ↵Richard Purdie2012-11-211-0/+2
| | | | | | | | | | | | find -native files In a small number of cases we need to have ${PN} in FILESPATH rather than ${BPN}. Rather than hurt readability for all other recipes, set FILESPATH in these recipes so we can prune the default. (From OE-Core rev: d61ef6ce86abe5b484a2a2602982f4ded54b3f9a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: Be consistent about sstate-inputdirs/outputdirs ending with '/'Richard Purdie2012-11-141-1/+1
| | | | | | | | | | | If sstate-inputdirs and sstate-outputdirs don't match with ending '/' characters, the manifest file can end up corrupted. This change ensures the metadata is consistent in ending do_populate_root tasks with this character to avoid manifest file corruption. (From OE-Core rev: 3910eaf88d14904eef85b9e391387547df7fc54e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-core: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-023-5/+5
| | | | | | | | | | | | | The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] (From OE-Core rev: 5193485a42dfb3396d0f12aaa7732c5db29d7338) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.16: Use tar ball instead of svn SRC_URIKhem Raj2012-10-223-50/+20
| | | | | | | | | | | | Adapt the recipes to fetch a tarball. Tarball is generated from latest 2.16 branch which has e500-math_private.patch already applied hence we remove that patch. (From OE-Core rev: 77ee4d7d88976c7bb2bb25b57e06b83edaacbd4c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Move perl- and bash-using scripts to separate recipesPhil Blundell2012-10-229-17/+69
| | | | | | | | | | | | | | | This removes the dependency of eglibc.bb itself on perl and bash which, in turn, eliminates the need to build those two recipes if the scripts which need them are not going to be installed. Also provide dummy do_evacuate_scripts() for all variants of eglibc-initial otherwise the nativesdk and multilib variants might crash trying to copy a non-existent mtrace script. (From OE-Core rev: 74b5f8943b2b29c7b3b62be7d81fb2b3a86b9584) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PACKAGES_DYNAMIC: use regexp not globMartin Jansa2012-10-191-3/+3
| | | | | | | | | | | * bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) (From OE-Core rev: 2f3ebdfa5f42dae51063b043cc4b0fbe20b40064) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: force make to use /bin/bashSaul Wold2012-10-102-1/+6
| | | | | | | | | | | | | | | | | | | | | The eglibc core build still has a number of issues with /bin/dash. Recently found is both sysdeps/unix/make-syscalls.sh and it's output, which make calls via SHELL do not play well with /bin/dash. By force make to use /bin/bash via SHELL setting it works correctly. Currenly known issues are: make-syscalls.sh line with a bad substitution, which can be corrected by: vdso_symver="$(printf '%s\n' ${vdso_symver} | sed 's/\./_/')" Following that there is an issue with emiting a '\n' through a second echo and then to the compiler. There maybe more issues beyond that. [YOCTO #3080] (From OE-Core rev: 9d002f7cdc5309c4d850a76e4fd73ff04c980a07) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.16.bb: refresh fsl-ppc-no-fsqrt.patch for Freescale targetsMatthew McClintock2012-09-282-5/+61
| | | | | | | (From OE-Core rev: 5635cf21520182e12c8a130707f8b47b5b4bec00) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.16.bb: refresh ppc_slow_ieee754_sqrt.patch for Freescale targetsMatthew McClintock2012-09-282-19/+261
| | | | | | | | | Make same changes for e6500 fpu as done with others (From OE-Core rev: a39f8c19d0ea5dc92271cbe36a03d638cb806e04) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.16.bb: refresh ppc-sqrt_finite.patch for Freescale targetsMatthew McClintock2012-09-282-17/+89
| | | | | | | (From OE-Core rev: eba4de86e7e628690232f2f7912b321a9e22701b) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.16.bb: replace patch with updated version that supports e6500Matthew McClintock2012-09-283-539/+1492
| | | | | | | (From OE-Core rev: a68536b75cf93beaa1578b33d489d9f30b58ba2e) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix for dynamic linker broken offsetAndrei Dinu2012-09-282-1/+58
| | | | | | | | | | | | | | | Solution provided by Donn Seeley in bug 1443: https://bugzilla.yoctoproject.org/show_bug.cgi?id=1443 worked when testing with core-image-sato-sdk for qemuarm. [YOCTO #2577] (From OE-Core rev: 33ec4222c05c985b737e88850259218cf8336d46) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Remove bogus PACKAGES_DYNAMIC settingPhil Blundell2012-09-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | It transpires that eglibc has been setting PACKAGES_DYNAMIC = "libc6*" for some time. However, this is bogus for at least two reasons: 1. Bitbake interprets PACKAGES_DYNAMIC as a regex, not a glob, so this will match against any package whose name starts "libc" plus zero or more sixes. This is particularly toxic because the nativesdk variant picks up the same value and will, consequently, start trying to build itself at the slightest excuse. 2. eglibc doesn't actually build any packages named "libc6<anything>", other than the ones that are named in PACKAGES anyway, so the dynamic provider declaration is in any case useless. Simply deleting the line is not sufficient since then we get the default value from bitbake.conf which causes eglibc.bb to fight with eglibc-locale.bb. So instead we must set it to the empty string for good results. (From OE-Core rev: 0fbb2e0c1889ee34d7f96266615e891bb44b1d10) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add and use 'localedir' variableChristopher Larson2012-09-253-6/+12
| | | | | | | | | | | | | | This avoids the hardcoding of ${libdir}/locale which is all over the place, and will facilitate use of ${exec_prefix}/lib/locale instead of ${libdir}/locale. This doesn't actually change any output at this time. Verified this with buildhistory against the packages produced from core-image-base. (From OE-Core rev: b744f4cc2912334b8493a89525fd02af8e9b8edf) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Do not use fsqrt in libm when building for fsl ppc with fpuKhem Raj2012-09-192-1/+46
| | | | | | | | (From OE-Core rev: f06097f4581e4c728c2950a86e025384e4bdcdf0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix fcntl.h for powerpcKhem Raj2012-09-192-0/+66
| | | | | | | | | | This fix is needed for systemd to work on powerpc (From OE-Core rev: 76f3a1979ea166238e26a2569fb06a4a403bd864) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Restore ${PN} to before ${PN}-dev in PACKAGESPhil Blundell2012-09-122-2/+2
| | | | | | | | | | | | | Commit 13544fbc6217fee1731a6da1e2cf94901a500842 changed the ordering of PACKAGES so that ${PN}-dev came before ${PN}. However, this caused the FILES matching to go wrong if ${libdir} == ${base_libdir}. Fix this by moving ${PN} ahead of ${PN}-dev once again. (From OE-Core rev: ec3ec1e7388c2175f41527d5e5e07c6bb14a8f6e) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-initial-2.16: add kconfig-frontends-native to dependsMartin Jansa2012-09-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | * fixes: | make[1]: Entering directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc' | make[1]: *** No rule to make target `/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/conf', needed by `config'. Stop. | make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc' * it's because, eglibc-initial.inc overwrites DEPENDS from eglibc_2.16.bb $ grep DEPENDS eglibc_2.16.bb DEPENDS += "gperf-native kconfig-frontends-native" $ grep DEPENDS eglibc-initial.inc DEPENDS = "linux-libc-headers virtual/${TARGET_PREFIX}gcc-initial" and it's included after eglibc_2.16.bb $ head -n 3 eglibc-initial_2.16.bb require eglibc_${PV}.bb require eglibc-initial.inc (From OE-Core rev: 8616e16ea0f9536c431e203e19d7bdff6ca867bb) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Enable kconfig for option managementKhem Raj2012-09-104-3/+9
| | | | | | | | (From OE-Core rev: 13e2ccf6f4e71d674583894750f70865ebe5e4d1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.16: Add kconfig infrastructureKhem Raj2012-09-104-1/+1356
| | | | | | | | | | | This will let eglibc use kernel like option management through kconfig (From OE-Core rev: 4282b86072fd5a916d0d12082d6ba575bce691f2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: remove duplicate rquota filesSaul Wold2012-09-022-1/+2
| | | | | | | | | | | | | The /usr/include/rpcsvc/rquota* files are provided by both eglibc and the quota package. Quota's version is newer and a superset of eglibc's [YOCTO #238] (From OE-Core rev: a155eee07dc8eb369ae897b702a14826e370bf5a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Bring in the fix for glibc bug #14459, #14195Khem Raj2012-09-022-65/+1
| | | | | | | | | | | | | | | Fixes strtod integer/buffer overflow bug as detailed below http://sourceware.org/ml/libc-alpha/2012-08/msg00202.html Remove rpc-bootstrap patch since its already applied upstream 2.16 branch (From OE-Core rev: 45c4215639d2e15069c11ccb28f71580a4306dd9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie2012-09-022-37/+31
| | | | | | | | | | | | | | | As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.15: DeleteKhem Raj2012-08-2325-2040/+0
| | | | | | | | | | | eglibc 2.15 is not buildable with current toolchain build sequence and is not used as default on OE-Core. So lets remove it. (From OE-Core rev: d8c47eeb09d1bc2a6a7a335cc94658f6bdfe4026) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix eglibc-initial and let eglibc depend on itKhem Raj2012-08-213-14/+15
| | | | | | | | | | | | | | | | eglibc-initial does not need to install fake shared libs anymore so drop it. eglibc now should depend on eglibc-initial so that bootstrap sysroot gets populated properly. Drop references to gcc intermediate from glibc testing scripts. (From OE-Core rev: bddc141e7cec18744902787ab53c21bf28e71f78) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.16: Update to top of 2.16 branchKhem Raj2012-08-211-1/+1
| | | | | | | | | Some translations and tst-gettext fixes (From OE-Core rev: 0ad2bde39f03531cbef114253d566a36525399df) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.16: Remove build dependency on libgcc_s and libgcc_ehKhem Raj2012-08-213-1/+373
| | | | | | | | | | | This patch backports two patches from glibc trunk essentially dropping the requirements to have libgcc_s and libgcc_eh this will simplify the toolchain bootstrap sequence. (From OE-Core rev: 9591c93c20af236fdc1a99b548435b6df75af497) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cross-localedef-native_2.16.bb: fix for CentOS 5.XMatthew McClintock2012-08-192-2/+25
| | | | | | | | | | | | | | | | | gcc -isystem/home/mattsm/git/poky/build-master/tmp/sysroots/x86_64-linux/usr/include -isystem/home/mattsm/git/poky/build-master/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -DNOT_IN_libc=1 -DNO_SYSCONF -DNO_UNCOMPRESS -DLOCALE_PATH='"/usr/local/lib/locale:/usr/local/share/i18n"' -DLOCALEDIR='"/usr/local/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/local/share/locale"' -DCHARMAP_PATH='"/usr/local/share/i18n/charmaps"' -DREPERTOIREMAP_PATH='"/usr/local/share/i18n/repertoiremaps"' -DLOCSRCDIR='"/usr/local/share/i18n/locales"' -DNOT_IN_libc -DIN_GLIBC_LOCALEDEF -Iglibc/locale/programs -I./include -Iglibc/locale -I. -I. -include ./include/always.h -Wall -Wno-format -c -o ld-address.o glibc/locale/programs/ld-address.c | In file included from glibc/locale/programs/localedef.h:24, | from glibc/locale/programs/ld-address.c:30: | ./include/locale.h:6: error: conflicting types for 'locale_t' | glibc/locale/xlocale.h:42: error: previous declaration of 'locale_t' was here | make: *** [ld-address.o] Error 1 | ERROR: oe_runmake failed (From OE-Core rev: 48a698bf97a47a346d5b7d79c2709301e98b4c2c) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: bump PR after fc4b138948656d482603b80f8c8e86fdbb185df4Martin Jansa2012-08-061-1/+1
| | | | | | | (From OE-Core rev: 17685eb72f335f53caf3cadaadcf479d394f8792) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: relocatable SDK changesLaurentiu Palcu2012-08-024-4/+197
| | | | | | | | | | | | | | | | Modifying the dynamic loader path in all binaries by the SDK installer would not be possible because we cannot know in advance the SDK target location. Hence, the PT_INTERP section size has been set to 4096 (which is the maximum path lengh in Linux). Also, for the dynamic loader SYSDIRS and ld.so.cache paths, special 4096 bytes sections were allocated so that we can easily parse the ELF binary at install time and modify the paths. (From OE-Core rev: 6be55d36333e0c81a4926332d036246d28d995c4) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass/eglibc-locale: Ensure the correct PN is used for locale packagesRichard Purdie2012-07-281-0/+1
| | | | | | (From OE-Core rev: fc4b138948656d482603b80f8c8e86fdbb185df4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>