summaryrefslogtreecommitdiffstats
path: root/meta/site/common-glibc
AgeCommit message (Collapse)Author
2015-07-22common-glibc: define bash_cv_getcwd_mallocJoe Slater
We do not want bash to use internal code for getcwd() because it can fail in certain filesystem types. Trust that the function in glibc is not "broken". Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-14site: add xorg_cv_malloc0_returns_nullRoss Burton
util-macros 1.18 will look in the autoconf cache for this value so instead of using overrides in xorg-lib-common, use the per-libc site cache. Alert readers may notice that the site file claims that glibc returns NULL from malloc(), when the previous change (e628c8aba0189de30de2833882b9999ff3b6547a) claimed that it didn't. The previous change was incorrect, whilst malloc(0) returns a valid pointer, realloc(p,0) does in fact return NULL, so the Xlib wrapper functions are needed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-18glib-2.0: fix qsort_t testing for uclibcHenning Heinold
* instead of disabling the configure test and set it always true use the site files to set it true for glibc/eglibc and false for uclibc * remove the patch ' tested only for uclibc * bump PR Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-27Give coreutils a chance to build the df utilityJulian Pidancet
The coreutils configure script is unable determine how to get free space from the Operating System when cross-compiling. This changes caches the result of the "statfs2_bsize" test for the coreutils configure script. Both glibc and uclibc defines statfs as a two-argument function and uses a struct statfs containing a f_bsize field. That's why the fu_cv_sys_stat_statfs2_bsize variable has to be defined for both libcs. Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04Various siteinfo files: Consolidate va_copy/__va_copy/va_val_copyTom Rini
Providing va_copy / __va_copy come down to the libc. va_val_copy comes down to the architecture. Unfortunately it's assumed true if not set, so we need to make sure to set this to false for x86_64 where it is not true. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-08-04Various siteinfo files: Consolidate ac_cv_func_getaddrinfoTom Rini
This is a libc feature, move there. Drop the ipsec-tools specific test as ipsec-tools (a) assumes fine on cross-compile and (b) doesn't support buggy getaddrinfo now. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-08-04Various site files: Drop monotone/monoTom Rini
Not in oe-core nor meta-oe and based on oe.dev, possibly incomplete. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libcTom Rini
These functions are determined by the C library so move them to common-glibc and common-uclibc Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move general realloc/malloc values to common-$libcTom Rini
These are tests for glibc behavior which we have enabled in uclibc. Note that if we ever disable MALLOC_GLIBC_COMPAT the uclibc tests will need to be changed (but I believe this would also entail massive patching to the rest of userspace so this should be unlikely). Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-06-10m4: Set further site entriesRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-09site/common-glibc: Add entries for m4Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-07-28site/common-glibc: Set ac_cv_check_sjlj since system headers can otherwise ↵Richard Purdie
break the setting in pth git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4975 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-14site: merged common-glibc from OEMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3999 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-12-18Sync various tweaks from OE, change default SRCREV policy to not auto ↵Richard Purdie
increment rather than hitting the network. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3345 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-26site/common-glibc: Add definitions to make gcc's inbuilt zlib workRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2989 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-19site: sync with OEMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2923 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-02site: Sync with OERichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2655 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01site/common-glibc: Set glib_cv_long_long_formatRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2306 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01Move some site defines from arm-common to common-glibcRoss Burton
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2288 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-27site: Sync ARM changes with OE (creation of common ARM site file)Richard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1792 311d38ba-8fff-0310-9ca6-ca027cbcb966