summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-08-29cc/gcc: Add options for zstd usageChris Packham2-0/+24
GCC can support using zstd compression for LTO object files. By default GCC's configure will enable this if libzstd is installed on the machine building the toolchain. This may be undesirable if the toolchain is to be used on a different machine. Add an option to control zstd usage and set the default to the same as the current behaviour (i.e. auto). Fixes #1579 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-29Merge pull request #1570 from cpackham/glibc-2.34Chris Packham4-0/+112
packages/glibc: Add 2.34
2021-08-25packages/glibc: Add 2.34Chris Packham4-0/+112
Add glibc 2.34. Bring through patches for canadian build and ARC700. https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-25Merge branch 'uclibc-atomics' of ↵Chris Packham1-17/+0
https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-25Merge branch 'gdb-10' of https://github.com/cpackham/crosstool-ngChris Packham11-31/+310
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-25Merge branch 'no-mmu-microblaze' of https://github.com/msteveb/crosstool-ngChris Packham1-1/+1
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-25Add support for no-mmu microblazeSteve Bennett1-1/+1
no-mmu architectures need to be explicitly listed in CT_DoKernelTupleValues Signed-off-by: Steve Bennett <steveb@workware.net.au>
2021-08-24gdb: Add gdb-10.2Alexey Brodkin11-31/+310
In GDB 10.x gdbserver was promoted to the top-level folder, see https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=919adfe8409211c726c1d05b47ca59890ee648f1 Which means it is no longer a subfolder in "gdb" and so we have to build gdbserver now exactly in the same way as normal native GDB. One interesting detail is gdbserver doesn't need to deal with target description in .xml so it doesn't depend on libexpat on target, thus we need to move libexpat explicit selection from do_gdb_backend() to its callers when building native [full] gdb as well as cross-gdb for the host. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> [cp: support old/new layout, regenerate patches] Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-24ARC: No more fiddling with uClibc's CONFIG_ARC_HAS_ATOMICSAlexey Brodkin1-17/+0
Older ARC700 processors had atomic instructions (AKA llock/scond) as an option and so quite some "atomic" operations were not possible w/o OS support, which we implemented - see arc_usr_cmpxchg() in the Linux kernel. And in uClibc, which was the only Linux libc back in the day of ARC700 era, it is well supported. Well, uClibc could be configured to support it. Which is done with CONFIG_ARC_HAS_ATOMICS Kconfig option. But the problem is there's no check for ARC ISA version in uClibc when this option gets enabled. That leads to a funny situation when even for ARCv2 processors (ARC HS3x & HS4x) uClibc tries to utilize arc_usr_cmpxchg() syscall which is not supported for this newer ISA since ARCv2 processors have atomic instructions built-in all the time. So what was happening here we didn't specify additional "-matomic" CFLAG unless we were targeting exactly those ancient ARC770 processors (ARC700 + MMUv3 + atomics) and so even for ARCv2 we forced uClibc to not use built-in atomics. And even though there're ways to add a smarter solution here to handle that pretty rare by now case of ARC750 (ARC700 + MMUv2 - atomics), I suggest we just remove this part completely, leaving a possibility to add needed option in uClibc-ng's configuration (I mean "packages/uClibc-ng/config"). Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-08-24Merge branch 'comp-tools' of https://github.com/cpackham/crosstool-ngChris Packham1-0/+4
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-24Merge branch 'mips-unknown-linux-gnu' of ↵Chris Packham3-1/+19
https://github.com/cpackham/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-24Merge branch 'gnuprumcu-v0.6.0' of git://github.com/dinuxbg/crosstool-ngChris Packham4-5/+9
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-23Add mips-unknown-linux-gnu sampleChris Packham3-1/+19
We have unkown-elf and linux-uclibc already. Complete the set with a linux-gnu configuration. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-23CI: Download bison, m4 and makeChris Packham1-0/+4
Various configurations end up using these companion tools (particularly those with GNU libc). Ensure we download these tools at the start of the build. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-22pru: Default to pru-, not pru-elf- prefixDimitar Dimitrov1-0/+1
The gcc-pru package in BeagleBoard Debian image has been using the "pru-" prefix for a few years now. Let's not add unnecessary confusion for users, and stick to "pru-" cross toolchain prefix. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2021-08-22gnuprumcu: Bump to v0.6.0Dimitar Dimitrov3-5/+8
Changes since v0.5.0: * Add spec files for am64x SoCs. * Require Binutils at least version 2.37. * Require pru-gcc to be installed. * Remove linker scripts. Instead set memory sizes from specs. * Activate --gc-sections linker option by default. * The "--host=pru" configure option must be used instead of "--target=pru. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2021-08-18Merge pull request #1578 from ↵Chris Packham11-0/+622
foss-for-synopsys-dwc-arc-processors/abrodkin-binutils-2.37 binutils: add version 2.37
2021-08-16binutils: add version 2.37Alexey Brodkin11-0/+622
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-08-05Merge pull request #1571 from cpackham/avr-ciChris Packham1-0/+1
CI: Add avr target
2021-08-03CI: Add avr targetChris Packham1-0/+1
Add avr to list of samples to build. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-01Merge pull request #1568 from galak/fix-nano-specChris Packham1-1/+28
newlib-nano: Fix nano.spec based on CT_NEWLIB_NANO_INSTALL_IN_TARGET
2021-07-30newlib-nano: Fix nano.spec based on CT_NEWLIB_NANO_INSTALL_IN_TARGETKumar Gala1-1/+28
The spec file was missing replacing various libs like libc, libm, etc with their nano equiv when CT_NEWLIB_NANO_INSTALL_IN_TARGET=y. Update the nano.spec file that is generated to rename libc, libm, etc if CT_NEWLIB_NANO_INSTALL_IN_TARGET=y Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-07-29Merge pull request #1567 from graysky2/11.2Chris Packham8-8/+8
gcc: bump to 11.2
2021-07-28gcc: bump to 11.2graysky8-8/+8
Signed-off-by: John Audia <graysky@archlinux.us>
2021-07-18Merge pull request #1563 from cpackham/kernel-bumpChris Packham23-56/+64
linux: Add new version and bump LTS
2021-07-18Merge pull request #1561 from keith-packard/picolibc-1.7.1Chris Packham4-1/+6
Picolibc 1.7.1
2021-07-18Merge pull request #1560 from stephanosio/upstream_local_common_patch_dirChris Packham1-3/+5
Support common local patch directory
2021-07-18Merge pull request #1559 from QBos07/patch-2Chris Packham1-0/+6
Disable source-highlighting for static build
2021-07-18Disable source-highlighting for static buildQBos071-0/+6
Fixes #1487
2021-07-14linux: Add new version and bump LTSChris Packham23-56/+64
Add 5.13.1 Bump 4.14.225 -> 4.14.239 Bump 4.19.190 -> 4.19.197 Bump 4.4.268 -> 4.4.275 Bump 4.9.268 -> 4.9.275 Bump 5.4.127 -> 5.4.131 Bump 5.10.44 -> 5.10.49 Bump 5.12.12 -> 5.12.16 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-07-13Merge pull request #1562 from stilor/masterAlexey Neyman1-4/+7
Fix dist-create-release after kconfig update
2021-07-13Fix dist-create-release after kconfig updateAlexey Neyman1-4/+7
After commits 21095fab6 and acce58834, 'make dist-create-release' fails. 1. kconf_id.c is gone but it is still listed in EXTRA_DIST. 2. Only the files not listed in xxx_SOURCES need to be placed in EXTRA_LIST. confdata.c, expr.c and others were previously not compiled separately, they were #include'd from parser.y. Now they are listed in xxx_SOURCES and should be removed from EXTRA_DIST. Note that menu.c is still #include'd through parser.y, so it is kept. 3. parser.tab.c and lexer.lex.c should not be included in the distribution tarball; they were previously omitted by virtue of not being listed in xxx_SOURCES directly. Without it, `make distcheck` fails. Signed-off-by: Alexey Neyman <aneyman@lynx.com>
2021-07-13picolibc: Add support for version 1.7.1Keith Packard3-1/+5
Since 1.6.2, picolibc has had two releases - 1.7 and 1.7.1. Here are the release notes from those versions. 1. Add __cxa_atexit implementation to 'picoexit' path as required by C++ 2. Fix lack of 'hh' support in integer-only tinystdio printf path. 3. Fix tinystdio __file flag initialization for C++ apps 1. Merge libc and libm into a single library. Having them split doesn't offer any advantages while requiring that applications add '-lm' to link successfully. Having them merged allows use of libm calls from libc code. 2. Add hex float format to *printf, *scanf and strto{d,f,ld}. This is required for C99 support. 3. Unify strto{d,f,ld} and *scanf floating point parsing code. This ensures that the library is consistent in how floats are parsed. 4. Make strto{d,f,ld} set errno to ERANGE on overflow/underflow, including when the result is a subnormal number. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-07-13picolibc: Disable wchar_t use in libstdc++Keith Packard1-0/+1
Picolibc doesn't support wchar_t in stdio, so disable the use of these functions from libstdc++. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-07-13Support common local patch directoryStephanos Ioannidis1-3/+5
This commit updates the patching process such that the local patches can be applied in a version-independent manner, as with the patches provided by the crosstool-ng packages. This is done by reading the patch files from `${CT_LOCAL_PATCH_DIR}/(package_name)` rather than from `${CT_LOCAL_PATCH_DIR}/(package_name)/(version)`. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2021-07-11Merge pull request #1551 from rcatolino/add_extra_cxx_flagsChris Packham4-8/+23
Add EXTRA_CXXFLAGS_FOR_BUILD option
2021-07-11Merge pull request #1550 from cpackham/kernel-cdnChris Packham1-6/+5
CT_Mirrors: make use of kernel cdn
2021-07-06Add EXTRA_CXXFLAGS_FOR_BUILD optionRaphael Catolino4-8/+23
Signed-off-by: Raphael Catolino <raphael.catolino@gmail.com>
2021-07-06CT_Mirrors: make use of kernel cdnChris Packham1-6/+5
cdn.kernel.org automatically redirects to a geographically close mirror. Make use of this instead of www.kernel.org or mirrors.edge.kernel.org. While were at it make sure we use https. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-07-06Merge pull request #1547 from cpackham/gcc-maintChris Packham48-16/+16
gcc: Bump maintenance versions
2021-07-05gcc: Bump maintenance versionsChris Packham48-16/+16
8.4.0 -> 8.5.0 9.3.0 -> 9.4.0 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-06-28Merge pull request #1539 from nikkon-dev/nikkon-dev/old_glibc_fixChris Packham2-0/+13
Fix build of older Glibc using GCC >=10
2021-06-24Add fcommon flag help and remove extra empty linesNik Konyuchenko1-1/+3
Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
2021-06-24Merge branch 'master' of git://github.com/bensuperpc/crosstool-ngChris Packham9-24/+24
2021-06-24Merge branch 'lancethepants-uclibc-ng_1.0.38'Chris Packham2-0/+16
2021-06-24Fix build of older Glibc using GCC >=10Nik Konyuchenko2-0/+11
Issue #1535 GCC 10 changed the default to -fno-common, which leads to a linking error in GLibc older than 2.30. This change adds -fcommon cflag for the target GLibc versions <=2.29 and GCC >=10. This change also adds additional cflags for the target GLibc to disable new GCC11 checks that lead to compilation errors. Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
2021-06-23Update Linux to: 5.12.12, 5.10.44, 5.4.127Bensuperpc9-24/+24
Update Linux to: 5.12.12, 5.10.44, 5.4.127 Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-22Add uClibc-ng 1.0.38lancethepants2-0/+16
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2021-06-20Merge pull request #1534 from cpackham/ci-downloadChris Packham1-1/+47
CI: download tarballs
2021-06-20Merge pull request #1533 from cpackham/init_array_fixChris Packham2-11/+18
gcc: Make CC_GCC_TM_CLONE_REGISTRY tristate