aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc
AgeCommit message (Collapse)Author
2014-01-28eglibc-ld.inc: Update the inc file to match the new x86 tuneDarren Hart
I created this after a git grep to look for files impacted by the x86 tune changes. I need a careful review here to determine if this is in fact the right thing to do. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Paul Eggleton <paul.eggleton@intel.com> Cc: Tom Zanussi <tom.zanussi@intel.com> Cc: Nitin Kamble <nitin.a.kamble@intel.com> Cc: Mark Hatle <mark.hatle@windriver.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Cc: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14eglibc-locale: Fix multilib builds to depend on the correct binutilsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14eglibc-locale: Fix previous dependency change to properly work in nativesdk caseRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14eglibc-locale: Fix depends on binutilsRichard Purdie
The dependency here needs to apply for nativesdk as well as target packages as the autobuilder just tripped over that. We'd never want a native version so I'm not sure why the target class override was even present. The dependency also applies to do_package so lets be explicit about that in case sstate decides to get clever. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02eglibc: Remove older version 2.17Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-04eglibc-options: Rewrite so it benefits from bitbake's contains handlingRichard Purdie
Having eglibc rebuild every time DISTRO_FEATURES changes is suboptimal. This rewrite takes advantage of bitbake's understanding of the contains function so this doesn't happen. The code is marginally uglier but is worth the benefit in fewer libc rebuilds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-02eglibc-initial.inc: Drop duplicate includeRichard Purdie
There is little point in including the file twice so lets not. The main recipe already included it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-08eglibc_2.17.bb: accept make versions 4.0 and greaterJonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-11-08eglibc_2.18.bb: accept make versions 4.0 and greaterJonathan Liu
[YOCTO #5391] Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-11-04eglibc-locale: Does not create {localedir} if the toolchain has no files ↵Roy Li
under it This will kill the not shipped Error: ERROR: QA Issue: eglibc-locale: Files/directories were installed but not shipped /usr/lib/locale Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-09-14eglibc_2.18.bb: Fix IFUNC support for ARM REL relocationsKhem Raj
This should fix the case where neon code is emitted for machines which dont have neon unit in the chip [YOCTO# 5161] 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>
2013-08-26eglibc: fix directory cleanup for 2.17Riku Voipio
Commit e0c2dd275827a4b37b8116d0f0119333638461af broke building eglibc 2.17, which still ships pt_chown under eglibc/ directory. Fix by only deleting directory when pt_chown is not there. Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-23eglibc-options.inc: Fix string optionsAndrei Gherzan
Add quotation marks for OPTION_EGLIBC_NSSWITCH_FIXED* options. If not, Kconfig will ignore the value and will use the default one which is "". Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-23eglibc.inc: Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_*Andrei Gherzan
Kconfig outputs strings with quotation marks. When eglibc tries to see if the paths exists, uses wildcard make function which doesn't strip out the quotation marks - checking for path fails. So strip out the quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_* option-groups.config. (see nss/Makefile) Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-22eglibc: Update SRC_URI and fix unpackaged empty dirKhem Raj
eglibc 2.18 has now been branched out so point to new tarballs Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18eglibc-2.18: Update to latest snapshotKhem Raj
Works on all supposted qemu machines Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18eglibc-2.18: Remove unused patchesKhem Raj
These patches are already part of 2.18 eglibc they were copied from 2.17 but never used. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09eglibc: Update 2.18 recipes to fix ppc/e500 failuresKhem Raj
This should fix the e500 errors due to bounded pointers removal Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutilsMartin Jansa
* eglibc-collateral.inc inhibits all default deps, but do_package needs objcopy: ERROR: objcopy failed with exit code 127 (cmd was 'i586-webos-linux-objcopy' --only-keep-debug 'eglibc-locale/2.17-r0/package/usr/lib/gconv/IBM1166.so' 'eglibc-locale/2.17-r0/package/usr/lib/gconv/.debug/IBM1166.so') ERROR: Function failed: split_and_strip_files Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05eglibc: Drop libc-libm-bigKhem Raj
This feature has been removed from eglibc 2.18 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05eglibc: Add 2.18 recipesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-09eglibc/machine-sdk: Drop SDK_GLIBC_ADDONSRichard Purdie
We no longer change GLIBC_ADDONS per target so we no longer need to special case the SDK settings for it either. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09image/kernel-module-split/eglibc-ld.inc: Remove has_key() usageRichard Purdie
The has_key() attribute has been removed in python 3 since there is better syntax available. Use the improved syntax. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29eglibc: Avoid "installed but not shipped" warning for ld.so.confPhil Blundell
If USE_LDCONFIG is not set then we won't ship ld.so.conf. However, eglibc still installs it which leads to a QA warning. Prevent that by removing the file (and the subsequently-empty directory /etc) in this situation. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-29eglibc: add common HOMEPAGE and SUMMARY for eglibc-localePaul Eggleton
Add SUMMARY for eglibc-locale, and HOMEPAGE in eglibc-collateral.inc (used for eglibc-locale and eglibc-mtrace). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-26eglibc-locale: Ensure files have correct ownershipRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18cross-localedef-native: Fix case where ${B} != ${S}Richard Purdie
This change allows ${B} != ${S} builds to work since otherwise configure isn't found. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-02eglibc: move RPROVIDES to eglibc-packageMartin Jansa
* 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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-02eglibc: fix ldd RTLDLISTLaurentiu Palcu
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] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-08eglibc-nativesdk: Fix buffer overrun with a relocated SDKJason Wessel
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. 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>
2013-02-01eglibc: don't list the same path twice in RTLDLISTBogdan Marinescu
Before modifying RTLDLIST in ldd, make sure that it doesn't already contain the right path, thus avoiding duplicate entries in RTLDLIST. [YOCTO #2655] Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28eglibc: Backport upstream 2.17 patchesKhem Raj
These two patches has been applied to eglibc 2.17 branch since we created our snapshot. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28eglibc_2.17: Fix Tibetian locale generation errorKhem Raj
This is fallout of BZ #13950 fix to glibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28eglibc: Upgrade recipes 2.16 -> 2.17Khem Raj
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-27eglibc: fix evacuate_scripts for external toolchainsMarcin Juszkiewicz
Not every external toolchain has mtrace/sotruss/xtrace scripts so check their existance first. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-27eglibc-scripts: don't package mtrace, RDEPEND on eglibc-mtrace instead, fix ↵Martin Jansa
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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-27eglibc-package: remove infodir/dir if it existsMartin Jansa
* 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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-04eglibc-locale: enable multilibConstantin Musca
Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-31eglibc: run libm-err-tab.pl with specific dirs in ${S}Ting Liu
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}. Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-13eglibc: fix checksums of fetched patchesMarko Lindqvist
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. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-13eglibc: remove dependency of eglibc-utils on bashPaul Eggleton
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]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-13eglibc: add AArch64 supportMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-03eglibc: Move compile with optimization handling to common codeJackie Huang
The optimisation handling code is not version specific, so move the fix code to the .inc. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-24eglibc: always compile with optimization.Jackie Huang
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] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-21ldconfig/cdrtools/icecc-create-env/linuxdoc-tools/python: Set FILESPATH to ↵Richard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-14classes: Be consistent about sstate-inputdirs/outputdirs ending with '/'Richard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-core: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-22eglibc-2.16: Use tar ball instead of svn SRC_URIKhem Raj
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. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-22eglibc: Move perl- and bash-using scripts to separate recipesPhil Blundell
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. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>