aboutsummaryrefslogtreecommitdiff
path: root/config/libc
Commit message (Collapse)AuthorAgeFilesLines
* glibc: --enable-obsolete-rpc has been removed as of 2.32Chris Packham2020-09-071-1/+2
| | | | | | | Make --enable-obsolete-rpc conditional on !CT_GLIBC_2_32_or_later as it's been removed from that version on. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge branch 'picolibc' of git://github.com/keith-packard/crosstool-ng into ↵Chris Packham2020-09-061-0/+124
|\ | | | | | | keith-packard-picolibc
| * Add picolibc support [v2]Keith Packard2020-09-011-0/+124
| | | | | | | | | | | | | | | | | | | | | | | | This adds support for using picolibc instead of newlib on embedded systems. Signed-off-by: Keith Packard <keithp@keithp.com> v2: Add check for meson and ninja Sync option default values with current picolibc defaults Remove xtensa sys header file install as those aren't in picolibc
* | glibc: Don't build with -Werror for powerpc64+glibc-2.32Chris Packham2020-09-031-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | When building powerpc64+glibc-2.32 we see the following error: [ALL ] In file included from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26, [ALL ] from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18: [ALL ] ../string/wordcopy.c: In function '_wordcopy_fwd_aligned': [ERROR] ../string/wordcopy.c:98:26: error: 'a1' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ALL ] 98 | ((op_t *) dstp)[0] = a1; [ALL ] | ~~~~~~~~~~~~~~~~~~~^~~~ [ALL ] In file included from ../sysdeps/powerpc/powerpc64/power4/../../powerpc32/power4/memcopy.h:38, [ALL ] from ../sysdeps/powerpc/powerpc64/power4/memcopy.h:1, [ALL ] from ../string/wordcopy.c:23, [ALL ] from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26, [ALL ] from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18: [ALL ] ../string/wordcopy.c: In function '_wordcopy_fwd_dest_aligned': [ERROR] ../sysdeps/generic/memcopy.h:72:61: error: 'a3' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ALL ] 72 | #define MERGE(w0, sh_1, w1, sh_2) (((w0) << (sh_1)) | ((w1) >> (sh_2))) [ALL ] | ^~ This seems to only trigger for powerpc64. Other architectures build cleanly. For now avoid specifying -Werror for powerpc64+glibc-2.32. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Add --with-cpu= on 32-bit SPARCAlexey Neyman2020-03-031-2/+6
| | | | | | ... if building for GLIBC 2.31+. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add newlib retargetable locking configurationStephanos Ioannidis2019-12-201-0/+7
| | | | | | | This commit adds support for the newlib configuration option '--enable-newlib-retargetable-locking'. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
* Merge pull request #1231 from cpackham/glibc-2.28-make-4.0Alexey Neyman2019-10-011-1/+1
|\ | | | | libc: glibc 2.28 needs make 4.0
| * libc: glibc 2.28 needs make 4.0Chris Packham2019-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | Fixes: #1210 Per the release notes for the GNU C library 2.28[1] make 4.0 or newer is required. Previously the logic was applied to glibc 2.29 or newer. [1] - https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Add glibc 2.30Chris Packham2019-09-051-0/+2
|/ | | | | | | | | Add the GNU C Library version 2.30. Bring forward the typedef-caddr.patch. Skip the ARC patch for now. https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* uClibc: fix selection of debug levelKonstantin Vasin2019-04-051-0/+1
|
* Meet our new companion tool, bisonAlexey Neyman2019-03-041-0/+14
| | | | | | | Which is here courtesy of CentOS6, which only has bison 2.4 - while new glibc requires 2.7. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix build of glibc 2.29 on systems with obsolete host programsAlexey Neyman2019-03-021-2/+15
| | | | | | | | | | | | - Force building make as a companion tool if host make is older than 4.0 (CentOS 7 currently has 3.82) - Disable 2.29 as a choice if host python is older than 3.4 (CentOS 7 has 2.6 unless python from EPEL is installed) - Python2 emits its version information to STDERR. Ugh. While there, also use the detected host Python for GDB configuration. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add new Android API levelsAndrzej Perczak2018-12-211-0/+15
|
* Allow short "moxiebox" aliasAlexey Neyman2018-12-101-0/+10
| | | | | | | | | | ... while making use of the new tunables. Also, unmark the moxie-elf as broken: the ld scripts installed by newlib can be found by the compiler and can link the binaries. Why the default script is broken is not ct-ng's problem... Signed-off-by: Alexey Neyman <stilor@att.net>
* Add config flags for omitting 'arch' and 'vendor'Alexey Neyman2018-12-101-0/+4
| | | | | | | | ... parts of the config tuple. While here, remove parts that are setting portions of the target tuple to a value that's already the default. Signed-off-by: Alexey Neyman <stilor@att.net>
* Moxiebox requires target to be LEAlexey Neyman2018-12-071-0/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Disable -fstack-protector* from being used by glibcAlexey Neyman2018-12-071-1/+7
| | | | | | ... until it was fixed (to some extent) in 2.25. Signed-off-by: Alexey Neyman <stilor@att.net>
* Require ld to be default when building mingw-w64Alexey Neyman2018-12-041-0/+1
| | | | | | Fixes #674. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add configuration options for enabling SSPAlexey Neyman2018-12-042-0/+56
| | | | | | | | | | | ... in uClibc and glibc. Fixes #681. While here, relocate additional "sources" for uClibc/binutils into packages/ directory. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add moxiebox as a choice for libcAlexey Neyman2018-12-012-1/+17
| | | | | | | | | | | | | | | | | This required some rework of the libc selection, as moxiebox is a layer on top of another libc - newlib. Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox needs from libcrypto is SHA256, and it already includes a standalone implementation of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use that implementation for the host binary, too. Also, automate collecting/printing the list of all packages in a given category (e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given category. Signed-off-by: Alexey Neyman <stilor@att.net>
* Too many fixes need backporting for GCC8...Alexey Neyman2018-05-141-6/+12
| | | | | | ... so instead, disable -Werror for older versions of glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
* First batch of fixesAlexey Neyman2018-05-121-0/+6
| | | | | | | | - Incompatible function type for ifunc alias - Multiple statements macro expansion in strftime - if_nametoindex size checking Signed-off-by: Alexey Neyman <stilor@att.net>
* Make libiconv an option in the menu configAlexey Neyman2018-02-101-0/+11
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* uClibc-ng retired RPC support as of 1.0.23Alexey Neyman2018-02-101-0/+5
| | | | | | ... make the corresponding option conditional. Signed-off-by: Alexey Neyman <stilor@att.net>
* More fixes after the upgrades:Alexey Neyman2018-01-301-0/+5
| | | | | | | | | | | - GLIBC requires a fix to work with binutils 2.30 on aarch64. This fix relies on binutils 2.24 or newer, which is okay for glibc 2.26 since it needs 2.25 or newer anyway. But older glibc versions are now pinned to binutils 2.29 or older on aarch64. - xtensa needs patches in libgcc with gcc 7.3. - comment in newlib's patch to indicate it is a reversal of a commit. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make comp.libs use generated templates, tooAlexey Neyman2017-11-298-13/+3
| | | | | | | | This allows us to include the component-to-package relation in the generated kconfig files and make use of that information in the show-config.sh script. Signed-off-by: Alexey Neyman <stilor@att.net>
* Apply ucontext patch to mainstream GCC releasesAlexey Neyman2017-08-272-1/+9
| | | | | | | Not applicable to 4.8, as GLIBC2.26 requires 4.9 or newer. Record that dependency. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make --enable-obsolete-rpc an option in ct-ngAlexey Neyman2017-08-261-0/+16
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Record glibc 2.24+ dependencyAlexey Neyman2017-08-161-0/+5
| | | | | | | | ... on kernel headers of 3.2 and newer. Fixes #794. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix version check in mingw-w64Alexey Neyman2017-08-161-0/+4
| | | | | | Fixes #782. Signed-off-by: Alexey Neyman <stilor@att.net>
* Also upgrade non-generated config filesAlexey Neyman2017-07-084-11/+11
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Switch gen-kconfig to new frameworkAlexey Neyman2017-07-0810-626/+615
| | | | | | | | | | | | | | | Also: - Move companion_* to comp_* to match the kconfig symbols - Replace bootstrap with former gen-versions.sh - Fold *.in.2 into their respective first parts; this moves common options to the end - if it is undesirable, inclusion of *.in can be moved where *.in.2 used to be (but that will also move version selection after common options). - Retire addToolVersion.sh (may later replace with a more comprehensive script that tries to download the added tarballs, copy the patches and try to apply them, and create a version.desc). Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove support for pregenerated locales in uClibcAlexey Neyman2017-07-081-17/+0
| | | | | | | | | It fails to compile with the only locale version available (030818) (on master too, with exactly the same error). uClibc-ng does not use pregenerated locales. Signed-off-by: Alexey Neyman <stilor@att.net>
* uClibc locale "package"Alexey Neyman2017-07-081-0/+4
| | | | | | Does not build, though. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fixes for buildingAlexey Neyman2017-07-082-2/+2
| | | | | | | | | - Need GDB8.0 milestone - Make uClibc "master" package - Rename bionic -> android-ndk to match the package name and support suffixes for archives Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix the references to old config variablesAlexey Neyman2017-07-085-58/+85
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Convert the rest of packages to new frameworkAlexey Neyman2017-07-0811-955/+135
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add uClibc-ng 1.0.25Alexey Neyman2017-06-121-0/+6
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Mingw-w64 release 5.0.2Alexey Neyman2017-06-051-1/+7
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Upgrade newlib to 2.5.0.20170519Alexey Neyman2017-06-041-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Mark bionic EXPERIMENTAL and dependent on GCC6+Alexey Neyman2017-05-141-0/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Tweaks for bionic/TLShyc2017-05-141-1/+3
|
* Preliminary bionic/Android supporthyc2017-05-141-0/+183
| | | | Mostly from Crystax NDK
* Add uClibc-ng 1.0.23 and 1.0.24 releasesAlexey Neyman2017-04-291-0/+12
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #676 from tamird/mingw-secure-apiAlexey Neyman2017-04-071-0/+4
|\ | | | | MinGW: add --enable-secure-api config option
| * MinGW: add --enable-secure-api config optionTamir Duberstein2017-04-061-0/+4
| | | | | | | | | | | | | | Without this flag, MinGW does not expose secure variants of functions such as strcpy_s. See https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-headers/crt/sec_api/string_s.h#l11.
* | mingw: Make list of tools depend on tools being enabledAlexey Neyman2017-04-061-0/+1
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Update newlib versionAlexey Neyman2017-04-011-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* MinGW-W64 fixesAlexey Neyman2017-03-301-8/+12
| | | | | | | | | | | | | | | | | | | | | | | - libpthread requires iteration over multilibs, unlike the core, it does not detect and build multilibs by itself. - Disable parallel builds for mingw-w64 components; until mingw-w64 core builds clean, I am not trusting it. - Make the list of tools to build configurable - Turn on multilib in x86_64 sample. - Make warnings about tuple less redundant. As in, "one WARN is enough, no need to shout it three times". - Messages about various steps/substeps are more aligned with the rest of the components. - Use 'make' instead of ${make} to invoke the companion make just built, if applicable. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add latest versions of mingw 4.x/3.x/2.x branchesAlexey Neyman2017-03-111-2/+33
| | | | | | 4.0.6 is the only one not marked obsolete. Signed-off-by: Alexey Neyman <stilor@att.net>