summaryrefslogtreecommitdiff
path: root/scripts/build/libc
AgeCommit message (Collapse)AuthorFilesLines
2019-04-05Merge pull request #1178 from stilor/masterAlexey Neyman6-12/+12
Last fixes for 1.24.0
2019-04-05Rename JOBSFLAGS -> CT_JOBSFLAGSAlexey Neyman6-12/+12
... so that it is saved/restored when restarting the build. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-23Fix uClibc build for noMMU targetMax Filippov1-14/+16
uclibc_backend_once tries to build dummy shared libraries regardless of whether shared libraries support for target is enabled or not, resulting in build failure in noMMU bFLT configuration. Only build dummy shared libraries when shared library support for target is enabled. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2019-02-24Fix musl build when CT_SHARED_LIBS=nDima Krasner1-0/+5
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2019-02-20Select flat/FDPIC in accordance with ct-ng settingAlexey Neyman1-0/+9
uClibc-ng 1.0.31 enabled FDPIC as an option for ARM/no-MMU configurations and defaults to that option if not set explicitly. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-20Stash the uClibc config after our modsAlexey Neyman1-0/+4
... before running `make olddefconfig`. This helps in debugging. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-18Move moxiebox build to post_ccAlexey Neyman2-5/+4
core-2 gcc does not search the final prefix now for newlib's headers. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-16Disable CXX while building glibcAlexey Neyman1-3/+4
Otherwise, glibc 2.29 tries to use it - but we haven't built libstdc++ yet. We really need to implement #808... Until now, pass empty CXX to make. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-07Merge pull request #1134 from stilor/upgradingAlexey Neyman1-7/+0
Upgrade script + test suite
2019-01-30Config v2: select relevant parts of each package versionAlexey Neyman1-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>
2019-01-23Coding style fix in uClibc.shDima Krasner1-1/+1
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2019-01-23Moved uClibc configuration installation to uClibc.shDima Krasner1-0/+4
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2018-12-15Bionic modifies CT_TARGET_CFLAGSAlexey Neyman1-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>
2018-12-07Remove a TBDAlexey Neyman1-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>
2018-12-07Disable -fstack-protector* from being used by glibcAlexey Neyman1-0/+8
... until it was fixed (to some extent) in 2.25. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-05Add configuration options for enabling SSPAlexey Neyman2-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>
2018-12-03Fix uClibc builds after moxie mergeAlexey Neyman2-13/+13
Broken because of the capitalization of the name. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01Add moxiebox as a choice for libcAlexey Neyman9-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>
2018-10-16Create glibc-ports symlink inside CT_SRC_DIRAlexey Neyman1-2/+2
... so that it works in both "bundled" and "bundled,local" cases. Fixes #1060. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28Fix up timestamps after patchingAlexey Neyman1-1/+0
... so that autotools-based packages do not re-run autoconf/autoheader/automake. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-26Merge pull request #984 from slash3g/masterAlexey Neyman1-4/+4
Properly handle newlib configuration flags
2018-09-25Restore *-android buildAlexey Neyman1-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>
2018-09-22Merge pull request #990 from antmak/fix_newlib_multilib_optAlexey Neyman1-1/+1
Fix a wrong name for the newlib's multilib option
2018-06-15Fix a wrong name for the newlib's multilib optionAnton Maklakov1-1/+1
2018-06-11Properly handle newlib configuration flagsDaniele Baracchi1-4/+4
2018-06-05Avoid adding arch/cpu/tune flags for target to GCC buildAlexey Neyman3-3/+3
... as it may need to override them for building runtime-selectable code. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-15Too many fixes need backporting for GCC8...Alexey Neyman1-7/+1
... so instead, disable -Werror for older versions of glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-12First batch of fixesAlexey Neyman1-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>
2018-05-04Preserve each variant of libwinpthread.dllAlexey Neyman1-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>
2018-02-10Make libiconv an option in the menu configAlexey Neyman1-0/+7
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03Use the new SuperH fixes in the two multilib samplesAlexey Neyman1-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>
2017-09-03Workaround for static uClibc-ng issue with -lpthreadAlexey Neyman1-36/+36
Also, preserve .config when running test-package.sh. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03Super-H multilib toolchain fixesAlexey Neyman1-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>
2017-09-01config: Add package versioning flexibilityNathan Chancellor1-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>
2017-08-26Make --enable-obsolete-rpc an option in ct-ngAlexey Neyman1-2/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26Fix glibc-ports with the new frameworkAlexey Neyman1-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>
2017-08-16Fix version check in mingw-w64Alexey Neyman1-3/+3
Fixes #782. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Separate the notions of package name/labelAlexey Neyman1-1/+0
Also, remove resolved TBDs. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Kconfigize choice/menu itemsAlexey Neyman1-1/+1
Also, add a poor man's upgrade script. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Remove support for pregenerated locales in uClibcAlexey Neyman1-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>
2017-07-08uClibc locale "package"Alexey Neyman1-28/+30
Does not build, though. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fixes for buildingAlexey Neyman2-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>
2017-07-08Building packages using the new frameworkAlexey Neyman1-2/+2
(fails at building GMP off the VCS because it needs to run bootstrap scripts) Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Downloading packages using new frameworkAlexey Neyman1-0/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fix the references to old config variablesAlexey Neyman7-236/+70
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Convert the rest of packages to new frameworkAlexey Neyman2-26/+26
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14Preliminary bionic/Android supporthyc1-0/+43
Mostly from Crystax NDK
2017-04-07Fix MINGW_SECURE_API testAlexey Neyman1-4/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-07Merge pull request #676 from tamird/mingw-secure-apiAlexey Neyman1-0/+5
MinGW: add --enable-secure-api config option
2017-04-07libc/mingw: quote variable in comparisonTamir Duberstein1-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