aboutsummaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add newlib-nano as companion libKeith Packard2021-01-141-0/+224
|/ | | | | | | This allows building newlib-nano in addition to newlib and picolibc, allowing users to select between C libraries within the same toolchain. Signed-off-by: Keith Packard <keithp@keithp.com>
* picolibc: Build libstdc++ against picolibc if requestedKeith Packard2021-01-111-0/+10
| | | | | | | This uses the gcc support for building libstdc++ using alternate lib header files. Signed-off-by: Keith Packard <keithp@keithp.com>
* gcc: Add support for building libstdc++ with alternate libcKeith Packard2021-01-111-1/+1
| | | | | | | This adds another mode to do_gcc_core_backend that builds libstdc++ against an alternate libc implementation. Signed-off-by: Keith Packard <keithp@keithp.com>
* picolibc: Clean up configuration a bitKeith Packard2021-01-111-1/+2
| | | | | | | | | | | Use LIBC_PICOLIBC_CXA_ATEXIT to keep this name in the same 'namespace' as the other picolibc config names. Enable retargetable locking by default. This allows the few locks in picolibc to be implemented by the execution environment, rather than disabling the locking code. Signed-off-by: Keith Packard <keithp@keithp.com>
* picolibc: Convert to companion libraryKeith Packard2021-01-081-8/+5
| | | | | | | This allows configurations to include picolibc without excluding another C library. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add Oracle products to crosstool-ngJose E. Marchesi2020-11-231-0/+2
| | | | | | | | | | | | | | | | | | This commit adds support for the following Oracle products, in order to target Oracle Linux 7.9: Binutils 2.27-44.base.0.400 GCC 4.8.5-44.0.5 glibc 2.17-317.0.3 UEK5/u4 4.14.35-2025.400.8 Sample configuration files are provides for the following triplets: arm-ol7u9-linux-gnueabi arm-ol7u9-linux-gnueabihf Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com> Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
* Merge pull request #1342 from DspHack/feature/add_support_for_ti_c6xChris Packham2020-11-101-0/+15
|\ | | | | Experimental: Add support for the Texas Instruments C6X (TMS320C6000 …
| * c6x: Remove multilib requirementDan Tejada2020-11-021-23/+1
| | | | | | | | | | | | | | Restore tuple config check Add sample configuration Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
| * Experimental: Add support for the Texas Instruments C6X (TMS320C6000 series) ↵Dan Tejada2020-05-201-0/+37
| | | | | | | | | | | | | | | | | | | | DSPs -- c6x: Add support for c6x product families to pass on to uClibC-ng -- c6x: Fix multilib support -- c6x: Add patch fix internal instruction error (GCC 57295) Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
* | Clarify tree layout of local patches directoryBagas Sanjaya2020-10-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | Currently the help for LOCAL_PATCH_DIR did not specify the tree layout of custom patches directory. This commit adds such explanation. For example, the bundled patches for GCC are placed under packages/gcc/<gcc-version>, thus custom (local) GCC patches should be placed under $LOCAL_PATCH_DIR/gcc/<gcc-version>. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
* | config/libc: Extend glibc 2.32 workaround to include sparcChris Packham2020-09-141-0/+1
| | | | | | | | | | | | | | Sparc seems to be affected by the same issues as powerpc64. Disable glibc warnings for sparc. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | glibc: --enable-obsolete-rpc has been removed as of 2.32Chris Packham2020-09-071-1/+2
| | | | | | | | | | | | | | Make --enable-obsolete-rpc conditional on !CT_GLIBC_2_32_or_later as it's been removed from that version on. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Merge branch 'picolibc' of git://github.com/keith-packard/crosstool-ng into ↵Chris Packham2020-09-062-0/+130
|\ \ | | | | | | | | | keith-packard-picolibc
| * | Add picolibc support [v2]Keith Packard2020-09-012-0/+130
| |/ | | | | | | | | | | | | | | | | | | | | | | This adds support for using picolibc instead of newlib on embedded systems. Signed-off-by: Keith Packard <keithp@keithp.com> v2: Add check for meson and ninja Sync option default values with current picolibc defaults Remove xtensa sys header file install as those aren't in picolibc
* / glibc: Don't build with -Werror for powerpc64+glibc-2.32Chris Packham2020-09-031-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | When building powerpc64+glibc-2.32 we see the following error: [ALL ] In file included from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26, [ALL ] from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18: [ALL ] ../string/wordcopy.c: In function '_wordcopy_fwd_aligned': [ERROR] ../string/wordcopy.c:98:26: error: 'a1' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ALL ] 98 | ((op_t *) dstp)[0] = a1; [ALL ] | ~~~~~~~~~~~~~~~~~~~^~~~ [ALL ] In file included from ../sysdeps/powerpc/powerpc64/power4/../../powerpc32/power4/memcopy.h:38, [ALL ] from ../sysdeps/powerpc/powerpc64/power4/memcopy.h:1, [ALL ] from ../string/wordcopy.c:23, [ALL ] from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26, [ALL ] from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18: [ALL ] ../string/wordcopy.c: In function '_wordcopy_fwd_dest_aligned': [ERROR] ../sysdeps/generic/memcopy.h:72:61: error: 'a3' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ALL ] 72 | #define MERGE(w0, sh_1, w1, sh_2) (((w0) << (sh_1)) | ((w1) >> (sh_2))) [ALL ] | ^~ This seems to only trigger for powerpc64. Other architectures build cleanly. For now avoid specifying -Werror for powerpc64+glibc-2.32. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Disallow PPS SPE ABIAlexey Neyman2020-03-041-0/+4
| | | | | | with GCC 9+ and GLIBC 2.30+, they no longer support it. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add --with-cpu= on 32-bit SPARCAlexey Neyman2020-03-031-2/+6
| | | | | | ... if building for GLIBC 2.31+. Signed-off-by: Alexey Neyman <stilor@att.net>
* Set --with-cpu-{32,64} for multilib buildsAlexey Neyman2020-02-264-0/+8
| | | | | | | GLIBC 2.31 needs --with-cpu=ultrasparc for both 32/64-bits now, and --with-cpu only sets the CPU model for the "primary" bitness. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #1266 from nolange/move_builddir_kconfigAlexey Neyman2020-02-161-0/+4
|\ | | | | move BUILD_DIR variable into Kconfig
| * move BUILD_DIR variable into KconfigNorbert Lange2019-10-191-0/+4
| | | | | | | | | | | | | | this allows users to reference this variable, for ex. in TARGET_CFLAGS to remap paths. Signed-off-by: Norbert Lange <nolange79@gmail.com>
* | Merge pull request #1259 from nolange/add_binutils_deterministic_archivesAlexey Neyman2019-12-231-1/+10
|\ \ | | | | | | enable option for binutils deterministic-archives
| * | enable option for binutils deterministic-archivesNorbert Lange2019-10-101-1/+10
| |/ | | | | | | Signed-off-by: Norbert Lange <nolange79@gmail.com>
* / Add newlib retargetable locking configurationStephanos Ioannidis2019-12-201-0/+7
|/ | | | | | | This commit adds support for the newlib configuration option '--enable-newlib-retargetable-locking'. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
* GDB 8.3+ needs IPv6Alexey Neyman2019-10-021-1/+3
| | | | | | ... which wasn't enabled in uClibc-ng by default Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #1226 from ola1olsson/masterAlexey Neyman2019-10-011-1/+1
|\ | | | | Fix typo in ARM/thumb interworking menuconfig
| * Fix typo in ARM/thumb helpOla Olsson2019-08-281-1/+1
| | | | | | | | Signed-off-by: Ola Olsson <ola1olsson@gmail.com>
* | Merge pull request #1231 from cpackham/glibc-2.28-make-4.0Alexey Neyman2019-10-011-1/+1
|\ \ | | | | | | libc: glibc 2.28 needs make 4.0
| * | libc: glibc 2.28 needs make 4.0Chris Packham2019-09-041-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | Fixes: #1210 Per the release notes for the GNU C library 2.28[1] make 4.0 or newer is required. Previously the logic was applied to glibc 2.29 or newer. [1] - https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* / Add glibc 2.30Chris Packham2019-09-051-0/+2
|/ | | | | | | | | Add the GNU C Library version 2.30. Bring forward the typedef-caddr.patch. Skip the ARC patch for now. https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Require 2.29 if building glibc for RISC-V64Alexey Neyman2019-04-101-0/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #1178 from stilor/masterAlexey Neyman2019-04-054-2/+10
|\ | | | | Last fixes for 1.24.0
| * Enable zlib companion lib if building LTOAlexey Neyman2019-04-041-0/+1
| | | | | | | | | | | | | | | | | | While we may use build machine's library when building a simple cross, we won't have it for the host machine in a canadian build. Until there are separate selectables for the build/host components, just build our own local zlib. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Only select GDB version if GDB is enabledAlexey Neyman2019-04-041-1/+1
| | | | | | | | | | | | | | ... which fixes a bogus warning when configuration without GDB is loaded. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Require WCHAR in uClibc for all GDB versionsAlexey Neyman2019-04-041-1/+1
| | | | | | | | | | | | | | if building natively. 7.12.1 and 7.11.1 are also breaking in absence of <wctype.h> Signed-off-by: Alexey Neyman <stilor@att.net>
| * Mark binutils/gdb requirements for RISC-VAlexey Neyman2019-04-041-0/+2
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Add an ability to mark a configuration as invalidAlexey Neyman2019-04-041-0/+3
| | | | | | | | | | | | ... so that the build will fail early and predictably. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Only build libinproctrace for *-linux-gnu targetsAlexey Neyman2019-03-201-1/+3
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | uClibc: fix selection of debug levelKonstantin Vasin2019-04-051-0/+1
|/
* Allow older GDB to build against newer glibcAlexey Neyman2019-03-111-2/+5
| | | | | | | Also, fix the subdir used when only gdbserver is built (without native GDB). Signed-off-by: Alexey Neyman <stilor@att.net>
* Move GDB build into a common backend functionAlexey Neyman2019-03-093-76/+48
| | | | | | | ... needed to create a common runtime test for an incompatible change in glibc API. Signed-off-by: Alexey Neyman <stilor@att.net>
* CentOS6 cannot use newer GDB releasesAlexey Neyman2019-03-052-0/+11
| | | | | | | | | ... unless one retrofits it with a decent compiler instead of stock GCC 4.4. While here, sync up the ax_*.m4 with autoconf-archive. Signed-off-by: Alexey Neyman <stilor@att.net>
* Meet our new companion tool, bisonAlexey Neyman2019-03-043-0/+18
| | | | | | | Which is here courtesy of CentOS6, which only has bison 2.4 - while new glibc requires 2.7. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix build of glibc 2.29 on systems with obsolete host programsAlexey Neyman2019-03-023-5/+28
| | | | | | | | | | | | - Force building make as a companion tool if host make is older than 4.0 (CentOS 7 currently has 3.82) - Disable 2.29 as a choice if host python is older than 3.4 (CentOS 7 has 2.6 unless python from EPEL is installed) - Python2 emits its version information to STDERR. Ugh. While there, also use the detected host Python for GDB configuration. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make lzip an optional dependencyAlexey Neyman2019-02-281-0/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Don't enable "shared flat"Alexey Neyman2019-02-211-0/+2
| | | | | | | | ... unless experimental. This unbreaks m68k-uclinux-uclibc sample which after the recent change in uClibc.sh attempted to build a shared flat library and failed. We were not building shared flat libraries before. Signed-off-by: Alexey Neyman <stilor@att.net>
* Implement an option to store downloads in subdirsAlexey Neyman2019-02-132-1/+12
| | | | | | ... following the buildroot model. Signed-off-by: Alexey Neyman <stilor@att.net>
* Config v2: select relevant parts of each package versionAlexey Neyman2019-01-303-12/+2
| | | | | | | 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>
* Add upgrade logic to version-check.shAlexey Neyman2019-01-271-3/+12
| | | | | | | | | Slightly rework config version detector to catch the case where neither CONFIG_VERSION/CONFIG_VERSION_CURRENT is defined in the config file. Add olddefconfig and use it after the upgrade. Signed-off-by: Alexey Neyman <stilor@att.net>
* Basic framework for checking config file versionAlexey Neyman2019-01-261-3/+36
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add new Android API levelsAndrzej Perczak2018-12-211-0/+15
|