summaryrefslogtreecommitdiff
path: root/config/libc
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21Add new Android API levelsAndrzej Perczak1-0/+15
2018-12-10Allow short "moxiebox" aliasAlexey Neyman1-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>
2018-12-10Add config flags for omitting 'arch' and 'vendor'Alexey Neyman1-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>
2018-12-07Moxiebox requires target to be LEAlexey Neyman1-0/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07Disable -fstack-protector* from being used by glibcAlexey Neyman1-1/+7
... until it was fixed (to some extent) in 2.25. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-05Require ld to be default when building mingw-w64Alexey Neyman1-0/+1
Fixes #674. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-05Add configuration options for enabling SSPAlexey Neyman2-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>
2018-12-01Add moxiebox as a choice for libcAlexey Neyman2-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>
2018-05-15Too many fixes need backporting for GCC8...Alexey Neyman1-6/+12
... 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/+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>
2018-02-10Make libiconv an option in the menu configAlexey Neyman1-0/+11
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10uClibc-ng retired RPC support as of 1.0.23Alexey Neyman1-0/+5
... make the corresponding option conditional. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-30More fixes after the upgrades:Alexey Neyman1-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>
2017-11-30Make comp.libs use generated templates, tooAlexey Neyman8-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>
2017-08-28Apply ucontext patch to mainstream GCC releasesAlexey Neyman2-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>
2017-08-26Make --enable-obsolete-rpc an option in ct-ngAlexey Neyman1-0/+16
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-16Record glibc 2.24+ dependencyAlexey Neyman1-0/+5
... on kernel headers of 3.2 and newer. Fixes #794. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-16Fix version check in mingw-w64Alexey Neyman1-0/+4
Fixes #782. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Also upgrade non-generated config filesAlexey Neyman4-11/+11
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Switch gen-kconfig to new frameworkAlexey Neyman10-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>
2017-07-08Remove support for pregenerated locales in uClibcAlexey Neyman1-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>
2017-07-08uClibc locale "package"Alexey Neyman1-0/+4
Does not build, though. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fixes for buildingAlexey Neyman2-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>
2017-07-08Fix the references to old config variablesAlexey Neyman5-58/+85
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Convert the rest of packages to new frameworkAlexey Neyman11-955/+135
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-13Add uClibc-ng 1.0.25Alexey Neyman1-0/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-05Mingw-w64 release 5.0.2Alexey Neyman1-1/+7
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-05Upgrade newlib to 2.5.0.20170519Alexey Neyman1-2/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14Mark bionic EXPERIMENTAL and dependent on GCC6+Alexey Neyman1-0/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14Tweaks for bionic/TLShyc1-1/+3
2017-05-14Preliminary bionic/Android supporthyc1-0/+183
Mostly from Crystax NDK
2017-04-29Add uClibc-ng 1.0.23 and 1.0.24 releasesAlexey Neyman1-0/+12
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-07Merge pull request #676 from tamird/mingw-secure-apiAlexey Neyman1-0/+4
MinGW: add --enable-secure-api config option
2017-04-07mingw: Make list of tools depend on tools being enabledAlexey Neyman1-0/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-07MinGW: add --enable-secure-api config optionTamir Duberstein1-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.
2017-04-01Update newlib versionAlexey Neyman1-2/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-31MinGW-W64 fixesAlexey Neyman1-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>
2017-03-11Add latest versions of mingw 4.x/3.x/2.x branchesAlexey Neyman1-2/+33
4.0.6 is the only one not marked obsolete. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-04Bump newlib 2.5.0 to 20170228Alexey Neyman1-2/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-01Add a warning in menuconfig about localesAlexey Neyman1-1/+4
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Newlib's LTO only makes sense if GCC supports itAlexey Neyman1-0/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-16Refine previous fix to uClibc verbosity settingAlexey Neyman1-2/+8
The V={1,2} have opposite meaning in uClibc and uClibc-ng, reflect that. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11Merge pull request #587 from stilor/select-uclibceavi-suffixAlexey Neyman1-0/+13
Allow one to select uclibceabi/uclibcgnueabi suffix
2017-02-11Merge pull request #586 from stilor/restore-old-kernel-libcAlexey Neyman2-31/+84
Restore old kernel/glibc versions
2017-02-10Allow one to select uclibceabi/uclibcgnueabi suffixAlexey Neyman1-0/+13
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Forgot to saveconfig the changes for ARM/elf2flt sampleAlexey Neyman1-1/+1
Hence, it is better to enforce via config rules: elf2flt does not play nice with ld wrapper, when both ld.bfd and ld.gold are present. Limit the choices to just 'ld.bfd' for flat-format architectures. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Add notes about obsoletion policy for kernel/glibc.Alexey Neyman1-0/+10
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Ports patches for glibc 2.12.1 .. 2.16Alexey Neyman2-5/+9
Add patches for versions that didn't have them - patches updated/retired as necessary. Also, disallow 2.12.2 for architectures in ports - this version did not have ports addon. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Fix typoAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Revert "glibc: Clean out old glibc versions"Alexey Neyman2-27/+66
This partially reverts commit 88e8852ccd94a60979971454f8b49cb1d06cd907. Bring back releases 2.12 and newer of glibc, along with the associated Kconfig machinery. Simplify it slightly.