aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gcc11: Fixes for ARCAlexey Brodkin2021-10-103-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>
* Merge pull request #1614 from cpackham/isl-mirrorChris Packham2021-10-101-1/+1
|\ | | | | isl: Update mirror URL
| * isl: Update mirror URLChris Packham2021-10-101-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>
* Merge branch 'remove-obsolete-versions' of ↵Chris Packham2021-09-26724-45821/+40
|\ | | | | | | | | | | https://github.com/cpackham/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * uClibc: Remove obsolete versionsChris Packham2021-09-2110-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>
| * strace: Remove obsolete versionsChris Packham2021-09-2135-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>
| * newlib: Remove obsolete versionsChris Packham2021-09-2156-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>
| * musl: Remove obsolete versionsChris Packham2021-09-212-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>
| * mpfr: Remove obsolete versionsChris Packham2021-09-2111-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>
| * mpc: Remove obsolete versionsChris Packham2021-09-216-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>
| * mingw-w64: Remove obsolete versionsChris Packham2021-09-2124-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>
| * make: Remove obsolete versionsChris Packham2021-09-216-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>
| * ltrace: Remove obsolete versionsChris Packham2021-09-2114-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>
| * linux: Remove obsolete versionsChris Packham2021-09-2154-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>
| * libiconv: Remove obsolete versionsChris Packham2021-09-213-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>
| * isl: Remove obsolete versionsChris Packham2021-09-216-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>
| * gmp: Remove obsolete versionsChris Packham2021-09-219-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>
| * glibc: Remove obsolete versionsChris Packham2021-09-21317-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>
| * gettext: Remove obsolete versionsChris Packham2021-09-217-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>
| * gcc: Remove obsolete versionsChris Packham2021-09-2159-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>
| * cloog: Remove obsolete versionsChris Packham2021-09-212-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>
| * binutils: Remove obsolete versionsChris Packham2021-09-2183-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>
| * automake: Remove obsolete versionsChris Packham2021-09-216-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>
| * android-ndk: Remove obsolete versionsChris Packham2021-09-218-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>
| * autoconf: Remove rogue version.descChris Packham2021-09-211-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>
| * gdb: Remove old milestonesChris Packham2021-09-215-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>
* Merge pull request #1599 from cpackham/gdbChris Packham2021-09-2165-1311/+211
|\ | | | | Gdb update and cleanup
| * gdb: Add gdb-11.1Chris Packham2021-09-198-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>
| * gmp: Support building for targetChris Packham2021-09-192-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>
| * uClibc-ng: Add upstream patch for sys/personality.hChris Packham2021-09-191-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>
| * gdb: Mark older versions as obsoleteChris Packham2021-09-195-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>
| * gdb: Drop obsolete versionChris Packham2021-09-1951-1359/+0
|/ | | | | | | Drop versions of gdb that were marked as obsolete prior to the crosstool-ng-1.24.0 release. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge branch 'gdb-enable-tui' of ↵Chris Packham2021-09-191-4/+2
|\ | | | | | | | | | | https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * gdb: Enable TUI for full target/native GDBAlexey Brodkin2021-09-161-4/+2
| | | | | | | | | | | | | | | | | | Since we have curses built for target anyway now, why don't allow users to use very convenient pseudo-GUI operating mode? And while at it, there's no use of TUI in naturally headless gdbserver. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | Merge branch ↵Chris Packham2021-09-191-0/+8
|\ \ | |/ |/| | | | | | | 'foss-for-synopsys-dwc-arc-processors-gdb10-disable-gdb-with-gdbserver' Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * gdb: Realy decouple building of native/target GDB & gdbserverAlexey Brodkin2021-09-191-0/+8
|/ | | | | | | | | | | | | | | | | | | | | | | | | Back in the day gdbserver was treated as a subproject of GDB and even was located in "gdb/gdbserver" and so to build gdbserver we had to go into "gdb/gdbserver" and there run configure. That way full GDB was out of the picture. Now starting from GDB 10.1 where gdbserver was promoted to the top-level we're supposed to run top-level's configure script for all the tools provided by the unified binutils-gdb tree. That said if we only want to build gdbserver (and that's what we want since we build one tool at a build step) we have to be explicit: ----------------->8---------------- --enable-gdbserver --disable--gdb ----------------->8---------------- Ah, and so far we used to build full native GDB when only wanted gdbserver if it was GDB v10.x ;) Ironically full native/target GDB also enabled gdbserver by default so we need to also disable it explicitly with "--disable-gdbserver". Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Merge branch 'gcc11-cross-canadian' of ↵Chris Packham2021-09-166-69/+71
|\ | | | | | | | | | | https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * gcc: Fix cross-canadian builds wih GCC11Alexey Brodkin2021-09-151-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this we may finally build Windows and "native" toolchains if host tools are also GCC11 based. For example: 1. You build cross toolchain with all the recent components by CT-NG 2. You build cross-canadian toolchain for Windows or ARC, ARMm whatever board See upstream bug report [1] for more details. Basically when we do cross-canadian build with use of the same GCC11 as a "host" compiler we're seeing an error like that: ------------------->8------------------- mingw-w64-cross/gcc/x86_64-w64-mingw32/libstdc++-v3/include/fenv.h:58:11: error: 'fenv_t' has not been declared in '::' 58 | using ::fenv_t; ------------------->8------------------- This is a solution proposed by Yujie Yang in [2] Note, though it's not the final fix merged upstream, that's just an attempt to fix this by casual GCC users. There's a hope it will be fixed anyways a bit later, maybe by the time of GCC 11.3... [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017#c20 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * gcc: Refresh patches of GCC 11.2.0Alexey Brodkin2021-09-155-69/+24
| | | | | | | | | | | | As simple as: ./maintainer/manage-packages.sh --update-patches --select gcc-11.2.0 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | Merge branch 'binutils-2-37-mingw-fix' of https://github.com/temap/crosstool-ngChris Packham2021-09-151-0/+56
|\ \ | | | | | | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * | binutils: Add MinGW build fix from 2.37 branchArtem Panfilov2021-09-141-0/+56
| |/ | | | | | | | | | | | | This fixes a defect introduced in 25162c7. The "uint" type has not been explicitly defined here on mingw, causing compilation to fail. Signed-off-by: Artem Panfilov <artemp@synopsys.com>
* | Merge branch 'gdb10-arc-fixes' of ↵Chris Packham2021-09-1519-43/+4971
|\ \ | |/ |/| | | | | | | https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * gdb10: Fixes for ARCAlexey Brodkin2021-09-1413-0/+4966
| | | | | | | | | | | | | | | | | | | | | | | | | | Here we add a couple of fixes and improvements for ARC processors. All except 1 patch are already in the upstream "master" branch and will be an essential part of GCC 11.x whenever it gets released. The most important are first 4 patches (0005-0008) which introduce support of full native GDB support in Linux on ARC. And the rests are tiny, yet useful improvements. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * gdb10: Update existing patchesAlexey Brodkin2021-09-146-43/+5
| | | | | | | | | | | | As easy as: ./maintainer/manage-packages.sh --update-patches --select gdb-10.2 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | Merge branch 'binutils-arc-32-hosts' of ↵Chris Packham2021-09-141-0/+217
|\ \ | |/ |/| | | | | | | https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * binutils 2.37: arc: Fix for 32-bit hostsAlexey Brodkin2021-09-131-0/+217
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While building statically-linked executables for ARC on 32-bit platform LD segfaulted like that: --------------------------->8------------------------- $ gcc test.c -static potentially unexpected fatal signal 11. Path: /arc_gnu_2021.03_prebuilt_glibc_le_archs_native_install/arc-snps-linux-gnu/bin/ld CPU: 0 PID: 79 Comm: ld Not tainted 5.10.43 #8 Invalid Read @ 0x00000020 by insn @ 0x40bbe @off 0x40bbe in [/arc_gnu_2021.03_prebuilt_glibc_le_archs_native_install/arc-snps-linux-gnu/bin/ld] VMA: 0x00010000 to 0x0010e000 ECR: 0x00050100 EFA: 0x00000020 ERET: 0x00040bbe STAT: 0x80080082 [IE U ] BTA: 0x0003fc24 SP: 0x5fdb8dec FP: 0x00129598 BLK: 0x40b66 LPS: 0x2008c602 LPE: 0x2008c63e LPC: 0x00000001 r00: 0x008392f2 r01: 0x00000001 r02: 0x00000000 r03: 0x008392f2 r04: 0x00000058 r05: 0x00e37e88 r06: 0x00eb8ea8 r07: 0x00a837e8 r08: 0x0000003f r09: 0x736e7520 r10: 0x2011aa74 r11: 0x001147f4 r12: 0x00a83834 r13: 0x00a837e8 r14: 0x00ce92b8 r15: 0x00112130 r16: 0x00eb8ea8 r17: 0x00000058 r18: 0x001273b8 r19: 0x00e37e88 r20: 0x00129598 r21: 0x5fdb8e74 r22: 0x00112130 r23: 0x00179bb0 r24: 0x00170684 r25: 0x20122490 collect2: fatal error: ld terminated with signal 11 [Segmentation fault] compilation terminated. --------------------------->8------------------------- Originally found during native building on ARC board, but later re-produced on other 32-bit systems like i386/i586. For all the gory details please refer to [1]. Original fix could be found here [2]. [1] https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/402 [2] https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/commit/29d31b4ed96fcbc774740fac91ef77cb3d62a714 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Merge branch 'linux-bump' of https://github.com/cpackham/crosstool-ngChris Packham2021-09-0823-56/+64
|\ | | | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * linux: Add new version and bump LTSChris Packham2021-09-0523-56/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | Add 5.14.1 Bump 4.4.275 -> 4.4.283 Bump 4.9.275 -> 4.9.282 Bump 4.14.239 -> 4.14.246 Bump 4.19.197 -> 4.19.206 Bump 5.4.131 -> 5.4.144 Bump 5.10.49 -> 5.10.62 Bump 5.13.1 -> 5.13.14 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Merge branch 'canadian-cross-build' of ↵Chris Packham2021-09-081-13/+1
|\ \ | | | | | | | | | | | | | | | https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * | gcc: Fix canadian cross building on older hostsAlexey Brodkin2021-09-061-13/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC 11+ requires compiler being used to support C++11 standard [1]. And while GCC starting from 6.x has C++11 support enabled by default [2], older versions need to be forced to implement it with "-std=gnu++11" and luckily GCC's build-system takes care of that: 1. For ${host} compiler - [1] 2. For ${build} compiler - [3, 4] In a nutshell the configure script tries a couple of options and the one which helps to build a test source gets appended to CXX (not CXXFLAGS!), so on say CentOS 7.x with GCC 4.8.5 during cross-compilation of GCC CXX="x86_64-build_pc-linux-gnu-g++ -std=gnu++11". And all is good. But in case of canadian cross due to [5] we for some reason* force set CXX_FOR_BUILD with just a compiler name, effectively overriding all the magic done by GCC's internals described above. This leads to a compilation failures like that: ------------------------------------->8---------------------------------- [ALL ] In file included from /usr/include/c++/4.8.2/type_traits:35:0, [ALL ] from .../HOST-x86_64-apple-darwin14/arc-gcc11-elf/src/gcc/gcc/system.h:244, [ALL ] from .../HOST-x86_64-apple-darwin14/arc-gcc11-elf/src/gcc/gcc/gengtype.c:26: [ERROR] /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. [ALL ] #error This file requires compiler and library support for the ^ ------------------------------------->8---------------------------------- * my guess that [5] was done because back in the day indeed we used to have "--build=${CT_BUILD} --host=${CT_HOST}" in do_cc_core(). But now after [6] this is no longer necessary as we use "--build=${CT_BUILD} --host=${CT_BUILD}" and all is safe and clean. So yet another old quirk goes away - hooray! [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed [2] https://gcc.gnu.org/gcc-6/changes.html [3] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96612 [4] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=7ffcf5d61174dda1f39a623e15f7e5d6b98bbafc [5] https://github.com/crosstool-ng/crosstool-ng/commit/9c6c090d7b6f5a03213b8ac6bd33a5cb812ec4c4 [6] https://github.com/crosstool-ng/crosstool-ng/commit/08161250ed65a9b91d680a305d01acd8052f937f Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>