aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | gcc: Add gcc 12.2.0Chris Packham2022-08-238-8/+8
| | | | | | | | | | | | | | | | https://gcc.gnu.org/pipermail/gcc-announce/2022/000174.html Add gcc 12.2.0. None of the patches needed regenerating. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Update linux kernel to 5.19.2Bryan Hundven2022-08-193-8/+9
| | | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | arm-none-eabi: Disable RWX segment warning in binutilsKeith Packard2022-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | This warning is designed to catch likely vulnerabilities in code run under memory protection -- allowing execution from memory which is writable. However, embedded arm systems frequently require placing code in RAM, for performance or functionality reasons. Disable the warning that recent versions of binutils has added. Signed-off-by: Keith Packard <keithp@keithp.com>
* | packages: Update picolibc to 1.7.8Keith Packard2022-08-193-4/+4
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | Add CC_GCC_ENABLE_DEFAULT_PIELike Ma2022-08-192-0/+15
| | | | | | | | | | | | | | | | Enable Position Independent Executable as default Pass --enable-default-pie to crossgcc's configure Signed-off-by: Like Ma <likemartinma@gmail.com>
* | loongarch64: add sample configJiajie Chen2022-08-193-0/+16
| | | | | | | | | | | | | | | | Add sample config for target loongarch64-unknown-linux-gnu. Currently, it fails to build on macOS due to flex/bison incompatibility. Signed-off-by: Jiajie Chen <c@jia.je>
* | loongarch64: add initial loongarch supportJiajie Chen2022-08-192-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | This commit adds architecture support for LoongArch. The toolchain currently only supports the 64-bit target loongarch64-unknown-linux-gnu. It has been tested to build with GCC 12.1, GDB 12.1, Glibc 2.36, Linux 5.19 and Binutils 2.39 as of Aug 2022. Signed-off-by: Jiajie Chen <c@jia.je>
* | Select KERNEL_SUPPORTS_SHARED_LIBS on WindowsLike Ma2022-08-191-0/+2
| | | | | | | | | | | | Fix building MinGW only generating libstdc++.a Signed-off-by: Like Ma <likemartinma@gmail.com>
* | binutils: Add binutils 2.39Chris Packham2022-08-1414-1/+639
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://sourceware.org/pipermail/binutils/2022-August/122246.html Add binutils 2.39 and regenerate patches. 0008-binutils-2.38-vs.-ppc32-linux-kernel.patch is dropped as it has been applied upstream. Add a milestone for 2.39 which will be handy for Loongarch. Binutils now requires bison >= 3.0.4 to build gprofng for x86/aarch64 so we build our own bison when the host bison does not meet that requirement (which appears to be the case on macOS). Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Update binutils-2.30-113.0.3 for Oracle ol8u6 productGuillermo E. Martinez2022-08-092-1/+1
| | | | | | | | | | | | Oracle binutils updated to binutils-2.30-113.0.3 Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
* | packages/dtc: Add 1.6.1Elijah Shaw-Rutschman2022-08-083-8/+8
| | | | | | | | Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
* | linux: Add 5.19 bump LTSChris Packham2022-08-0823-49/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 5.19 Bump 5.18.4 -> 5.18.15 Bump 5.15.47 -> 5.15.58 Bump 5.10.122 -> 5.10.134 Bump 5.4.198 -> 5.4.208 Bump 4.14.283 -> 4.14.290 Bump 4.9.318 -> 4.9.325 Add a milestone for 5.19 as this adds support for the loongarch CPU architecture. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | glibc: Add glibc 2.36Chris Packham2022-08-085-1/+104
| | | | | | | | | | | | | | | | | | | | | | | | https://sourceware.org/pipermail/libc-announce/2022/000034.html Add the new version. Regenerate the patches and remove the one that had been applied upstream. Add a milestone for 2.36 as this version introduces support for the loongarch CPU architecture. Fixes #1795 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | CI: Update to macos-latestChris Packham2022-07-282-7/+7
| | | | | | | | | | | | Update the CI actions from macos-10.15 to macos-latest. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | configure.ac: AC_PROG_LEX set to noyywrapChris Packham2022-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | It appears that noyywrap is actually what is needed for kconfig. Particularly on arclinux where the default flex installation does not provide the yywrap function. Fixes #1790 Fixes 015d039e ("AC_PROG_LEX set to yywrap") Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | CI: Install meson and ninja when buildingChris Packham2022-07-272-2/+2
| | | | | | | | | | | | | | Add meson and ninja-build to the prerequisites so we actually build picolibc. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | CI: Add fetch mingw sourcesChris Packham2022-07-271-1/+2
| | | | | | | | | | | | | | | | Add x86_64-w64-mingw32 to the list of samples we use to fetch sources. This should pick up the mingw related tarballs so the build steps that follow don't have to. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Update Oracle binutils for ol8u6 productGuillermo E. Martinez2022-07-252-1/+1
| | | | | | | | | | | | Oracle binutils updated to binutils-2.30-113.0.2 Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
* | Fixes for libstdcxx-verbose option tristateNorbert Lange2022-07-112-1/+2
| | | | | | | | | | | | | | | | Make it proper "tristate" by not specifying the option. The config GCC_4_8_or_later was removed with cc6b7fad46f5cb3d84, so dont use it.
* | gcc: Add gcc 10.4.0Chris Packham2022-07-1127-80/+21
| | | | | | | | | | | | | | | | | | | | | | | | https://gcc.gnu.org/pipermail/gcc-announce/2022/000173.html Add GCC 10.4.0 and regenerate the ct-ng patches. The powerpc-Fix-asm-machine-directive-for-some-CPUs patch is dropped as the change was applied upstream (and subsequently refactored). Closes #1777 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Allow libsanitizer on architectures that support itChris Packham2022-07-1110-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | libsanitizer is only supported on selected architectures. Add ARCH_SUPPORTS_LIBSANITIZER and have architectures select this option based on the list of supported configurations from GCC's libsanitizer/configure.tgt. Support for mips64 was added in GCC12 so this is an additional condition for the mips architecture. Fixes #1733 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Revert "gcc: Bring in fix for libsanitizer on mips64"Chris Packham2022-07-111-31/+0
| | | | | | | | | | | | | | | | | | This reverts commit 1b6ad7cd48e0849072e2372826498c01b56b7fc9. As it turns out libsanitizer isn't supported on mips64 with GCC11 or older (there is support in GCC12). The bug is actually the fact that ct-ng allows configuring libsanitizer for architectures that don't support it. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Update .gitignore: Ignore .DS_Store on MacOSBryan Hundven2022-07-011-0/+3
| | | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Update .gitignore: Ignore backup filesBryan Hundven2022-07-011-0/+5
| | | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Switch CT_CC_{CORE_}SYSROOT_ARG to arraysJustin Chen2022-07-012-5/+5
| | | | | | | | | | | | | | CT_CC_{CORE_}SYSROOT_ARG is being used both as an array and string. Switch everything to be used as an array for consistency. Signed-off-by: Justin Chen <justinpopo6@gmail.com>
* | Merge pull request #1774 from bhundven/update_configure_acBryan Hundven2022-06-291-3/+2
|\ \ | | | | | | Update configure ac
| * | Bump autoconf requirement to 2.69Bryan Hundven2022-06-271-1/+1
| | | | | | | | | | | | | | | | | | This will help with moving forward with newer 2.70 compatibility. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | M4 quote yywrap in AC_PROG_LEXBryan Hundven2022-06-271-1/+1
| | | | | | | | | | | | | | | | | | It didn't output an error, but it's best practice. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | Remove obsolete AC_HEADER_STDCBryan Hundven2022-06-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | As described in detail here: https://www.gnu.org/software/autoconf/manual/autoconf-2.70/html_node/Particular-Headers.html#index-AC_005fHEADER_005fSTDC-1 We no longer need AC_HEADER_STDC in configure.ac Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | AC_PROG_LEX set to yywrapBryan Hundven2022-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With autoconf 2.70 and newer, you need to define either `yywrap` or `noyywrap` as an option to AC_PROG_LEX. https://www.gnu.org/software/autoconf/manual/autoconf-2.71/html_node/Particular-Programs.html#index-AC_005fPROG_005fLEX-1 `yywrap` is needed for kconfig. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | | Merge pull request #1775 from bhundven/bootstrap_mixed_indentBryan Hundven2022-06-291-8/+9
|\ \ \ | | | | | | | | Fix mixed indent in bootstrap
| * | | Fix mixed indent in bootstrapBryan Hundven2022-06-271-8/+9
| |/ / | | | | | | | | | | | | | | | | | | Tabs or spaces... I believe the policy on ct-ng is spaces for shell scripts. So update bootstrap to stick to 4 space indent. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | | binutils-oracle: Update source patch location for ol8Guillermo E. Martinez2022-06-285-3/+6
| | | | | | | | | | | | | | | | | | Due to a new commit oracle binutils branch an update location for patches is required. This patch disabled debug information for glibc too.
* | | newlib: fix conflicting configure optionsChen Tao2022-06-281-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuring the newlib with "--enable-newlib-nano-formatted-io" and "--enable-newlib-io-pos-args" would cause built GCC cannot compile some IO functions like "std::cout". And I added additional notes at Nano Formatted I/O config. Signed-off-by: Chen Tao <t.clydechen@gmail.com>
* | | Update config.sub and config.guessBryan Hundven2022-06-282-21/+47
| | | | | | | | | | | | | | | | | | ./ct-ng updatetools Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | | kconfig: modify rules for multilibs configurationChen Tao2022-06-282-6/+10
|/ / | | | | | | | | | | | | | | | | fix conflict options when compiling multilibs on ARM based architecture. "--with-arch", "--with-cpu", "--with-fpu", "--with-float", and "--with-mode" should not be configured with "--with-multilib-list=list" when configuring multilibs. Signed-off-by: Chen Tao <t.clydechen@gmail.com>
* | Restore Oracle products to crosstool-ng using gcc-oracleGuillermo E. Martinez2022-06-2617-33/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit restore the support for the following products in 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 configurations were updated to use such versions, and be compiled in host machine using recent GCC versions. Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
* | strace: Add strace 5.18Chris Packham2022-06-213-0/+5
| | | | | | | | | | | | | | | | https://lists.strace.io/pipermail/strace-devel/2022-June/011079.html Add 5.18 and mark 5.16 as obsolete. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | linux: Add 5.18.4 bump LTSChris Packham2022-06-2123-56/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | Add 5.18.4 Bump 4.9.312 -> 4.9.318 Bump 4.14.277 -> 4.14.283 Bump 4.19.241 -> 4.19.247 Bump 5.4.191 -> 5.4.198 Bump 5.10.113 -> 5.10.122 Bump 5.15.37 -> 5.15.47 Bump 5.17.5 -> 5.17.15 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | glibc: configure adding debug symbols in glibc buildGuillermo E. Martinez2022-06-212-1/+12
|/ | | | | | | | | | After building the cross toolchain and compile a simple C program, objdump reports debug information even though -g modifier was not used. These debug segments are in glibc library and CRT files. So a new config entry: CT_GLIBC_ENABLE_DEBUG was added to control when we want to add debug information to glibc, by default is enabled. Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
* Enable D language supportMarc Poulhiès2022-06-143-0/+16
| | | | | | | Enable D support as an experimental feature. GDC becomes a build dependency when enabled. Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* configure.ac: bison is required for kconfChris Packham2022-06-131-1/+1
| | | | | | | | | | Make the requirement for bison harder (but not strict). The system bison will be used to build kconf. If the system bison is not GNU bison 2.7 or later crosstool-ng will build GNU bison as a companion tool if necessary (for glibc 2.29 or newer). Fixes #1621 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc: Add gcc 9.5.0Chris Packham2022-06-0822-11/+11
| | | | | | Add GCC 9.5.0 and regenerate the patches as necessary. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc: Fix compilation error in core C gcc compiler older than v5Guillermo E. Martinez2022-06-011-2/+8
| | | | | | | | | | | | | | | | | | | | | When core gcc older than v5 is compiled it shows the error message: Build failed in step 'Installing core C gcc compiler' called in step '(top-level)' Error happened in: CT_DoExecLog[scripts/functions@376] called from: do_gcc_core_backend[scripts/build/cc/gcc.sh@627] called from: do_cc_core[scripts/build/cc/gcc.sh@210] called from: main[scripts/crosstool-NG.sh@697] configure: error: in `.../build/build-cc-gcc-core/fixincludes': configure: error: C compiler cannot create executables This patch disable `all-build-libcpp' target when core gcc older than v5 is configured. Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
* gcc: Disable zstd for canadian buildsChris Packham2022-05-311-2/+1
| | | | | | | | | | We don't currently bundle zstd so when performing a canadian build we need to tell GCC not to enable zstd support for lto otherwise it might decide to enable it based on the package being installed on the build machine. Fixes #1718 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gmp: Set CC_FOR_BUILD and CPP_FOR_BUILDChris Packham2022-05-311-2/+5
| | | | | | | | | When GMP is being "cross" compiled for the same architecture (i.e. build == host) it does not pick the right compiler. Set CC_FOR_BUILD and CPP_FOR_BUILD to override the default compiler. Fixes #1328 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: rework GLIBC_ENABLE_WERRORChris Packham2022-05-311-5/+6
| | | | | | | | | | Use `depends on` conditions to enable/disable building glibc with -Werror. Using `depends on` instead of `default if` means that when the GCC/GLIBC selection changes GLIBC_ENABLE_WERROR will automatically become n. Fixes #1729, fixes #1712 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc: Update fix for sh-unknown-elfChris Packham2022-05-312-65/+1
| | | | | | | | | Extend the fix from commit 6b465e15 ("Remove m1 from multilibs for GCC11 on SH arch.") to cover GCC 12 and future releases. Remove the patch that was added to solve the same problem. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Add Oracle ol8u6 product to crosstool-ngGuillermo E. Martinez2022-05-3111-0/+180
| | | | | | | | | | | | | | | | | | This commit adds support for the following Oracle products, in order to target Oracle Linux 8.6: Binutils 2.30-113.0.1 GCC 8.5.0-10.0.2 glibc 2.28-189.1.0.1 UEK5/u4 4.14.35-2025.400.8 Sample configuration files are provides for the following triplets: aarch64-ol8u6-linux-gnu x86_64-ol8u6-linux-gnu i686-ol8u6-linux-gnu Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
* glibc: backport fix for vfork on mipsChris Packham2022-05-261-0/+142
| | | | | | | | | | | glibc-2.23 fails to build for mips with nptl/libpthread.so:(*IND*+0x0): multiple definition of `vfork@GLIBC_2.0'; This was fixed in glibc-2.24. Backport the fix for glibc-2.23. Fixes #1744 Signed-off-by: Chris Packham <judge.packham@gmail.com>