aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* mpfr: Update vcs URLChris Packham2022-05-081-1/+1
| | | | | | | The mpfr project is now using git. Update the repository field accordingly. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc: Update vcs URLChris Packham2022-05-081-1/+1
| | | | | | | The GCC project has been using git for a while now. Update the repository field accordingly. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* musl: add 1.2.3Dima Krasner2022-05-082-0/+4
| | | | Signed-off-by: Dima Krasner <dima@dimakrasner.com>
* gcc: bump GCC 11 to latest release 11.3.0Hans-Christian Noren Egtvedt2022-05-0817-460/+12
| | | | | | Remove patches applied upstream we no longer need to maintain here. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
* populate: Include dependencies of PIE executablesJohan Levin2022-05-081-3/+3
| | | | | | | | Modern versions of the 'file' utility give different output for position dependent and position independent executables. The populate tool should consider both types. Signed-off-by: Johan Levin <johan13@gmail.com>
* scripts/functions: collect license files named COPYRIGHT*Dima Krasner2022-05-031-1/+1
| | | | Signed-off-by: Dima Krasner <dima@dimakrasner.com>
* glibc: Enable -Werror for more combinations of GCC/GLIBCChris Packham2022-05-012-3/+9
| | | | | | | | | | | Newer GCC versions trigger warnings on older GLIBC versions. GLIBC 2.29 is warning free with GCC9. GLIBC 2.31 is warning free with GCC10. GLIBC 2.34 is warning free with GCC11. Add milestones for 2.31 and 2.34 and use those to set the default value for GLIBC_ENABLE_WERROR based on the GCC version. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* zlib: Update to zlib-1.2.12Chris Packham2022-04-227-73/+11
| | | | | | | | | | | | | | | | | | | Bring in the following changes - Fix a deflate bug when using the Z_FIXED strategy that can result in out-of-bound accesses. - Fix a deflate bug when the window is full in deflate_stored(). - Speed up CRC-32 computations by a factor of 1.5 to 3. - Use the hardware CRC-32 instruction on ARMv8 processors. - Speed up crc32_combine() with powers of x tables. - Add crc32_combine_gen() and crc32_combine_op() for fast combines. Drop two patches that have been applied upstream and regenerate the remaining two. Fixes #1708 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* [scripts/functions]: Fix quoting issue in comparisonElliot Saba2022-04-221-1/+1
| | | | | | | | | | | | | | | On my Ubuntu machine (with `dash` version `0.5.10` and `bash` version `5.0.17`), I would get errors such as the following: ``` crosstool-ng/scripts/functions: line 730: [: !=: unary operator expected ``` This is generally because a variable is not set, and expands to an empty string causing the test operator to mis-parse the expression. To fix this, I have added quotes around the variable. Signed-off-by: Elliot Saba <staticfloat@gmail.com>
* testing/docker: Add meson and ninja to containersChris Packham2022-04-214-4/+5
| | | | | | meson and ninja are needed to build picolibc. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Update picolibc to 1.7.6Keith Packard2022-04-023-4/+4
| | | | | | | | | | | | * Fixes 1.7.4 issue with recent meson versions which error on 'descrption' typo. * Positional parameters (%$1d) in printf/scanf * Lots (and lots) of math library exception/errno fixes; now tested against glibc test suite. Signed-off-by: Keith Packard <keithp@keithp.com>
* xtensa: Remove obsoleted CT_ARCH_XTENSA_CUSTOM_NAMEAnton Maklakov2022-04-021-1/+1
|
* Enable posix threads in i686-w64-mingw32Chris Packham2022-04-021-0/+1
| | | | | | | | | Posix threads are enabled in the x86_64-w64-mingw32 sample having them enabled in i686-w64-mingw32 makes things consistent for these targets. Fixes #1696 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc: add fixes for GCC 11.2. Anon and aggregated struct accessAnton Maklakov2022-03-282-0/+311
|
* gcc: rename patches to orderAnton Maklakov2022-03-281-0/+0
|
* gcc: powerpc: Fix asm machine directive for some CPUsChris Packham2022-02-282-0/+118
| | | | | | | Bring in upstream fix for gcc outputting an incorrect .machine directive. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* binutils: Bring in upstream fix for powerpcChris Packham2022-02-281-0/+52
| | | | | | | | | Some versions of GCC emit a .machine directive near the start of the compiler's assembly output that overrides the CPU passed on the command line. Bring in an upstream change for binutils that works around the problem. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* kconfig: Use ncurses location determined by ./configureChris Packham2022-02-282-3/+3
| | | | | | | | | | | Prior to commit bbc4db13 ("kconfig: Sync with upstream v4.18") we used the macros CURSES_LOC and MENU_LOC to tell us where curses.h and menu.h were installed. Restore this behaviour so that we can deal with some of the odd places that the curses headers end up. Fixes #1403 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Fix MinGW libstdc++ TLS functionalityivanka20122022-02-281-0/+251
| | | | | | Backport of https://github.com/gcc-mirror/gcc/commit/cc1e28878a228b6c4a0872e56d97ac88971b7725 Signed-off-by: Kittenberger Iván <ivanka2012@gmail.com>
* gcc: add gcc libstdcxx-verbose optionNorbert Lange2022-02-232-0/+27
| | | | | | | Rather important option for arm cortex toolchains supporting c++, avoids pulling in all printf/iostream code by default. Signed-off-by: Norbert Lange <nolange79@gmail.com>
* update mpc to 1.2.1Norbert Lange2022-02-233-4/+4
| | | | Signed-off-by: Norbert Lange <nolange79@gmail.com>
* Add isl 0.23Norbert Lange2022-02-232-0/+12
| | | | Signed-off-by: Norbert Lange <nolange79@gmail.com>
* Update isl to 0.22.1Norbert Lange2022-02-233-12/+12
| | | | Signed-off-by: Norbert Lange <nolange79@gmail.com>
* binutils: Disable libdebuginfod when producing a static toolchainChris Packham2022-02-231-0/+3
| | | | | | | | | libdebuginfod is incompatible with static linking so pass --without-debuginfod when CT_STATIC_TOOLCHAIN is selected. Fixes #1683 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: mark 2.12.1 as obsoleteChris Packham2022-02-232-1/+2
| | | | | | | | CentOS6 has reached EOL so now glibc-2.12.1 can be marked as obsolete. This also means the last glibc-ports version (and glibc-ports itself) obsolete as well. These will be removed after the next release. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* bionic: mark bionic/android-ndk as obsoleteChris Packham2022-02-233-0/+3
| | | | | | | | | | Support for bionic was dropped by GCC some time ago. There are patches for older GCC versions but those are difficult to maintain and the version of the android-ndk they support is of little use. Mark all of the existing bionic support as obsolete so it can be removed after the next release. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* strace: Remove 5.0 to 5.14Chris Packham2022-02-2327-187/+0
| | | | | | | | | strace maintains backwards compatibility with older kernels so there is no need to keep multiple versions of strace. Versions 5.0 to 5.14 weren't present in the crosstool-ng-1.24 release so remove them directly instead of marking them as obsolete. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* strace: mark 4.15 to 4.26 as obsoleteChris Packham2022-02-2312-0/+12
| | | | | | | | | strace maintains backwards compatibility with older kernel versions so there's no particular reason to keep many versions of strace around. Mark the versions that were present in the 1.24 release as obsolete. They will be remove following the next release. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: add Canadian Cross build jobArtem Panfilov2022-02-202-93/+149
| | | | Signed-off-by: Artem Panfilov <artemp@synopsys.com>
* CI: sort sample lines ascending orderArtem Panfilov2022-02-201-1/+1
| | | | Signed-off-by: Artem Panfilov <artemp@synopsys.com>
* CI: auto reformat YAMLArtem Panfilov2022-02-201-42/+35
| | | | Signed-off-by: Artem Panfilov <artemp@synopsys.com>
* strace: Add 5.16Chris Packham2022-02-162-0/+4
| | | | | | https://lists.strace.io/pipermail/strace-devel/2022-January/010884.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* linux: Add 5.16.9, bump LTSChris Packham2022-02-1623-56/+64
| | | | | | | | | | | | Add 5.16.9 Bump 5.15.2 -> 5.15.23 Bump 5.10.79 -> 5.10.100 Bump 5.4.159 -> 5.4.179 Bump 4.19.217 -> 4.19.229 Bump 4.9.290 -> 4.9.301 Bump 4.4.292 -> 4.4.302 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1674 from stilor/masterAlexey Neyman2022-02-14456-6927/+2871
|\ | | | | Updates to make `ct-ng build-all` pass
| * Run patches thru `manage-packages -P`Alexey Neyman2022-02-11191-2835/+1917
| | | | | | | | | | | | | | | | This refreshes the line numbers, removes any fuzz (which would make any future forward ports easier) and standardizes the patch/file headers (which makes them easier to read). Signed-off-by: Alexey Neyman <stilor@att.net>
| * Run packages through `manage-packages -D`Alexey Neyman2022-02-1117-45/+62
| | | | | | | | | | | | | | This fixed some typos in the checksum files (please don't edit them manually, this is error-prone!) Signed-off-by: Alexey Neyman <stilor@att.net>
| * Update the docker containersAlexey Neyman2022-02-1113-51/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid proliferation of versions, I suggest the following policy: the oldest LTS release still receiving maintenance updates + the most recent release for distributions that offer LTS releases. For CentOS, this means CentOS7 and CentOS Stream 9 (since CentOS are all "long-term support", this is just the oldest and the newest among currently supported). For Ubuntu, this means Ubuntu 18.04 (previous LTS are in "security fixes only" mode) and Ubuntu 21.10. Recent Ubuntu attempts to be interactive during the configuration of tzdata, required some additional setup. In the common installation script, the logic for handling a configured/built local directory breaks if `gmake` is detected as the make binary; `make distclean` then fails inside the container because not all systems have `gmake` symlink. Remove that attempt of a workaround completely, just require that the host directory is clean. Signed-off-by: Alexey Neyman <stilor@att.net>
| * glibc-2.12.1: backport a fix for 2-pass buildAlexey Neyman2022-02-112-0/+323
| | | | | | | | | | | | | | Otherwise, it tries to link against libgcc_eh which is not available until the final compiler (or previously, the pass-2 compiler) is built. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Unify core passesAlexey Neyman2022-02-1112-86/+26
| | | | | | | | | | | | | | | | | | With libc_headers step before pass-1, there is no need to distinguish pass-1 and pass-2; they are configured identically (note that with the current configuration, core pass-2 is only used for win32 - hence, uses build_libgcc=yes and mode=static). Signed-off-by: Alexey Neyman <stilor@att.net>
| * Fold libc_start_files into libcAlexey Neyman2022-02-119-339/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After 557b9d4, libc_start_files and libc_main steps are performed one after another. It doesn't make sense, especially since some of the libcs (glibc, uClibc-ng) go to great lengths to first install start files in the first step, libc_start_files, only to remove them immediately in the second step, libc_main. Current build steps also break in the xtensa newlib configurations, as it needs to install the custom xtensa headers before building the libgcc and after 557b9d4, the headers are not installed before libgcc is built in pass-1. Therefore, finish what 557b9d4 mentioned but did not do: move header installation into a new step, libc_headers, and combine libc_start_files and libc_main into a single step. This also allows to combine the core pass-1/pass-2 steps, to be done in a subsequent commit. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Turn off debugging in sample configurationAlexey Neyman2022-02-111-2/+0
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Convert tabs to spacesAlexey Neyman2022-02-117-69/+69
| | | | | | | | | | | | | | Recent changes introduced a mixture of tabs/spaces that result in broken indentation in multiple places. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Restrict *-uclibc,* canadians to gettext 0.20Alexey Neyman2022-02-115-0/+35
| | | | | | | | | | | | | | Newer gettext is incompatible with uClibc-NG in cross-compilation, see the comment in the code. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Update m4 to 1.4.19Alexey Neyman2022-02-114-156/+12
| | | | | | | | | | | | | | | | | | This fixes the x86_64-multilib-linux-uclibc,powerpc-unknown-elf canadian cross example (which currently breaks because the gnulib example assumes SIGSTKSZ is constant while recent libcs started defining it as a sysconf(...) call. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Restrict bionic's GCC/GDB selectionsAlexey Neyman2022-02-111-1/+10
| | | | | | | | | | | | Refer to the comments in the code for the reason. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Remove GDB 11.1Alexey Neyman2022-02-116-139/+0
| | | | | | | | | | | | | | | | | | This was originally an upgrade from 11.1 to 11.2 that fixed moxie-* samples affected by PR sim/28302. GDB 11.2 landed independently on master, so just remove 11.1 (one release per upstream branch, please, we already have lots of version/architecture/host permutations to test). Signed-off-by: Alexey Neyman <stilor@att.net>
| * gdb: use single-number versions/milestones for 9+Alexey Neyman2022-02-113-5/+5
| | | | | | | | | | | | | | | | Starting with GDB9, the release number is only two numbers (with the last being patchlevel). Therefore, keep two numbers for releases 8 and below, but just a single number for 9 and up. Signed-off-by: Alexey Neyman <stilor@att.net>
| * sparc-leon: restrict to GDB9Alexey Neyman2022-02-112-1/+7
| | | | | | | | | | | | | | | | | | | | Starting with GDB10, it requires support for std::future<> in the compiler. Such support has not been available on some architectures until GCC9 (see PR 64735). I haven't determined the exact list of affected architectures, so decided to make it a broad dependency: for GDB10+, you need GCC9+. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Rename moxiebox to match its tupleAlexey Neyman2022-02-112-0/+0
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Update tic6x sampleAlexey Neyman2022-02-114-10/+11
| | | | | | | | | | | | | | | | | | Restrict kernel to 5.11 and below (support for this arch has been dropped in 5.12); rename the sample to match its name as printed by `ct-ng show-tuple` (otherwise, `make saveconfig` does not update the sample's configuration). Signed-off-by: Alexey Neyman <stilor@att.net>