Commit Graph

20 Commits

Author SHA1 Message Date
Joe Slater 99e39a1ff6 common-glibc: define bash_cv_getcwd_malloc
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".

(From OE-Core rev: 72539c68e4a6ef1497af3f707107c3a69ab37bbd)

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>
2015-07-23 08:48:40 +01:00
Ross Burton eef85f8b6b site: add xorg_cv_malloc0_returns_null
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.

(From OE-Core rev: ecbf3f81f6d2929921e57066c2dd327d41d8e286)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-14 09:11:12 +00:00
Henning Heinold 81b6e546bb glib-2.0: fix qsort_t testing for uclibc
* 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

(From OE-Core rev: 812342e44e9e361a0fa93cfcfe65cf4dd6f2fb57)

Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-18 14:22:41 +00:00
Julian Pidancet 96415387fa Give coreutils a chance to build the df utility
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.

(From OE-Core rev: fa1eb21933a880aa20e4ca87574753b1ec272c3b)

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-27 08:45:47 +01:00
Tom Rini 2a5dab5a56 Various siteinfo files: Consolidate va_copy/__va_copy/va_val_copy
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.

(From OE-Core rev: a54a803ed89969c2416bfa9d911fe4cf558e2391)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04 15:04:36 +01:00
Tom Rini 4ac307ec40 Various siteinfo files: Consolidate ac_cv_func_getaddrinfo
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.

(From OE-Core rev: bca50524921a870bf774e23973a834f20701f146)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04 15:04:36 +01:00
Tom Rini c8f8ca9e46 Various site files: Drop monotone/mono
Not in oe-core nor meta-oe and based on oe.dev, possibly incomplete.

(From OE-Core rev: dc678e674ba9c56feb150bf06829a44fbe4e2b5a)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04 15:04:36 +01:00
Tom Rini 4193d0e542 siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libc
These functions are determined by the C library so move them to common-glibc
and common-uclibc

(From OE-Core rev: 9226635ab28b5ca44ec04931d27c5c3313d56e61)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:44 +01:00
Tom Rini 85a49c9ed6 siteinfo: Move general realloc/malloc values to common-$libc
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).

(From OE-Core rev: cab512d7ee50fb55b9412c0e1a52a589de09e0a7)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:44 +01:00
Richard Purdie 07b4e14734 m4: Set further site entries
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-10 10:42:21 +01:00
Richard Purdie 247da0351e site/common-glibc: Add entries for m4
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-09 10:11:52 +01:00
Richard Purdie 34d7e090e8 site/common-glibc: Set ac_cv_check_sjlj since system headers can otherwise break the setting in pth
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4975 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-28 19:27:14 +00:00
Marcin Juszkiewicz a2f942c22e site: merged common-glibc from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3999 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-14 10:14:15 +00:00
Richard Purdie 34927dfa61 Sync various tweaks from OE, change default SRCREV policy to not auto increment rather than hitting the network.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3345 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-12-18 15:04:06 +00:00
Richard Purdie cdd1dbc477 site/common-glibc: Add definitions to make gcc's inbuilt zlib work
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2989 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-26 11:03:36 +00:00
Marcin Juszkiewicz 286da62fb5 site: sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2923 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-19 12:05:49 +00:00
Richard Purdie d20e041f2f site: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2655 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-02 15:48:40 +00:00
Richard Purdie f6a013b161 site/common-glibc: Set glib_cv_long_long_format
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2306 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01 23:01:44 +00:00
Ross Burton 7e5766f1ae Move some site defines from arm-common to common-glibc
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2288 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01 13:45:35 +00:00
Richard Purdie 99d5d9996b site: Sync ARM changes with OE (creation of common ARM site file)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1792 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-27 22:46:45 +00:00