summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc
Commit message (Collapse)AuthorAgeFilesLines
* eglibc: rewritten tzselect as posix sh and move it to tzcode packageHongxu Jia2014-07-193-2/+45
| | | | | | | | | | | | | | | | | | The problem is that this would cause bash installed to meta-toolchain, the dependencies chain is: meta-toolchain -> eglibc-utils -> bash We should eliminate bash dependencies in anything core to a tiny system. The eglibc-utils also provides eglibc-utils/usr/bin/zdump, eglibc-utils/usr/bin/zic which all of them belonged to tzcode, so we should split these three utils as tzcode package. [YOCTO #6544] (From OE-Core rev: f7f3a1fb3855799bb48708f32533e93e336e6995) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: check for required distro featuresChen Qi2014-07-171-1/+6
| | | | | | | | | | | | | | | | | If users accidently override the DISTRO_FEATURES in local.conf, then build failures occur for lack of libc functions. All features in DISTRO_FEATURES_LIBC should be in DISTRO_FEATURES. That's why this patch let the recipe inherit distro_features_check class and set REQUIRED_DISTRO_FEATURES to "${DISTRO_FEATURES_LIBC}". [YOCTO #6381] (From OE-Core rev: 82d9d12a3364914a5c1f354671adac1f0a71eea3) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc (2.19): fix hardcoded /sbin pathMatthieu Crapet2014-06-244-8/+42
| | | | | | | | | Apply for ldconfig and sln packages. (From OE-Core rev: 8f17b78005bca46ce4b54be3f74bfb39571359c6) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix configure when re-building with goldKhem Raj2014-06-012-0/+35
| | | | | | | (From OE-Core rev: 2a36a02c2444551579b8498468debfaff0faa6d8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: remove usage of FILESPATHPetter Mabäcker2014-05-134-6/+3
| | | | | | | | | | | | | | | Fixes [YOCTO #4497] Usage of FILESPATH is discouraged, since it can make recipes harder to bbappend. Instead FILESEXTRAPATHS should be used to extend the path. If possible try to use any of the default FILESPATH dirs. Also remove superfluous comment and do minor indentation fix. (From OE-Core rev: 57109e59abb7c6af029f452d06b46f47084cff11) Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ldconfig-native: also default to lib32 and lib64 directoriesMing Liu2014-05-062-1/+40
| | | | | | | | | | | make ldconfig default to /lib+/usr/lib, /lib32+/usr/lib32 and /lib64+/usr/lib64 on bi-ABI architectures. (From OE-Core rev: c90bb98d4ac14562ef4882691daed3aaa9d08504) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser2014-05-021-1/+1
| | | | | | | | | | | | | The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. (From OE-Core rev: e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils/gcc/gdb: Add TARGET_ARCH to PN for all cross recipesRichard Purdie2014-04-302-5/+5
| | | | | | | | | This allows them to co-exist together in the native sysroot, with one set of cross tools per target architecture. (From OE-Core rev: a2c5509520d5c3e082f55844e6545d0309565f8f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-252-38/+38
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-initial: Separate out libgcc-initialRichard Purdie2014-04-252-2/+2
| | | | | | | | | | Its useful to separate out the native (cross) binaries from the target compilation. We already do this for libgcc, this now takes the same approach for -initial. (From OE-Core rev: 8a2aaf8b6bdca2d28c0047093c7f668750d57666) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: __slow_ieee754_sqrt{, f} functions for ppc e6500-32bChunrong Guo2014-04-092-0/+48
| | | | | | | | | | | | | *fix the following error: |/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c:138:1: | error: redefinition of '__ieee754_sqrt' | __ieee754_sqrt (double x) (From OE-Core rev: 83a49c0fc5f6835c1385acb501380a0e351e4ac2) Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.19: Make ppc e300c3 benefit from 603e sqrt optimizationsMats Kärrman2014-04-011-0/+7
| | | | | | | | | Tested on PowerPC MPC5125. (From OE-Core rev: 263e278be61093509110267596fdd75c225bf06a) Signed-off-by: Mats Karrman <mats.karrman@tritech.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Update SRC_URI to point to final download locationKhem Raj2014-03-142-2/+2
| | | | | | | | | | | We have been using interim location for the src_uri now the tarballs are placed in usual location so update the src_uri accordingly (From OE-Core rev: 58aae40bbf8edd9c5ca70b2094eeb724391f1993) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix build for FSL ppc/fpuKhem Raj2014-03-111-72/+90
| | | | | | | | | | | | | The patch needs to adapt to upstream changes should fix errors on e500mc+ based SOCs This should fix [YOCTO #5871] (From OE-Core rev: 6235cc3ccf98dce15ffe3313cf4e6cdf9c922bce) 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>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet2014-02-201-1/+1
| | | | | | | | | | | | | | | | | | Completes previous commit b5292d4115a4555a66b5e35acdc67dd71fb8577f. Updates SUMMARY[doc] (meta/conf/documentation.conf). Changes: - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR (From OE-Core rev: ad17dfd31a2b97b3e610a0ea0889f5ecb2a63b97) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Upgrade from 2.18 -> 2.19Khem Raj2014-02-1835-347/+71
| | | | | | | | | | | | | | | | License formatting and address for FSF in the COPYING and COPYING.LIB has changed. Dropped patched already upstream and patches that were workarounds for older glibc and busybox for e500 we have should pass --without-fp to eglibc/glibc 2.19 onwards the code is merged from eglibc into glibc upstream under nofpu/ pretext (From OE-Core rev: 875df27e56b82fcf970410b6d78e3672471c336a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: add eglibc-gconv to PACKAGES_DYNAMICPaul Eggleton2014-02-171-1/+2
| | | | | | | | | | | | If you try to add eglibc-gconv to an image, you'll get a NoProvider error because nothing at parse time states that it provides this (it's added to PACKAGES in populate_packages). This problem manifests itself in Hob for example when customising an image. (From OE-Core rev: f9e678bd854c65e01d14c14bafd7c1550db55f24) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-ld.inc: Update the inc file to match the new x86 tuneDarren Hart2014-01-281-1/+3
| | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 0f3f8d6cad190cb8de9dba56c5933abdf4d99d07) 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>
* eglibc-locale: Fix multilib builds to depend on the correct binutilsRichard Purdie2014-01-141-1/+1
| | | | | | (From OE-Core rev: 858c60adbcc5e21c585383fe90f6803d52f0807f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: Fix previous dependency change to properly work in nativesdk caseRichard Purdie2014-01-141-1/+3
| | | | | | (From OE-Core rev: 7a4f3ee1b137cc8465f0cd9b1e461d3643182a81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: Fix depends on binutilsRichard Purdie2014-01-141-1/+1
| | | | | | | | | | | | 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. (From OE-Core rev: b7ec21ac8ebac9d7fba34d6f11d93ecb8f561ca8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Remove older version 2.17Saul Wold2014-01-0236-14307/+0
| | | | | | | (From OE-Core rev: 14066651cd74724dcb59c10f994f5b2bf38a4745) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-023-3/+3
| | | | | | | | | | | | | | 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. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-options: Rewrite so it benefits from bitbake's contains handlingRichard Purdie2013-12-051-85/+119
| | | | | | | | | | | 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. (From OE-Core rev: 9a272ee6d72fc727a2dfe660ceded560a9f1ae88) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-initial.inc: Drop duplicate includeRichard Purdie2013-12-021-2/+0
| | | | | | | | | There is little point in including the file twice so lets not. The main recipe already included it. (From OE-Core rev: b3cccee0c66ce744a79843a5dd9798475c84e23c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.17.bb: accept make versions 4.0 and greaterJonathan Liu2013-11-082-0/+32
| | | | | | | | (From OE-Core rev: a678243d6e4add90c1e9459da42de34d3724db5d) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.18.bb: accept make versions 4.0 and greaterJonathan Liu2013-11-082-0/+32
| | | | | | | | | | [YOCTO #5391] (From OE-Core rev: 1969ff9081d06109b7e8e7f9331f31fcb611c393) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: Does not create {localedir} if the toolchain has no files ↵Roy Li2013-11-051-1/+2
| | | | | | | | | | | | | | under it This will kill the not shipped Error: ERROR: QA Issue: eglibc-locale: Files/directories were installed but not shipped /usr/lib/locale (From OE-Core rev: 168630394b3af47b7a914475865eed17b6a3b1a2) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.18.bb: Fix IFUNC support for ARM REL relocationsKhem Raj2013-09-142-0/+44
| | | | | | | | | | | | | This should fix the case where neon code is emitted for machines which dont have neon unit in the chip [YOCTO# 5161] (From OE-Core rev: 516e6f065a1bed0d95ffd1c8a4d8e135d834af94) 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 directory cleanup for 2.17Riku Voipio2013-08-261-1/+1
| | | | | | | | | | | | | 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> (From OE-Core rev: 10722a37bb7efa563425a7389100b9322d96492e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-options.inc: Fix string optionsAndrei Gherzan2013-08-231-2/+2
| | | | | | | | | | Add quotation marks for OPTION_EGLIBC_NSSWITCH_FIXED* options. If not, Kconfig will ignore the value and will use the default one which is "". (From OE-Core rev: 53f48a7aadc807a75c34fe72de7497790ba19ee5) Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc.inc: Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_*Andrei Gherzan2013-08-231-0/+4
| | | | | | | | | | | | | 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) (From OE-Core rev: eacf0f3ed15eccb52eb6b98e20b75f0aa26b6e81) Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Update SRC_URI and fix unpackaged empty dirKhem Raj2013-08-223-6/+10
| | | | | | | | | | | eglibc 2.18 has now been branched out so point to new tarballs (From OE-Core rev: e0c2dd275827a4b37b8116d0f0119333638461af) 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.18: Update to latest snapshotKhem Raj2013-07-182-6/+6
| | | | | | | | | | Works on all supposted qemu machines (From OE-Core rev: ad5a76f03d6fda289ff562c326c093d5fd72bc81) 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.18: Remove unused patchesKhem Raj2013-07-182-9679/+0
| | | | | | | | | | | These patches are already part of 2.18 eglibc they were copied from 2.17 but never used. (From OE-Core rev: a68ddd8ea842b3c85073fa63b4491147ff5e0c80) 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: Update 2.18 recipes to fix ppc/e500 failuresKhem Raj2013-07-102-6/+6
| | | | | | | | | | This should fix the e500 errors due to bounded pointers removal (From OE-Core rev: c7b10e33365f0c445d0aa1a6aad8e612cdc391e1) 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-locale: add missing dependency on virtual/${TARGET_PREFIX}binutilsMartin Jansa2013-07-101-0/+5
| | | | | | | | | | | | | | | | * 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 (From OE-Core rev: 9e615e2a6845d3a98f5d9b0cb555d132c696fc92) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Drop libc-libm-bigKhem Raj2013-07-051-1/+0
| | | | | | | | | | This feature has been removed from eglibc 2.18 (From OE-Core rev: cce89a2f88fb159a82149a594349f6fd5fed6b44) 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: Add 2.18 recipesKhem Raj2013-07-0535-0/+14172
| | | | | | | | (From OE-Core rev: 59ae9fc07a6a89492c001de0b3322ecd6d3956be) 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/machine-sdk: Drop SDK_GLIBC_ADDONSRichard Purdie2013-05-091-2/+0
| | | | | | | | | We no longer change GLIBC_ADDONS per target so we no longer need to special case the SDK settings for it either. (From OE-Core rev: 3fb0e792600b5adb58bc5fca90d8605c1c76280f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image/kernel-module-split/eglibc-ld.inc: Remove has_key() usageRichard Purdie2013-05-091-1/+1
| | | | | | | | | The has_key() attribute has been removed in python 3 since there is better syntax available. Use the improved syntax. (From OE-Core rev: 3dff13793e875ff58cc38c4a960caca9b6969843) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Avoid "installed but not shipped" warning for ld.so.confPhil Blundell2013-04-291-0/+10
| | | | | | | | | | | | | 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. (From OE-Core rev: 23b5dd2ab8a556fcef3aa34689310d9d5f61b3d1) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: add common HOMEPAGE and SUMMARY for eglibc-localePaul Eggleton2013-04-292-0/+3
| | | | | | | | | | | Add SUMMARY for eglibc-locale, and HOMEPAGE in eglibc-collateral.inc (used for eglibc-locale and eglibc-mtrace). (From OE-Core rev: a677fcfbc1572f6ae7e2326ae0ab55522e24fe77) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>