aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/Config.in
Commit message (Collapse)AuthorAgeFilesLines
* toolchain: remove gcc libssp and use libc variantIan Cooper2020-06-171-1/+1
| | | | | | | | | | | | | | | Removes the standalone implementation of stack smashing protection in gcc's libssp in favour of the native implementation available in glibc and uclibc. Musl libc already uses its native ssp, so this patch does not affect musl-based toolchains. Stack smashing protection configuration options are now uniform across all supported libc variants. This also makes kernel-level stack smashing protection available for x86_64 and i386 builds using non-musl libc. Signed-off-by: Ian Cooper <iancooper@hotmail.com>
* toolchain: Simplify libc selectionRosen Penev2019-10-211-2/+1
| | | | | | uClibc-ng is only needed for ARC. Simplify the conditions. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* toolchain: Remove powerpc64 libc restrictionRosen Penev2019-08-051-4/+2
| | | | | | | | | | Starting with version 1.1.15, musl supports powerpc64. There are no known users of powerpc64 yet. This is effectively a revert of 0de93311e1575ab6f8e9e90b5023b6fb2cedcf1f Signed-off-by: Rosen Penev <rosenp@gmail.com>
* toolchain: replace LEDE in help textKarl Pálsson2019-06-101-2/+2
| | | | | | | Use generic wording. Signed-off-by: Karl Pálsson <karlp@etactica.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [fixed a -> á]
* musl: improve crypt() size hackJo-Philipp Wich2019-01-221-0/+1
| | | | | | | | | | | | | | Instead of silently downgrading any non-MD5 crypt() request to DES, cleanly fail with return NULL and errno = ENOSYS. This allows callers to notice the missing support instead of the unwanted silent fallback to DES. Also add a menuconfig toolchain option to optionally disable the crypt size hack completely. This can be probably made dependant on SMALL_FLASH or a similar feature indicator in a future commit. Ref: https://github.com/openwrt/openwrt/pull/1331 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* toolchain: Replace YASM with NASMTed Hess2018-07-051-3/+3
| | | | | | | | | | Packages libx264 and ffmpeg are built with ASM options on x86 platforms. The current libx264 version no longer builds with YASM and requires NASM. ffmpeg 3.x can be built with either YASM or NASM however, furture 4.x versions will require NASM. Signed-off-by: Ted Hess <thess@kitschensync.net> Acked-by: Rosen Penev <rosenp@gmail.com>
* toolchain: gdb: activate on ARM64Hauke Mehrtens2018-02-101-1/+0
| | | | | | | gdb supports ARM64 since quite some time now, activate it there like on other CPU architectures. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* build: cleanup SSP_SUPPORT configure optionJulien Dusser2018-01-271-0/+4
| | | | | | | | | | | | | | | | | | Configure variable SSP_SUPPORT is ambiguous for packages (tor, openssh, avahi, freeswitch). It means 'toolchain supporting SSP', but for toolchain and depends it means 'build gcc with libssp'. Musl no longer uses libssp (1877bc9d8f), it has internal support, so SSP_SUPPORT was disabled leading some package to not use SSP. No information why Glibc and uClibc use libssp, but they may also provide their own SSP support. uClibc used it own with commit 933b588e25 but it was reverted in f3cacb9e84 without details. Create an new configure GCC_LIBSSP and automatically enable SSP_SUPPORT if either USE_MUSL or GCC_LIBSSP. Signed-off-by: Julien Dusser <julien.dusser@free.fr>
* toolchain: use glibc for powerpc64 buildsFlorian Larysch2017-10-241-3/+5
| | | | | | | Neither uClibc nor musl currently have working support for powerpc64 in big endian mode. Thus, default to using glibc for this architecture. Signed-off-by: Florian Larysch <fl@n621.de>
* toolchain: remove powerpc64 featureFlorian Larysch2017-10-241-3/+0
| | | | | | | | The powerpc64 feature flag was introduced with the PS3 support, which has been removed for quite a while and is now unused. Remove it and the special biarch handling it triggered during the toolchain build. Signed-off-by: Florian Larysch <fl@n621.de>
* toolchain/insight: Remove from treeDaniel Engberg2017-05-291-8/+0
| | | | | | | | Insight hasn't been touched since 2009 and I can't find any references at least 6 years back of being used. Ubuntu and Debian removed insight years ago from their repos so I think we can safely remove this too. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* build: remove libc version config codeFelix Fietkau2017-02-111-11/+0
| | | | | | We only support one version per libc type Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: Rework external toolchain libc selectionFlorian Fainelli2016-09-281-3/+24
| | | | | | | | | | | | | | | | Make it a choice menu which offers the 3 C libraries we know about: glibc, uClibc and musl. While at it, make it possible for the external toolchain libc to select USE_GLIBC, USE_UCLIBC or USE_MUSL which is used by several packages to conditionally include specific CFLAGS (e.g: iproute2). Because USE_GLIBC et al. can now be selected by external toolchains, we need to restrict the per-libc menus to check on !EXTERNAL_TOOLCHAIN. While at it, make musl the default C library for external toolchain to match the internal toolchain. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: add 2.24Dirk Neukirchen2016-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since eglibc is deprecated just use glibc as name - fix build errors w. stack-protector (observed for x86_64): libresolv_pic.a(gethnamaddr.os): In function `addrsort': gethnamaddr.c:(.text+0x425): undefined reference to `__stack_chk_guard' by additionally setting libc_cv_ssp_strong=no like previously libc_cv_ssp=no was set - fix compile errors on 2.24 x86 introduced by upstream changesets "Optimize i386 syscall inlining" errors are like: - https://sourceware.org/ml/libc-alpha/2015-10/msg00745.html and trying to fix with the whats suggested at: https://patchwork.openembedded.org/patch/118909/ leads to other error: gcc6: elf/librtld.os: In function `__mmap': (.text+0x131a9): undefined reference to `__libc_do_syscall' or: gcc5: elf/dl-load.os {standard input}: Assembler messages: {standard input}:5129: Error: symbol `__x86.get_pc_thunk.cx' is already defined instead of testing other flags/effects (-fno-omit-frame-pointer) just use -O2 (like buildroot does) instead of -Os boot+pings tested on: qemu malta (le+be) (gcc5+bin2.25.1) qemu aarch64 (gcc5+bin2.25.1) qemu x86_64 (gcc6+bin2.26) qemu x86 generic (gcc6+bin2.26) Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* toolchain: include yasm in x86 toolchainDaniel Golle2016-08-191-0/+8
| | | | | | | Some libraries require yasm to build with in-line assembly for x86 targets. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* branding: add LEDE brandingJohn Crispin2016-03-241-2/+2
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* toolchain: use musl instead of glibc by default for mips64Felix Fietkau2016-02-261-4/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48804
* toolchain: fix default toolchain selection for mips64 added in r47355Felix Fietkau2016-01-291-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48554
* toolchain/musl: remove old CONFIG_MUSL_ENABLE_DEBUG optionFelix Fietkau2016-01-191-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48387
* gcc: remove version 4.6, it is no longer neededFelix Fietkau2015-11-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47443
* toolchain: add support of ARC architectureFelix Fietkau2015-11-101-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is "arc-2015.06") is based on upstream binutils 2.23. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06 Latest release of ARC GDB (as of today this is "arc-2015.06-gdb") is based on upstream gdb 7.9.1. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb Note that for binutils and gdb that come from unified git repository (which is the case for upstream binutils/gdb today) we need to disable building of gdb in binutils and binutils in gdb hence in binutils: ------>8------ --disable-sim --disable-gdb ------>8------ and in gdb: ------>8------ --disable-binutils --disable-ld --disable-gas ------>8------ Also in gdb we disable sim because if the following breakage while building with it: ------------>8------------ /usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \ -mono -fast -pbb -switch sem5-switch.c \ -cpu a5f -infile ./mloop5.in \ -outfile-suffix 5 unknown option: bash Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 ------------>8------------ Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> SVN-Revision: 47438
* uClibc: mark as broken for all architectures that use musl by defaultFelix Fietkau2015-11-071-0/+1
| | | | | | | | We will only support uClibc for targets that actually need it. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47401
* toolchain: use glibc instead of uclibc for mips64 by default - uclibc is ↵Felix Fietkau2015-11-021-1/+1
| | | | | | | | still buggy there in a few places Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47355
* toolchain: switch to musl by default, except for mips64Felix Fietkau2015-06-151-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45995
* toolchain/musl: update to the latest version, adds aarch64 supportFelix Fietkau2015-03-281-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45091
* toolchain: remove obsolete !avr32 dependencyFelix Fietkau2015-03-241-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44962
* toolchain: r44701 accidentially removed the uclibc default when ↵John Crispin2015-03-151-0/+1
| | | | | | | | TOOLCHAINOPTS is set Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44766
* glibc: make it more obvious that eglibc is a version of glibcJohn Crispin2015-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44704
* toolchain: The glorious return of glibc, ver 2.21John Crispin2015-03-121-12/+11
| | | | | | | | | | | It's the eglibc packaging with a bit of spit-polishing. And testing. :-) [blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant] Signed-off-by: Jeff Waugh <jdub@bethesignal.org> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44701
* aarch64: add initial supportFlorian Fainelli2014-11-241-5/+13
| | | | | | | | Add initial support for the AArch64 architecture Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43353
* toolchain: mark musl as non-brokenFelix Fietkau2014-10-191-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42977
* Kconfig: Aesthetic/formatting fixes to toolchain/Config.in.Hauke Mehrtens2014-09-131-14/+16
| | | | | | | | | | | | Non-functional edits to toolchain/Config.in: * fix spelling mistake ("us" -> "is") * Overly long help lines shortened to avoid line wrap * Standardize help info to use tab(s), then two spaces Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> SVN-Revision: 42518
* toolchain: switch back to uClibc for octeon, it actually works nowFelix Fietkau2014-07-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41576
* toolchain: only default eglibc for octeon and not all of mips64John Crispin2014-07-101-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41559
* toolchain: use different defaults for octeonJohn Crispin2014-06-181-1/+3
| | | | | | | | force eglibc and gcc4.6+linaro for octeon Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de> SVN-Revision: 41251
* musl: move the dependency on BROKEN to the right config symbolFelix Fietkau2014-02-261-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39754
* enable using soft-float regardless of having a fpuImre Kaloz2013-11-291-2/+2
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38939
* move menuconfig options into separate filesImre Kaloz2013-11-221-0/+39
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38895
* toolchain: do not build GDB when using an external toolchainFlorian Fainelli2013-05-301-1/+1
| | | | | | | | The external toolchain should provide it if needed. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36802
* toolchain: get rid of libc implementation symbol overloadingFelix Fietkau2013-04-181-5/+14
| | | | SVN-Revision: 36360
* build: consistently use 'depends on' instead of 'depends'Felix Fietkau2013-04-171-19/+19
| | | | | | | | make the syntax more compatible with kernel menuconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36351
* toolchain: musl is not available on MIPS64Florian Fainelli2013-04-051-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36206
* toolchain: allow choosing the MIPS64 user-land ABIFlorian Fainelli2013-04-051-0/+27
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36205
* buildroot: allow specifying libc personality for external toolchainsJo-Philipp Wich2013-02-201-0/+11
| | | | SVN-Revision: 35703
* add preliminary support for muslFlorian Fainelli2012-11-231-2/+11
| | | | | | | | Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34314
* toolchain: enable gdb by defaultFelix Fietkau2012-06-281-1/+1
| | | | SVN-Revision: 32518
* purge support for glibc - use eglibc instead!Mirko Vogt2012-04-281-10/+2
| | | | | | for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html SVN-Revision: 31503
* exclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally ↵Jo-Philipp Wich2012-04-101-0/+1
| | | | | | without failing avr32 builds SVN-Revision: 31249
* introduce a USE_EXTERNAL_LIBC symbol which gets selected by ↵Jo-Philipp Wich2012-01-081-1/+5
| | | | | | EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN Currently we always assume uClibc if an external toolchain is used, this breaks for non-uClibc toolchains or even vanilla uClibc ones since they do not share the external librpc semantics as OpenWrt. Solve the problem by defining an abstract "EXTERNAL_LIBC" which packages might or might not depend on. SVN-Revision: 29689
* fixup armeb, tooImre Kaloz2011-03-111-5/+4
| | | | SVN-Revision: 26034