summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-01-10configure.ac: Check that patch supports --no-backup-if-mismatchChris Packham1-0/+6
BSD patch does not support --no-backup-if-mismatch. When we detect patch check that it supports the option we use. Fixes: #1577 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-12-13Update config.{sub,guess}Chris Packham2-625/+705
Run `ct-ng updatetools` to pick up the latest config.{sub,guess} from upstream. This picks up support for some new architectures (e.g. loongarch) and some new variants of existing ones. There is some refactoring that makes the diff a bit larger but it's fairly easy to follow. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-12-13gcc: Fix 11.2.0 build failure on MacOS with Apple M1Kairui Song1-0/+99
With latest aarch64-unknown-linux-gnu, ct-ng build failed with: [INFO ] Installing pass-1 core C gcc compiler [EXTRA] Configuring core C gcc compiler [EXTRA] Building gcc [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] make[2]: *** [Makefile:2148: xgcc] Error 1 [ERROR] make[2]: *** Waiting for unfinished jobs.... [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] make[2]: *** [Makefile:2157: cpp] Error 1 [ERROR] make[1]: *** [Makefile:4444: all-gcc] Error 2 And in build log: Undefined symbols for architecture arm64: "host_detect_local_cpu(int, char const**)", referenced from: static_spec_functions in gcc.o Just backport a upstream gcc fix. Signed-off-by: Kairui Song <ryncsn@gmail.com>
2021-11-30glibc: Add comment about python 3.4 dependencyChris Packham1-0/+3
Add a comment that is visible when the python3.4 prerequisite is not met so that users can tell why they can't select a newer glibc version. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-11-30linux: Add dependency on rsync for Linux >= 5.3Chris Packham4-1/+15
As of Linux v5.3 rsync is used as part of the build process. Add Linux 5.3 as a milestone, configure detection of rsync and a dependency on rsync for Linux 5.3 and newer. Add a comment in so that users can tell why they can't select a newer version. Fixes #1628 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-11-23gettext: Add gettext 0.21Chris Packham2-0/+8
https://git.savannah.gnu.org/cgit/gettext.git/log/?qt=range&q=v0.20.2..v0.21 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-11-22CI: Add mingw32 samplesChris Packham1-0/+2
Add i686-w64-mingw32 and x86_64-w64-mingw32 to the targets built for CI. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-11-22Update picolibc to 1.7.4Bensuperpc3-4/+4
Update picolibc to 1.7.4 Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-11-16strace: add 5.14Chris Packham3-0/+152
https://lists.strace.io/pipermail/strace-devel/2021-September/010674.html Bring in upstream patch to deal with removal of linux/ipx.h in the linux 5.15. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-11-16linux: add 5.15, update stable/ltsChris Packham24-60/+64
Add 5.15.2 Update 4.4.283 -> 4.4.292 Update 4.9.282 -> 4.9.290 Update 4.14.246 -> 4.14.255 Update 4.19.206 -> 4.19.217 Update 5.4.144 -> 5.4.159 Update 5.10.62 -> 5.10.79 Update 5.14.1 -> 5.14.18 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-11-15cloog: remove gnu mirrorChris Packham1-1/+1
The GNU mirror doesn't contain cloog-18.4. Remove it. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-11-14CI: install the latest GNU make on macOSChris Packham1-2/+2
The CI builds currently seem unhappy on macOS when we build make ourselves. Install GNU make via brew so that we don't have to build it ourselves. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-10-20Switch picolibc to 1.7.3Keith Packard3-4/+4
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-10-19Add uclibc-ng 1.0.39lancethepants2-0/+16
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2021-10-11Merge branch 'ld_makefile-remove' of ↵Chris Packham1-27/+0
https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-10-11Merge branch 'ncurses-v6-abi' of ↵Chris Packham1-1/+1
https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-10-11Merge branch 'more-gcc11-fixes-for-arc' of ↵Chris Packham3-0/+285
https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-10-10binutils-2.37: Remove obsolete ld_makefile patchAlexey Brodkin1-27/+0
The patch in question was first introduced in [1] as a copy-paste from OpenEmbedded [2], where it seems to exist on the first ever SVN commit. Later it was removed from OE in [3] on switching to Binutils 2.25. It's not clear why it was introduced in the first place and why it got removed later. But given in OE/Yocto it was missing since 2015 and never was reverted, I guess it is not strictly necessary at least with recent Binutils. So it's an extra patch which adds questionable value. Moreover it gets in the way if one wants to merge a couple of separate toolchains like little- & big-enadian so that "bin" & "lib" folder contain all the binaries and libs simultaneously. W/ that patch in place ldscripts won't co-exist, but instead the latest set of scripts will override all the rest. And in case of aforementioned example w/ merged little- & big-endian toolchains BE ldscripts will override LE ones leading to a funny behavior: on linking w/o explicitly set endianess (via "-EL" or "-EB") default linker scripts won't match the GCC driver used: ------------------------------->8--------------------------- $ arc-elf32-gcc test.c -Wl,-marcv2elfx ... .../bin/../lib/gcc/arc-snps-elf/11.2.0/../../../../arc-snps-elf/bin/ld: .../bin/../lib/gcc/arc-snps-elf/11.2.0/../../../../arc-snps-elf/lib/crt0.o: compiled for a little endian system and target is big endian .../bin/../lib/gcc/arc-snps-elf/11.2.0/../../../../arc-snps-elf/bin/ld: failed to merge target specific data of file .../bin/../lib/gcc/arc-snps-elf/11.2.0/../../../../arc-snps-elf/lib/crt0.o .../bin/../lib/gcc/arc-snps-elf/11.2.0/../../../../arc-snps-elf/bin/ld: .../bin/../lib/gcc/arc-snps-elf/11.2.0/crti.o: compiled for a little endian system and target is big endian ... ------------------------------->8--------------------------- [1] https://github.com/crosstool-ng/crosstool-ng/commit/cfbcdd378646594887c9d488aee529c07838ee8e [2] https://github.com/openembedded/openembedded-core/commit/4b46c1f6e891b1ddd5968536440b888661fade3e [3] https://github.com/openembedded/openembedded-core/commit/3c7fe424f850af70989ad682dd9c5be70cd02ca5 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-10-10ncurses: Use new v6 ABI by defaultAlexey Brodkin1-1/+1
These days old v5 ABI is not that relevant as it used to be back in 2015 when ncurses 6.x was added to CT-NG. And now we see say target "gdb" relying on "libncurses.so.5", while up-to-date Buildroot provides "libncurses.so" & "libncurses.so.6": --------------------------->8------------------------- $ ldd /bin/gdb libncurses.so.5 => not found libstdc++.so.6 => /lib/libstdc++.so.6 (0x20022000) libm.so.6 => /lib/libm.so.6 (0x2017c000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x201ba000) libc.so.6 => /lib/libc.so.6 (0x201c8000) /lib/ld-linux-arc.so.2 (0x20000000) --------------------------->8------------------------- Switching to a default (v6 ABI) by default. And... --------------------------->8------------------------- $ ldd /bin/gdb libncurses.so.6 => /usr/lib/libncurses.so.6 (0x20022000) libstdc++.so.6 => /lib/libstdc++.so.6 (0x20054000) libm.so.6 => /lib/libm.so.6 (0x201ae000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x201ec000) libc.so.6 => /lib/libc.so.6 (0x201fa000) /lib/ld-linux-arc.so.2 (0x20000000) --------------------------->8------------------------- Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-10-10gcc11: Fixes for ARCAlexey Brodkin3-0/+285
See more details here: 1. https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/398 2. https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/427 3. https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/429 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-10-10Merge pull request #1614 from cpackham/isl-mirrorChris Packham1-1/+1
isl: Update mirror URL
2021-10-10isl: Update mirror URLChris Packham1-1/+1
gforge.inria.fr has been shutdown. The isl project has moved hosting to sourceforge.io. Update the mirror accordingly. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-26Merge branch 'remove-obsolete-versions' of ↵Chris Packham724-45821/+40
https://github.com/cpackham/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21uClibc: Remove obsolete versionsChris Packham10-586/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - uClibc-0.9.33.2 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21strace: Remove obsolete versionsChris Packham35-1269/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - strace-4.10 - strace-4.11 - strace-4.12 - strace-4.13 - strace-4.14 - strace-4.5.20 - strace-4.6 - strace-4.7 - strace-4.8 - strace-4.9 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21newlib: Remove obsolete versionsChris Packham56-962/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - newlib-linaro-/2.1.0-2014.09 - newlib-linaro-2.2.0-2015.01 - newlib-1.17.0 - newlib-1.18.0 - newlib-1.19.0 - newlib-1.20.0 - newlib-2.0.0 - newlib-2.1.0 - newlib-2.2.0.20151023 - newlib-2.3.0.20160226 - newlib-2.4.0.20161025 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21musl: Remove obsolete versionsChris Packham2-5/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - musl-1.1.15 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21mpfr: Remove obsolete versionsChris Packham11-761/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - mpfr-2.4.2 - mpfr-3.0.1 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21mpc: Remove obsolete versionsChris Packham6-21/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - mpc-0.7 - mpc-0.8.2 - mpc-0.9 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21mingw-w64: Remove obsolete versionsChris Packham24-529/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - mingw-w64-v2.0.10 - mingw-w64-v3.0.0 - mingw-w64-v3.1.0 - mingw-w64-v3.2.0 - mingw-w64-v3.3.0 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21make: Remove obsolete versionsChris Packham6-30/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - make-3.81 - make-4.0 - make-4.1 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21ltrace: Remove obsolete versionsChris Packham14-480/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - ltrace-0.5.3 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21linux: Remove obsolete versionsChris Packham54-323/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - linux-2.6.33.7 - linux-2.6.34.7 - linux-2.6.35.9 - linux-2.6.36.4 - linux-2.6.37.6 - linux-2.6.38.8 - linux-2.6.39.4 - linux-3.0.101 - linux-3.1.10 - linux-3.11.10 - linux-3.14.79 - linux-3.15.10 - linux-3.17.8 - linux-3.19.8 - linux-3.3.8 - linux-3.5.7 - linux-3.6.11 - linux-3.7.10 - linux-3.8.13 - linux-3.9.11 - linux-4.0.9 - linux-4.2.8 - linux-4.3.6 - linux-4.5.7 - linux-4.6.7 - linux-4.7.10 - linux-4.8.17 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21libiconv: Remove obsolete versionsChris Packham3-38/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - libiconv-1.14 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21isl: Remove obsolete versionsChris Packham6-41/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - isl-0.11.2 - isl-0.12.2 - isl-0.14.1 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21gmp: Remove obsolete versionsChris Packham9-122/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - gmp-4.3.2 - gmp-5.0.5 - gmp-5.1.3 - gmp-6.0.0a Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21glibc: Remove obsolete versionsChris Packham317-24127/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - glibc-linaro-2.20-2014.11 - glibc-2.12.2 - glibc-2.13 - glibc-2.14.1 - glibc-2.15 - glibc-2.16.0 - glibc-2.18 - glibc-2.20 - glibc-2.21 - glibc-2.22 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21gettext: Remove obsolete versionsChris Packham7-539/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - gettext-0.19.7 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21gcc: Remove obsolete versionsChris Packham59-5130/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - gcc-linaro-4.8-2015.06 - gcc-4.8.5 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21cloog: Remove obsolete versionsChris Packham2-5/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - cloog-0.18.1 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21binutils: Remove obsolete versionsChris Packham83-10721/+21
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - binutils-linaro-2.23.2-2013.10-4 - binutils-linaro-2.24.0-2014.11-2 - binutils-linaro-2.25.0-2015.01-2 - binutils-2.23.2 - binutils-2.24 - binutils-2.25.1 Adjust the milestones now that the old versions have been removed. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21automake: Remove obsolete versionsChris Packham6-72/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - automake-1.11.6 - automake-1.14.1 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21android-ndk: Remove obsolete versionsChris Packham8-20/+0
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - android-ndk-r10e - android-ndk-r11c - android-ndk-r12b - android-ndk-r13b Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21autoconf: Remove rogue version.descChris Packham1-1/+0
A version.desc file was left at the toplevel package directory. Remove it as it is unused. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21gdb: Remove old milestonesChris Packham5-39/+19
Now that the oldest supported version of gdb is 7.11.1 we can make some parts of the build unconditional and remove the associated config vars. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21Merge pull request #1599 from cpackham/gdbChris Packham65-1311/+211
Gdb update and cleanup
2021-09-19gdb: Add gdb-11.1Chris Packham8-1/+141
Drop the uclibc-no-gettimeofday-clobber patch as it no longer applies. The arc patches are all upstream. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-19gmp: Support building for targetChris Packham2-2/+34
Allow GMP to be build for the target. This will be needed by the up coming gdb-11. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-19uClibc-ng: Add upstream patch for sys/personality.hChris Packham1-0/+82
Bring in an upstream patch that adds ADDR_NO_RANDOMIZE which is needed by gdb-11. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-19gdb: Mark older versions as obsoleteChris Packham5-0/+5
Mark all of the 7.x series obsolete, retain only the latest 8.x release. These will be removed after the next release. Signed-off-by: Chris Packham <judge.packham@gmail.com>