aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/libc
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1134 from stilor/upgradingAlexey Neyman2019-02-061-7/+0
|\ | | | | Upgrade script + test suite
| * Config v2: select relevant parts of each package versionAlexey Neyman2019-01-301-7/+0
| | | | | | | | | | | | | | Also, remove a couple of config options that dealt with package versions that have been since retired. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Coding style fix in uClibc.shDima Krasner2019-01-231-1/+1
| | | | | | | | Signed-off-by: Dima Krasner <dima@dimakrasner.com>
* | Moved uClibc configuration installation to uClibc.shDima Krasner2019-01-231-0/+4
|/ | | | Signed-off-by: Dima Krasner <dima@dimakrasner.com>
* Bionic modifies CT_TARGET_CFLAGSAlexey Neyman2018-12-151-1/+5
| | | | | | | ... which, after a recent change, is not reflected into CT_ALL_TARGET_CFLAGS for non-multilib configurations. Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove a TBDAlexey Neyman2018-12-071-8/+0
| | | | | | | It only applied to core-pass-2 compiler; final compiler can locate the linker script just fine. Signed-off-by: Alexey Neyman <stilor@att.net>
* Disable -fstack-protector* from being used by glibcAlexey Neyman2018-12-071-0/+8
| | | | | | ... until it was fixed (to some extent) in 2.25. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add configuration options for enabling SSPAlexey Neyman2018-12-042-3/+10
| | | | | | | | | | | ... 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>
* Fix uClibc builds after moxie mergeAlexey Neyman2018-12-032-13/+13
| | | | | | Broken because of the capitalization of the name. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add moxiebox as a choice for libcAlexey Neyman2018-12-019-137/+163
| | | | | | | | | | | | | | | | | 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>
* Create glibc-ports symlink inside CT_SRC_DIRAlexey Neyman2018-10-161-2/+2
| | | | | | | | ... so that it works in both "bundled" and "bundled,local" cases. Fixes #1060. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix up timestamps after patchingAlexey Neyman2018-09-281-1/+0
| | | | | | ... so that autotools-based packages do not re-run autoconf/autoheader/automake. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #984 from slash3g/masterAlexey Neyman2018-09-251-4/+4
|\ | | | | Properly handle newlib configuration flags
| * Properly handle newlib configuration flagsDaniele Baracchi2018-06-111-4/+4
| |
* | Restore *-android buildAlexey Neyman2018-09-241-1/+7
| | | | | | | | | | | | | | | | | | Modify CT_TARGET_CFLAGS (which are passed to GCC's FOR_TARGET flags) rather than CT_ALL_TARGET_CFLAGS. Fixes #1006. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #990 from antmak/fix_newlib_multilib_optAlexey Neyman2018-09-211-1/+1
|\ \ | |/ |/| Fix a wrong name for the newlib's multilib option
| * Fix a wrong name for the newlib's multilib optionAnton Maklakov2018-06-151-1/+1
| |
* | Avoid adding arch/cpu/tune flags for target to GCC buildAlexey Neyman2018-06-053-3/+3
|/ | | | | | ... as it may need to override them for building runtime-selectable code. Signed-off-by: Alexey Neyman <stilor@att.net>
* Too many fixes need backporting for GCC8...Alexey Neyman2018-05-141-7/+1
| | | | | | ... 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/+7
| | | | | | | | - Incompatible function type for ifunc alias - Multiple statements macro expansion in strftime - if_nametoindex size checking Signed-off-by: Alexey Neyman <stilor@att.net>
* Preserve each variant of libwinpthread.dllAlexey Neyman2018-05-031-0/+18
| | | | | | | ... in the corresponding /lib directory. Mingw-w64 installs it to /bin, so multiple variants in a multilib configuration override each other. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make libiconv an option in the menu configAlexey Neyman2018-02-101-0/+7
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Use the new SuperH fixes in the two multilib samplesAlexey Neyman2017-09-031-0/+1
| | | | | | | | | | | - Glibc configure args and tuple need adjustment on SuperH - Only allow "both endian" and "with CPU" for unspecified arch variant. May reconsider endianness (was breaking things before adjusting glibc tuple) - Retire non-multilib sample, it should be a subset of the multilib one now. Signed-off-by: Alexey Neyman <stilor@att.net>
* Workaround for static uClibc-ng issue with -lpthreadAlexey Neyman2017-09-031-36/+36
| | | | | | Also, preserve .config when running test-package.sh. Signed-off-by: Alexey Neyman <stilor@att.net>
* Super-H multilib toolchain fixesAlexey Neyman2017-09-031-2/+2
| | | | | | | | | | | | | | | 1. On SuperH, configuring GCC with explicit variant of the CPU (like "sh4") limits the default set of multilibs to just that CPU and requires --with-multilib-list to change. Allow for "unspecified" variant, so that we can defer to GCC to determine the list. 2. Support toolchains with both endiannesses at the same time. 3. Add a SuperH/newlib sample 4. Add more flags processing for uClibc Signed-off-by: Alexey Neyman <stilor@att.net>
* config: Add package versioning flexibilityNathan Chancellor2017-09-011-2/+2
| | | | | | | | | | | | | | Some users (like myself) may want to omit the crosstool-NG version from the binaries' versioning output, as it can be incredibly long and not too helpful. Add a config option to disable it. The possible combinations are as follows: - crosstool-NG version (default) - crosstool-NG version - custom toolchain ID - Custom toolchain ID - No crosstool-NG version OR custom toolchain ID Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
* Make --enable-obsolete-rpc an option in ct-ngAlexey Neyman2017-08-261-2/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix glibc-ports with the new frameworkAlexey Neyman2017-08-261-4/+8
| | | | | | | While here, also consider patched by anything other than "bundled patches" as per-target sources. Add scary warnings in case of a failure. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix version check in mingw-w64Alexey Neyman2017-08-161-3/+3
| | | | | | Fixes #782. Signed-off-by: Alexey Neyman <stilor@att.net>
* Separate the notions of package name/labelAlexey Neyman2017-07-081-1/+0
| | | | | | Also, remove resolved TBDs. Signed-off-by: Alexey Neyman <stilor@att.net>
* Kconfigize choice/menu itemsAlexey Neyman2017-07-081-1/+1
| | | | | | Also, add a poor man's upgrade script. Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove support for pregenerated locales in uClibcAlexey Neyman2017-07-081-26/+4
| | | | | | | | | 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-28/+30
| | | | | | Does not build, though. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fixes for buildingAlexey Neyman2017-07-082-7/+6
| | | | | | | | | - 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>
* Building packages using the new frameworkAlexey Neyman2017-07-081-2/+2
| | | | | | (fails at building GMP off the VCS because it needs to run bootstrap scripts) Signed-off-by: Alexey Neyman <stilor@att.net>
* Downloading packages using new frameworkAlexey Neyman2017-07-081-0/+0
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix the references to old config variablesAlexey Neyman2017-07-087-236/+70
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Convert the rest of packages to new frameworkAlexey Neyman2017-07-082-26/+26
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Preliminary bionic/Android supporthyc2017-05-141-0/+43
| | | | Mostly from Crystax NDK
* Fix MINGW_SECURE_API testAlexey Neyman2017-04-071-4/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #676 from tamird/mingw-secure-apiAlexey Neyman2017-04-071-0/+5
|\ | | | | MinGW: add --enable-secure-api config option
| * MinGW: add --enable-secure-api config optionTamir Duberstein2017-04-061-0/+5
| | | | | | | | | | | | | | 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.
* | libc/mingw: quote variable in comparisonTamir Duberstein2017-04-061-1/+1
|/ | | | | | Building with CT_MINGW_TOOLS unset before this change produces: /usr/local/ct-ng/lib/crosstool-ng-1.23.0-rc2/scripts/build/libc/mingw.sh: line 212: [: =: unary operator expected
* Pass HOSTCC to uclibc's makeAlexey Neyman2017-04-021-0/+1
| | | | | | Else it looks for 'gcc'. Signed-off-by: Alexey Neyman <stilor@att.net>
* MinGW-W64 fixesAlexey Neyman2017-03-302-52/+99
| | | | | | | | | | | | | | | | | | | | | | | - 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>
* Fix up ld.so symlinks for muslAlexey Neyman2017-03-122-48/+4
| | | | | | | | Convert absolute targets to relative so that they are valid on the host, too. The procedure is very similar to uclibc, so it is moved into a common function. Signed-off-by: Alexey Neyman <stilor@att.net>
* Move tools alias creation to a common functionAlexey Neyman2017-03-122-0/+4
| | | | | | | | ... and in addition to final toolchain aliasing, use it when configuring multilibs for glibc/musl. Note that uClibc does not need it, it is explicitly selecting the tools using CROSS_PREFIX. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #635 from stilor/macos-skip-localesAlexey Neyman2017-03-071-1/+1
|\ | | | | Skip locales on macos
| * Skip building locales on macos, tooAlexey Neyman2017-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | --enable-hacker-mode is not sufficient, in 2.25 configure then fails while checking for sysdeps fragments that apply to a given configuration, and with that worked around, fails on binutils & compiler version check. In brief: if someone wants locales on cygwin/macos, you'd have to implement cross-localedef (similar to cross-rpcgen) in glibc and submit it upstream. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #627 from dankm/freebsdAlexey Neyman2017-03-071-1/+13
|\ \ | |/ |/| FreeBSD build support