aboutsummaryrefslogtreecommitdiff
path: root/config/libc/musl.in
Commit message (Collapse)AuthorAgeFilesLines
* musl: Mark not EXPERIMENTALChris Packham2024-05-241-1/+0
| | | | | | | | | | | | | Musl was marked experimental in commit 08d91d41 ("musl: config is broken for !EXPERIMENTAL"). Most of the reasoning for that change no longer applies and as it's been about 8 years it's time to let musl loose on the world. Drop the `depends on EXPERIMENTAL` and update the sample configs for aarch64 and x86_64. For powerpc64 the ABI needs to be elfv2. Enforce this via the powerpc config. Add a sample configuration for powerpc-unknown-linux-musl. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Add a musl variable LIBC_MUSC_EXTRA_CFLAGSNorbert Lange2023-09-241-0/+7
| | | | Signed-off-by: Norbert Lange <nolange79@gmail.com>
* Unify core passesAlexey Neyman2022-02-111-1/+1
| | | | | | | | | With libc_headers step before pass-1, there is no need to distinguish pass-1 and pass-2; they are configured identically (note that with the current configuration, core pass-2 is only used for win32 - hence, uses build_libgcc=yes and mode=static). Signed-off-by: Alexey Neyman <stilor@att.net>
* gcc: Build static libgcc in core_pass1Chris Packham2022-01-121-1/+1
| | | | | | | | | | | | | | | | | | Per https://github.com/crosstool-ng/crosstool-ng/issues/808 build static libgcc in the first pass which lets us skip the second one. Building mingw-w64 requires header files in order to build C++ support so mingw builds core pass 2. This could probably be cleaned up by splitting libc_start_files into a separate libc_header step. But for now having core 2 for mingw-w64 and core 1 for the other libcs will have to do. Anything that previously selected CC_CORE_PASSES_NEEDED now selects CC_CORE_PASS_1_NEEDED. The same goes for CC_CORE_PASS_2_NEEDED with the exception of mingw-w64. Fixes #808 Fixes #217 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Make comp.libs use generated templates, tooAlexey Neyman2017-11-291-2/+0
| | | | | | | | 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>
* Switch gen-kconfig to new frameworkAlexey Neyman2017-07-081-4/+53
| | | | | | | | | | | | | | | 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>
* Convert the rest of packages to new frameworkAlexey Neyman2017-07-081-61/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add musl 1.1.16.Alexey Neyman2017-01-141-3/+9
| | | | | | Patch we had for 1.0.4/1.1.5 is now upstream. Signed-off-by: Alexey Neyman <stilor@att.net>
* musl: updated version to 1.1.15Yogesh Sharma2016-09-071-2/+2
| | | | Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
* musl: config is broken for !EXPERIMENTALAlexey Neyman2016-06-091-0/+1
| | | | | | | | | | | | | | | | | | | If EXPERIMENTAL is not set, the only choice for version is the set of released versions - currently, 1.1.14. But this only option is disabled because it is also marked EXPERIMENTAL; this leaves no available choices in the configuration. Marking MUSL as experimental: it seems to have header issues which prevent, for example, gdbserver from building. musl copied chunks of ptrace.h code from the kernel into its own headers, which now clash with Linux kernel headers. Manifests at least on SH4 target. Also, musl breaks in powerpc builds: GCC balks at it with "unsupported DEFAULT_LIBC" message. Also, 64-bit powerpc and mips are not supported. So, until someone figures out the dependencies for musl in config/, mark it experimental. Signed-off-by: Alexey Neyman <stilor@att.net>
* musl-libc: Update to 1.1.14Bryan Hundven2016-02-291-7/+2
| | | | | | We also remove the old 1.0 series. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config: Update kconfig for new CT_GetCustomBryan Hundven2015-12-081-6/+36
| | | | | | | This commit sort of unifies the kconfigs to handle custom files and directories. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* musl-libc: update musl-libc mainline to 1.1.12Bryan Hundven2015-10-201-2/+2
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* musl: Update mainline to 1.1.11Bryan Hundven2015-09-011-2/+2
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* musl: Update versionsBryan Hundven2015-06-021-6/+6
| | | | | | | | | This commit updates the version knobs so that oldconfig does the right thing when we bump versions. Also, we update stable to 1.0.5 and experimental to 1.1.9. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config/libc: update musl-libc mainline to 1.1.5Bryan Hundven2014-12-041-3/+3
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* libc/musl: Remove 1.0.3 and 1.1.3. Add 1.0.4.Bryan Hundven2014-08-311-9/+3
| | | | | | | | | | This change removes 1.0.3 and 1.1.3 and linker regession patches for those versions. We add 1.0.4, and a patch needed for gcc-4.9.x which defines `max_align_t'. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* libc/musl: add musl-libc supportBryan Hundven2014-08-081-0/+49
This patch adds initial support for musl-libc. Musl-libc versions currently supported: * 1.0.3 (Stable) * 1.1.3 (Previous Mainline) * 1.1.4 (Mainline) Futher improvements are needed. * gcc-4.9.x has issues (Might be fixed in musl-1.1.4). * Multilib support is needed. * Checks to make sure paths are correct. * Move to 2-step gcc build. 3-step build is not necessary. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@free.fr: removed the gcc musl patch, to be added later; removed dead code do_get_arch()] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>