summaryrefslogtreecommitdiff
path: root/meta/recipes-core/eglibc
AgeCommit message (Collapse)AuthorFiles
2011-08-04eglibc: Fix patch merge breakageRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04eglibc_2.13: Add support for handling sqrt & sqrtf on powerpcKumar Gala2
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>
2011-08-04eglibc: fix build for armv4 machinesDmitry Eremin-Solenikov4
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>
2011-08-04eglibc-package.inc: Fixed error in referencing PKGSUFFIXLianhao Lu3
[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>
2011-08-03eglibc-locale: Specially handle FILES_eglibc-gconv for multilibDongxiao Xu1
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>
2011-08-02eglibc: Add missing ${PN} and ${PKGSUFFIX} usagesRichard Purdie1
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>
2011-07-27eglibc: fix for multilib RPROVIDES issueYu Ke1
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>
2011-07-27eglibc_2.13: Resolve multilib header conflictsMark Hatle2
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>
2011-07-27eglibc: remove unnecessary FILESPATHPKG usagePaul Eggleton1
This was not doing anything (we don't even have the eglibc-svn directory). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-07-21eglibc-package: don't fail without localedef/gconvMartin Jansa1
* 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>
2011-07-21Add endianess macros used by previous endian-ness_handling.patchMatthew McClintock2
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>
2011-07-19eglibc: Tighten LICENSE FieldsSaul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-14eglibc: fix packaging of thread_dbPhil Blundell3
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>
2011-07-13eglibc: fix runtime assertion failureNitin A Kamble2
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>
2011-07-13eglibc: fix installed but not packaged filesNitin A Kamble1
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>
2011-07-13Patches: Fix Upstream-Status infoSaul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-13eglibc: ensure that NSS libs go into the right package when ${base_libdir} ↵Phil Blundell2
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>
2011-07-08eglibc: add RDEPENDS for bash on eglibc-utilsSaul Wold1
[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>
2011-07-08eglibc: unbash ldd (from oe.dev)Saul Wold1
(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>
2011-07-08eglibc: avoid copying ${libdir} twice if it's the same as ${base_libdir}Phil Blundell1
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>
2011-07-08eglibc: bump PR for OLDEST_KERNEL changePaul Eggleton2
Bump PR as eglibc should be rebuilt for the new OLDEST_KERNEL value. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-07-01Drop PRIORITY variableRichard Purdie3
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>
2011-06-30glibc-2.12: Add missing PR bumpRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30eglibc-package.bbclass: Ensure localedef is only packaged in one locationRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30eglibc-package.bbclass: Fix unintended code changesRichard Purdie2
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>
2011-06-29libc locale split: fix some remaining problemsKoen Kooi2
* 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>
2011-06-29glibc/eglibc: Clean up package warnings and potentially broken data in -dev ↵Richard Purdie3
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>
2011-06-29libc-locale: Fixup various packaging warningsRichard Purdie1
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>
2011-06-28libc-locale: Drop PN-locale packagesRichard Purdie1
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>
2011-06-28glibc/eglibc: Add missing PR bumpRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28eglibc: Fix version 2.12 after locale changesRichard Purdie7
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28libc-locale: split locale handling from libc recipe.Dongxiao Xu5
*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>
2011-06-22Revert "eglibc: Upgrade recipes from 2.13 -> 2.14"Richard Purdie11
This reverts commit 2a68cf4d315cdd18766de0c75928ff17846a6cd7. 2.14 isn't ready for prime time :( (A load of files no longer seem to get installed for example)
2011-06-22eglibc: Upgrade recipes from 2.13 -> 2.14Khem Raj11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-22eglibc-package.inc: Package newly added sotruss and supporting librariesKhem Raj1
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>
2011-06-15eglibc: bump PR for SRCREV changesKoen Kooi2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-15eglibc_2.12.bb: Remove already upstreamed fix-for-make-3.82.diffKhem Raj2
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>
2011-06-14eglibc: migrate configurability from oeKang Kai2
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>
2011-06-14eglibc 2.12/2.13: Upgrade SRCREVKhem Raj2
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>
2011-06-02eglibc: fix mispackaging of libcidnPhil Blundell3
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>
2011-06-02recipes: Upstream-status --> Upstream-Status: for multiple patchesDexuan Cui5
As a keyword, Upstream-Status is case sensitive. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-05-25eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGSKhem Raj1
* 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>
2011-05-18gcc: remove unused patches and move patches in proper dirNitin A Kamble16
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>
2011-05-17eglibc: backport fix from oe master to stop libc.so leaking into ${PN}Phil Blundell1
Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-05eglibc-2.13: Add recipes for eglibc 2.13Khem Raj13
Add patch to correct fstack-protector configure check Document all patches for eglibc 2.13 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-04poky-default-revisions: move the SRCREV to recipe fileYu Ke1
in this case, those non poky distro can also use these recipe normally Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-05-04logging: update existing oe* logging users to the bb* interfaceDarren Hart1
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>
2011-04-12eglibc-package.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs ↵Xiaofeng Yan1
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>
2011-04-04ldconfig-native-2.12.1: newer recipe with eglibc sourcesNitin A Kamble8
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>
2011-02-02cross-localedef-native: Fix do_move_ports since the definition of changes. ↵Richard Purdie1
Raises the question of whether we even need ports for this? Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>