summaryrefslogtreecommitdiff
path: root/meta/recipes-core/eglibc
Commit message (Collapse)AuthorAgeFilesLines
* eglibc_2.13: Add support for handling sqrt & sqrtf on powerpcKumar Gala2011-08-042-1/+540
| | | | | | | Some of powerpc's dont support the fsqrt[s] instructions so we need an implementation of the library functions for those processors. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* eglibc: fix build for armv4 machinesDmitry Eremin-Solenikov2011-08-044-0/+52
| | | | | | | | | | | | | | eglibc builds for arm-eabi unconditionally enables the libc-do-syscall.S file, which contains thumb assembly. It's unused in arm-eabi-nothumb case, so just ifdef the actual code. V2: use the patch from oe.dev. The patch is submitted to sourceware bugzilla by Khem Raj back in October of 2010, but the status is still UNCONFIRMED and the patch isn't commited. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Cc: Khem Raj <raj.khem@gmail.com>
* eglibc-package.inc: Fixed error in referencing PKGSUFFIXLianhao Lu2011-08-043-6/+6
| | | | | | | | | [YOCTO #1329] Added the missing $ when referencing PKGSUFFIX in FILES_* variables set. [RP: Added PR bumps] Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: Specially handle FILES_eglibc-gconv for multilibDongxiao Xu2011-08-031-1/+4
| | | | | | | | | | | | | | | | | In multilib support, it iterate values in PACKAGES and then extend name for variables like "FILES_xxx", "SUMMARY_xxx", etc. However eglibc-gconv is dynamically put in PACKAGES by package_do_split_gconv function. Therefore the name will not be extended automatically. Specially handle the FILES variable for eglibc-gconv to fix the issue of missing "lib32-eglibc-gconv" issue in doing multilib do_rootfs. Also when set PACKAGES, add the MLPREFIX. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Add missing ${PN} and ${PKGSUFFIX} usagesRichard Purdie2011-08-021-24/+24
| | | | | | | | | | | | | | | | | | | This fixes warning messages such as: The providers found were: ['virtual:nativesdk:eglibc_2.13.bb', 'eglibc_2.13.bb'] The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_virtual/libc-nativesdk = eglibc-nativesdk', 'PREFERRED_PROVIDER_virtual/libc = eglibc'] NOTE: multiple providers are available for runtime glibc-utils (eglibc, eglibc-nativesdk, external-csl-toolchain, external-poky-toolchain) NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-utils This highlights how ugly adding to PN is when using BBCLASSEXTEND. We need to do this to eglibc so the nativesdk class continues to work correctly for now and ensure consistency in how the various eglibc packages are generated. Longer term, if we switch nativesdk to use the multilib approach and MLPREFIX, we can remove all the PKGSUFFIX mess. I'd rather not get into changing nativesdk right at this time though given all the other changes that are going on. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix for multilib RPROVIDES issueYu Ke2011-07-271-1/+1
| | | | | | | | | | | in eglibc-package.inc, the "PACKAGES" variable use the ${PN} reference, while RPROVIDES does not use ${PN}. This will lead multilib.bbclass not mapping its RPROVIDES, and cause "NO RPROVIDER: lib64-glibc-utils" error. This patch unify the recipe to fix this issue Signed-off-by: Yu Ke <ke.yu@intel.com>
* eglibc_2.13: Resolve multilib header conflictsMark Hatle2011-07-272-1/+94
| | | | | | | | | | | Due to mismatches between various header definitions in i386 and x86_64 we need to overwrite the i386 versions of the headers with their x86_64 equivalents. This can not be done for the syscall.h as it's dynamically generated, so use the header conflict resolution helper for that. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* eglibc: remove unnecessary FILESPATHPKG usagePaul Eggleton2011-07-271-2/+1
| | | | | | This was not doing anything (we don't even have the eglibc-svn directory). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* eglibc-package: don't fail without localedef/gconvMartin Jansa2011-07-211-2/+6
| | | | | | | | | | * in some cases we don't have localedef/gconv built ie when DISTRO_FEATURES lacks one of libc-charsets, libc-locales, libc-locale-code then is better ignore localedef/gconv instead of do_install_locale failing like in this bugreport: http://bugzilla.yoctoproject.org/show_bug.cgi?id=1209 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Add endianess macros used by previous endian-ness_handling.patchMatthew McClintock2011-07-212-2/+116
| | | | | | | Some distro's don't include these macros in /usr/include/endian.h so we include them via this patch Signed-off-by: Matthew McClintock <msm@freescale.com>
* eglibc: Tighten LICENSE FieldsSaul Wold2011-07-192-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc: fix packaging of thread_dbPhil Blundell2011-07-143-4/+4
| | | | | | | | | | | | Similarly to libnss*, if ${libdir} and ${base_libdir} were the same path then libthread_db would land in ${PN}-dev rather than the intended place. As before, fix this by moving eglibc-thread-db earlier in PACKAGES and adjusting its FILES to not capture the .so symlink. Bump PR for both 2.12 and 2.13. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix runtime assertion failureNitin A Kamble2011-07-132-0/+180
| | | | | | | | | | | | This fixes bug [YOCTO #1237] Runtime assertion errors were observed: Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps: Assertion `nlist > 1' failed! A fix was available for this issue: http://sourceware.org/bugzilla/show_bug.cgi?id=12454 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* eglibc: fix installed but not packaged filesNitin A Kamble2011-07-131-0/+4
| | | | | | | | | Fixes these package QA warnings: WARNING: For recipe eglibc, the following files were installed but not shipped in any package: WARNING: /etc/localtime Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* Patches: Fix Upstream-Status infoSaul Wold2011-07-132-3/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc: ensure that NSS libs go into the right package when ${base_libdir} ↵Phil Blundell2011-07-132-3/+3
| | | | | | | | | | | and ${libdir} are the same Previously, libnss_hesiod et al. could get swallowed by the wildcarded glob in ${PN}-dev. Fix it by moving eglibc-extra-nss earlier in the PACKAGES and adjusting its FILES to ensure that the devel symlinks don't get caught. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: add RDEPENDS for bash on eglibc-utilsSaul Wold2011-07-081-1/+1
| | | | | | | | | | | | [YOCTO #1214] The eglibc-utils contains 2 scripts (tzselect and xtrace) that use bash, so add an RDEPENDS to eglibc-utils. This also removes libsotruss as it's currently not built, it was not previously depended on because it was mis-spelled as "EDEPENDS" Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc: unbash ldd (from oe.dev)Saul Wold2011-07-081-2/+1
| | | | | | | | | | | | | (From oe-dev rev: 0a831e2cd1c27d30cd76ddada9a44a703ab60f41) * replace shebang of ldd by /bin/sh, so ldd doesn't depend on bash anymore. Tested with busybox sh. * added to do_configure_prepend because do_patch is only a python function Signed-off-by: Thomas Zimmermann <ml@vdm-design.de> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc: avoid copying ${libdir} twice if it's the same as ${base_libdir}Phil Blundell2011-07-081-2/+4
| | | | | | | | Otherwise the following "mv ${libdir}/gconv" fails because the destination has already been created. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: bump PR for OLDEST_KERNEL changePaul Eggleton2011-07-082-2/+2
| | | | | | Bump PR as eglibc should be rebuilt for the new OLDEST_KERNEL value. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* Drop PRIORITY variableRichard Purdie2011-07-013-3/+0
| | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-2.12: Add missing PR bumpRichard Purdie2011-06-301-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.bbclass: Ensure localedef is only packaged in one locationRichard Purdie2011-06-301-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.bbclass: Fix unintended code changesRichard Purdie2011-06-302-6/+14
| | | | | | | | Commit 477ede7472db0bacd5daacb96e97f849d1be84ee accidentally reverted some code changes it shouldn't have done leading to continued eglibc packaging issues. This patch corrects that damage. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc locale split: fix some remaining problemsKoen Kooi2011-06-292-14/+6
| | | | | | | | | | | | * libc-{common,package}.bbclass: fix shlib renaming for the C library Without this you'd end up with eglibc_2.12.ipk instead of libc6_2.12.ipk as before * eglibc-locale: don't make versions go backwards after split from eglibc eglibc was way beyond PR = "r1" at the time of the split, so increase PR to make package upgrades work [RP: Fixup PR merge conflict] Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc/eglibc: Clean up package warnings and potentially broken data in -dev ↵Richard Purdie2011-06-293-7/+15
| | | | | | | | | | package These changes ensure files packaged in the -locale package aren't included in the main do_install and also ensures the staging directory used for the -locale package doesn't end up in the -dev package. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-locale: Fixup various packaging warningsRichard Purdie2011-06-291-7/+15
| | | | | | | | | | After the recent locale changes there were warnings about many unpackaged files. Fix this by directing libc-package.bbclass to operate directly on the files in the sysroot and adding packaging for .debug files in this package. Also sync up the eglibc and glibc versions of this code more closely. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-locale: Drop PN-locale packagesRichard Purdie2011-06-281-4/+2
| | | | | | | | These never seem to have been generated and matched no known FILES anyhow. This ensures localedef makes it into the correct package too. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc/eglibc: Add missing PR bumpRichard Purdie2011-06-282-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix version 2.12 after locale changesRichard Purdie2011-06-287-74/+76
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-locale: split locale handling from libc recipe.Dongxiao Xu2011-06-285-30/+78
| | | | | | | | | | | | *libc's do_package will cost a lot of time due to the locale handing, which may delay the other recipe's do_package task and affect the build performance. This commit moves locale handling into a separate recipe *libc-locale. [RP: Add fixup with recent eglibc commit conflict for FILES_pn-dbg and PACKAGES] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "eglibc: Upgrade recipes from 2.13 -> 2.14"Richard Purdie2011-06-2211-3/+4
| | | | | | | | This reverts commit 2a68cf4d315cdd18766de0c75928ff17846a6cd7. 2.14 isn't ready for prime time :( (A load of files no longer seem to get installed for example)
* eglibc: Upgrade recipes from 2.13 -> 2.14Khem Raj2011-06-2211-4/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* eglibc-package.inc: Package newly added sotruss and supporting librariesKhem Raj2011-06-221-2/+5
| | | | | | | | | 2.14 has a new utility which can trace through PLTs of shared libraries We package the library separately and the script is already packaged in eglibc-utils so we create a RDEPEND so that the library is pulled in if someone isntalls eglibc-utils Signed-off-by: Khem Raj <raj.khem@gmail.com>
* eglibc: bump PR for SRCREV changesKoen Kooi2011-06-152-2/+2
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* eglibc_2.12.bb: Remove already upstreamed fix-for-make-3.82.diffKhem Raj2011-06-152-29/+1
| | | | | | | This patch is already applied to eglibc 2.12 branch as seen here http://www.eglibc.org/cgi-bin/viewcvs.cgi/branches/eglibc-2_12/libc/manual/Makefile?rev=12230&sortby=date&r2=12230&r1=10495 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* eglibc: migrate configurability from oeKang Kai2011-06-142-0/+68
| | | | | | | | | | Migrate configurability from oe, try to shrink minimal image size All eglibc configuration options are included in conf/distro/include/default-distrovars.inc. Define DISTRO_FEATURES_LIBC and DISTRO_FEATURES in local.conf with the same way in local.conf.sample.extended to enable those options. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* eglibc 2.12/2.13: Upgrade SRCREVKhem Raj2011-06-142-2/+2
| | | | | | | | | We need http://www.eglibc.org/archives/patches/msg00923.html to get through the problem we see when OPTION_EGLIBC_RTLD_DEBUG is disabled. This patch has been backported to both 2.12 and 2.13 branches. We bump SRCREVs to have that change. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* eglibc: fix mispackaging of libcidnPhil Blundell2011-06-023-5/+5
| | | | | | | | | | | | The glob for libc_baselibs was too permissive, causing some of the libcidn symlinks to be placed in ${PN} rather than the intended subpackage. Worse, the .so itself was actually landing in ${PN}-dev, so the net effect was to make libc6-dev a dependency of libc6. Bump PRs for both 2.12 and 2.13 as a result. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Upstream-status --> Upstream-Status: for multiple patchesDexuan Cui2011-06-025-5/+5
| | | | | | As a keyword, Upstream-Status is case sensitive. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGSKhem Raj2011-05-251-0/+6
| | | | | | | | | | | | | * Currently we are passing -jN or -j N flags to eglibc makefiles however eglibc uses a make variable called PARALLELMFLAGS to pass information about parallel build to sub-makes * Currently make install ran without parallelism but now it should have parallel building flags passed to do_install correctly which inturn should improve build time of eglibc on systems using parallel build -j with values > 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc: remove unused patches and move patches in proper dirNitin A Kamble2011-05-1816-161/+38
| | | | | | | | | | | | | | | | | | gcc: update upstream-status for patches python: update upstream-status for patches libtool: update upstream-status of patches m4: update upstream status for patches eglibc: remove unused patches eglibc: update upstream status of patches glibc: update upstream-status of patches & remove unused patches Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* eglibc: backport fix from oe master to stop libc.so leaking into ${PN}Phil Blundell2011-05-171-1/+1
| | | | | Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.13: Add recipes for eglibc 2.13Khem Raj2011-05-0513-1/+491
| | | | | | | | Add patch to correct fstack-protector configure check Document all patches for eglibc 2.13 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poky-default-revisions: move the SRCREV to recipe fileYu Ke2011-05-041-0/+2
| | | | | | in this case, those non poky distro can also use these recipe normally Signed-off-by: Yu Ke <ke.yu@intel.com>
* logging: update existing oe* logging users to the bb* interfaceDarren Hart2011-05-041-1/+1
| | | | | | | | | | | The new bash logging class provides bbnote, bbwarn, bbfatal, and bbdebug replacements (as well as bbplain and bberror) for the oe* equivalents. Use the new bb* API in preparation to delete the oe* logging API. This patch was automatically generated by a sed script. The result has been visually inspected and used to build core-image-sato for qemux86. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* eglibc-package.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs ↵Xiaofeng Yan2011-04-121-0/+20
| | | | | | | | | | | | | | | | | and eglibc-charmps to variable PACKAGE The purpose of adding the above variables it to make it easier to install them into a lsb-image. By having 4 collections of packages they will not fill the task-poky-lsb.bb file. eglibc-binaries include packages "eglibc-binary-*" eglibc-localedatas include packages "eglibc-localedata-*" eglibc-gconvs include packages "eglibc-gconv-*" eglibc-charmaps include packages "eglibc-charmap-*" [sgw: edited summary and description] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* ldconfig-native-2.12.1: newer recipe with eglibc sourcesNitin A Kamble2011-04-048-0/+1332
| | | | | | | | | | | | This fixes [YOCTO #780] Handle the input/output data with different endian-ness correctly Also fix the definition of LD_SO for cross environment And remove the older 2.5 version of ldconfig-native recipe Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* cross-localedef-native: Fix do_move_ports since the definition of changes. ↵Richard Purdie2011-02-021-2/+2
| | | | | | Raises the question of whether we even need ports for this? Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc/libc: Change bootstrap to use an intermediate sysroot and hence no ↵Richard Purdie2011-01-252-0/+22
| | | | | | | | longer overwrite files Based upon patches from Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>