Commit Graph

567 Commits

Author SHA1 Message Date
Chris Packham
53bbdc7425 Remove obsolete bionic/android support
The bionic libc support was out of date and relied on downloading
binaries from the internet. It was already marked as obsolete. Now that
the 1.25.0 release is out it can be completely removed.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-10 19:46:53 +12:00
Chris Packham
e8c4d97683 avr-libc: Update vcs URL
The avr-libc project has moved to github and is now using git. Update
the repository field accordingly.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-08 13:37:41 +12:00
Chris Packham
fcea8e33ac mpfr: Update vcs URL
The mpfr project is now using git. Update the repository field
accordingly.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-08 13:37:41 +12:00
Chris Packham
aa46366fc3 gcc: Update vcs URL
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>
2022-05-08 13:37:41 +12:00
Dima Krasner
31cc2e56d5 musl: add 1.2.3
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2022-05-08 13:37:03 +12:00
Hans-Christian Noren Egtvedt
3c94c6c678 gcc: bump GCC 11 to latest release 11.3.0
Remove patches applied upstream we no longer need to maintain here.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2022-05-08 13:29:34 +12:00
Chris Packham
7e21141973 glibc: Enable -Werror for more combinations of GCC/GLIBC
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>
2022-05-01 12:02:54 +12:00
Chris Packham
dd4d19fce2 zlib: Update to zlib-1.2.12
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>
2022-04-22 10:15:41 +12:00
Keith Packard
6ddf9e8dbf Update picolibc to 1.7.6
* 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>
2022-04-02 13:31:28 +13:00
Anton Maklakov
6cd16639b9 gcc: add fixes for GCC 11.2. Anon and aggregated struct access 2022-03-28 21:01:58 +13:00
Anton Maklakov
bfda65e00e gcc: rename patches to order 2022-03-28 21:01:58 +13:00
Chris Packham
1e47ca1e70 gcc: powerpc: Fix asm machine directive for some CPUs
Bring in upstream fix for gcc outputting an incorrect .machine
directive.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-02-28 20:59:33 +13:00
Chris Packham
0822a8a2e4 binutils: Bring in upstream fix for powerpc
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>
2022-02-28 20:59:33 +13:00
ivanka2012
76d9b8c15c Fix MinGW libstdc++ TLS functionality
Backport of cc1e28878a

Signed-off-by: Kittenberger Iván <ivanka2012@gmail.com>
2022-02-28 20:58:55 +13:00
Norbert Lange
2a856608e1 update mpc to 1.2.1
Signed-off-by: Norbert Lange <nolange79@gmail.com>
2022-02-23 20:20:55 +13:00
Norbert Lange
3300c879f8 Add isl 0.23
Signed-off-by: Norbert Lange <nolange79@gmail.com>
2022-02-23 20:20:55 +13:00
Norbert Lange
c638767162 Update isl to 0.22.1
Signed-off-by: Norbert Lange <nolange79@gmail.com>
2022-02-23 20:20:55 +13:00
Chris Packham
4221618268 glibc: mark 2.12.1 as obsolete
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>
2022-02-23 20:20:09 +13:00
Chris Packham
20044c0bf7 bionic: mark bionic/android-ndk as obsolete
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>
2022-02-23 20:19:46 +13:00
Chris Packham
71fad07b71 strace: Remove 5.0 to 5.14
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>
2022-02-23 20:19:10 +13:00
Chris Packham
3a80ddda77 strace: mark 4.15 to 4.26 as obsolete
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>
2022-02-23 20:19:10 +13:00
Chris Packham
74d6f26b46 strace: Add 5.16
https://lists.strace.io/pipermail/strace-devel/2022-January/010884.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-02-16 20:34:02 +13:00
Chris Packham
0b2ef63a6b linux: Add 5.16.9, bump LTS
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>
2022-02-16 20:33:42 +13:00
Alexey Neyman
681aaef1f1
Merge pull request #1674 from stilor/master
Updates to make `ct-ng build-all` pass
2022-02-14 00:11:42 -08:00
Hans-Christian Noren Egtvedt
ba680a3e5b packages/binutils: add binutils-2.38
Binutils version 2.38 has been released
https://www.phoronix.com/scan.php?page=news_item&px=GNU-Binutils-2.38
https://sourceware.org/pipermail/binutils/2022-February/119721.html

Patches 0000 to 0008 from binutils-2.37 applied clean, so forward ported
them.

The following patches are now applied from upstream, hence dropped:
0010-change-uint-to-unsigned.patch
0011-bfd-close-the-file-descriptor-if-there-is-no-archive-fd.patch
0012-pr28391-strip-objcopy-preserve-dates-a-cannot-set-time.patch
0013-ld-pru-fix-resource_table-output-section-alignment.patch
0014-pr28422-build_id-use-after-free.patch
0015-pr28459-readelf-issues-bogus-warning.patch
0016-pr28417-std-string-no-longer-allows-accepting-nullptr_t.patch
0017-pr28540-segmentation-fault-on-NULL-byte_get.patch
0018-gold-place-note-gnu-property-section-before-other-note-sections.patch
0019-waddress-warning-in-ldelf.c.patch

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2022-02-13 20:47:12 +13:00
Alexey Neyman
86c2982568 Run patches thru manage-packages -P
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>
2022-02-11 00:47:51 -08:00
Alexey Neyman
1210b0c2f4 Run packages through manage-packages -D
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>
2022-02-11 00:47:51 -08:00
Alexey Neyman
a4cff7a061 glibc-2.12.1: backport a fix for 2-pass build
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>
2022-02-11 00:47:51 -08:00
Alexey Neyman
c6ff1eca5b Restrict *-uclibc,* canadians to gettext 0.20
Newer gettext is incompatible with uClibc-NG in cross-compilation, see
the comment in the code.

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:51 -08:00
Alexey Neyman
a59503c872 Update m4 to 1.4.19
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>
2022-02-11 00:47:51 -08:00
Alexey Neyman
db3b51de5a Remove GDB 11.1
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>
2022-02-11 00:47:51 -08:00
Alexey Neyman
4c0d78bb64 gdb: use single-number versions/milestones for 9+
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>
2022-02-11 00:47:51 -08:00
Alexey Neyman
b4191b23a8 Update tic6x sample
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>
2022-02-11 00:47:51 -08:00
Alexey Neyman
cc6b7fad46 Retire obsoleted milestones
... and the code dependent on them, after the latest wave of obsolete
package removals. This concludes the glorious history of the original
uClibc (non-NG) with lots of kludges removed.

There was a choice here, whether to call the resulting libc "uClibc" or
"uClibc-ng". I opted in favor of giving uClibc-ng the recognition it
deserves, although it had some ripple effect in the ct-ng code.

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:50 -08:00
Alexey Neyman
4c6604e730 Remove gcc-oracle-4.8-44.0.5
GCC 4.8 and its prerequisites have been removed by 04dce680, 41d4583a
and e4221734; as a result, 4.8-based version of gcc-oracle became
unbuildable (no valid versions for the prerequisites).

Update the samples to use 4.9.4; which however fails to build on a modern
host GCC. Build fix backported to gcc-4.9 and gcc-5 versions.

Fix binutils-oracle build with host GCC11.

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:50 -08:00
Alexey Neyman
8d63665818 glibc-ports: remove obsolete versions
The corresponding versions of glibc have been removed previously; kill
their "ports" counterpart.

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:50 -08:00
Hans-Christian Noren Egtvedt
c206f2fc3e packages/glibc: add glibc version 2.35
Copied patches from glibc version 2.34, they still apply clean and I
assume they still are relevant.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
[cp add __convert_scm_timestamps patch]
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-02-09 20:56:28 +13:00
Hans-Christian Noren Egtvedt
803f9b84f6 packages/gdb: add gdb-11.2
Forward port patches from gdb-11.1, as they still apply clean, hence
still assumed to be relevant.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2022-02-08 20:52:48 +13:00
Hans-Christian Noren Egtvedt
5a4c95d658 binutils-2.37: add more patches from upstream release branch
Fetch in various patches from binutils-2_37-branch upstream.

The most vital change is the
0012-pr28391-strip-objcopy-preserve-dates-a-cannot-set-time.patch which
allows building large upstream projects like Qt WebEngine without need
100k's of file descriptors open.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2022-02-04 09:55:25 +13:00
Chris Packham
6737cfaa8c gcc: Use upstream fix for cross-canadian builds
Replace the patch from #1600 with the change that landed upstream.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-01-14 12:44:51 +13:00
Kairui Song
85530cce98 gcc: Fix 11.2.0 build failure on MacOS with Apple M1
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-12-13 21:19:30 +13:00
Chris Packham
f441a6bf0d linux: Add dependency on rsync for Linux >= 5.3
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-30 19:56:44 +13:00
Chris Packham
4dc9d643f9 gettext: Add gettext 0.21
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-24 11:20:34 +13:00
Bensuperpc
ea79ce7bf4 Update picolibc to 1.7.4
Update picolibc to 1.7.4

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-11-22 20:10:26 +13:00
Chris Packham
c55c826dc0 strace: add 5.14
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-16 22:11:03 +13:00
Chris Packham
fac5020ae0 linux: add 5.15, update stable/lts
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-16 22:11:03 +13:00
Chris Packham
ce405b871b cloog: remove gnu mirror
The GNU mirror doesn't contain cloog-18.4. Remove it.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-11-15 20:14:52 +13:00
Keith Packard
25f6dae85e Switch picolibc to 1.7.3
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-10-20 19:36:31 +13:00
lancethepants
f6cefea020 Add uclibc-ng 1.0.39
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2021-10-19 20:24:13 +13:00
Chris Packham
10ac846d42 Merge branch 'ld_makefile-remove' of https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-10-11 21:13:24 +13:00
Alexey Brodkin
5d903ccee9 binutils-2.37: Remove obsolete ld_makefile patch
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] cfbcdd3786
[2] 4b46c1f6e8
[3] 3c7fe424f8

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-10-10 04:55:24 -07:00
Alexey Brodkin
15f9d8fcea gcc11: Fixes for ARC
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-10 04:53:17 -07:00
Chris Packham
cfb7d07ae1 isl: Update mirror URL
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-10-10 21:35:26 +13:00
Chris Packham
dab2d8011e uClibc: Remove obsolete versions
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-21 21:24:32 +12:00
Chris Packham
e4394bf9bb strace: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
bb4d2a458c newlib: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
c22bce37e9 musl: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
173b28584d mpfr: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
2639848dbd mpc: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
a3ea762c1c mingw-w64: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
a664e5b8b9 make: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
03ecafa189 ltrace: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
33bd6d94e8 linux: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
5b138bf837 libiconv: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
04dce680e8 isl: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
1d7cbce455 gmp: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
3d2b48fb7a glibc: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
793b250345 gettext: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
e422173483 gcc: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
41d4583a42 cloog: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
fa992b4191 binutils: Remove obsolete versions
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-21 21:24:31 +12:00
Chris Packham
836fb91652 automake: Remove obsolete versions
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-21 21:12:19 +12:00
Chris Packham
f5731fc831 android-ndk: Remove obsolete versions
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-21 21:12:19 +12:00
Chris Packham
156e13b78d autoconf: Remove rogue version.desc
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-21 21:12:19 +12:00
Chris Packham
9703e669d0 gdb: Remove old milestones
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-21 21:12:19 +12:00
Chris Packham
68088f65c6 gdb: Add gdb-11.1
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-19 19:50:29 +12:00
Chris Packham
8365a79179 uClibc-ng: Add upstream patch for sys/personality.h
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-19 19:50:29 +12:00
Chris Packham
c0c4d2fe5e gdb: Mark older versions as obsolete
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>
2021-09-19 19:50:29 +12:00
Chris Packham
3fc2737bfe gdb: Drop obsolete version
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>
2021-09-19 19:50:29 +12:00
Chris Packham
7daa182506 Merge branch 'gcc11-cross-canadian' of https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-16 21:42:44 +12:00
Alexey Brodkin
9ddd4b7883 gcc: Fix cross-canadian builds wih GCC11
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>
2021-09-15 02:02:16 -07:00
Chris Packham
f49ae4054d Merge branch 'binutils-2-37-mingw-fix' of https://github.com/temap/crosstool-ng
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-15 20:21:17 +12:00
Chris Packham
f7e3d75627 Merge branch 'gdb10-arc-fixes' of https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-15 20:20:57 +12:00
Alexey Brodkin
24a1f120d7 gcc: Refresh patches of GCC 11.2.0
As simple as: ./maintainer/manage-packages.sh --update-patches --select gcc-11.2.0

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-09-15 01:18:45 -07:00
Alexey Brodkin
8099a74750 gdb10: Fixes for ARC
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>
2021-09-14 04:30:17 -07:00
Alexey Brodkin
d6eeff01a6 gdb10: Update existing patches
As easy as: ./maintainer/manage-packages.sh --update-patches --select gdb-10.2

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-09-14 04:29:36 -07:00
Artem Panfilov
3e4421d420 binutils: Add MinGW build fix from 2.37 branch
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>
2021-09-14 12:28:59 +03:00
Alexey Brodkin
2160d68291 binutils 2.37: arc: Fix for 32-bit hosts
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] 29d31b4ed9

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-09-13 01:57:39 -07:00
Chris Packham
b1cda4a08a linux: Add new version and bump LTS
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>
2021-09-05 21:00:59 +12:00
Chris Packham
5faf255006 packages/glibc: Add 2.34
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-25 20:32:27 +12:00
Alexey Brodkin
5463ab4bf6 gdb: Add gdb-10.2
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-25 10:12:56 +12:00
Dimitar Dimitrov
94df240f08 gnuprumcu: Bump to v0.6.0
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-22 18:08:13 +03:00
Alexey Brodkin
77525a81d3 binutils: add version 2.37
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-08-16 10:22:50 -07:00
graysky
329c45eb58 gcc: bump to 11.2
Signed-off-by: John Audia <graysky@archlinux.us>
2021-07-28 14:53:00 -04:00
Chris Packham
283142c032 Merge pull request #1563 from cpackham/kernel-bump
linux: Add new version and bump LTS
2021-07-18 19:41:52 +12:00
Chris Packham
9e1a187d70 linux: Add new version and bump LTS
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-14 21:46:54 +12:00
Keith Packard
a35d909459 picolibc: Add support for version 1.7.1
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-13 11:18:47 -07:00
Chris Packham
5ab678eae3 gcc: Bump maintenance versions
8.4.0 -> 8.5.0
9.3.0 -> 9.4.0

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-07-05 21:11:45 +12:00
Chris Packham
9e10cb6fba Merge branch 'master' of git://github.com/bensuperpc/crosstool-ng 2021-06-24 20:29:14 +12:00
Bensuperpc
9bfaa181e9 Update Linux to: 5.12.12, 5.10.44, 5.4.127
Update Linux to: 5.12.12, 5.10.44, 5.4.127

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-23 16:24:57 +02:00
lancethepants
7b54693881 Add uClibc-ng 1.0.38
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2021-06-22 14:02:33 -06:00
Keith Packard
db061bdf2b packages/picolibc: Add version 1.6.2
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-06-17 10:30:25 -07:00
Keith Packard
83029d7570 packages/gcc/libstdc++: #include_next → #include
Some of the installed libstdc++ header files use '#include_next' to
work around toolchain oddities that might cause loops in the
compiler. However, these also cause mistakes in locating header files
when there are multiple C libraries installed as '#include_next' often
ends up finding default C library header files.

It doesn't seem like this patch could be accepted upstream; there's a
long discussion about the use of include_next in these headers which I
cannot fully understand.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-06-17 10:30:25 -07:00
Keith Packard
3e259dbaf8 Switch to picolibc version 1.5.1
This version includes a small link fix for the sample crt0 on riscv.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-06-17 10:30:25 -07:00
Stephanos Ioannidis
4ab0727f98 packages: gcc: Add missing milestones
This commit adds the missing gcc milestones 9 and 10, so that the
helper symbols `GCC_9_or_later` and `GCC_10_or_later` can be used.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2021-06-07 18:54:58 +09:00
Chris Packham
89e00e661f expat: Bump to 2.4.1
Bring in fixes CVE-2013-0340.

Fixes #1520

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-05-29 21:33:42 +12:00
Chris Packham
8fe6df1e98 expat: Drop support for 2.1.1
Drop out of date and vulnerable expat version.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-05-29 21:06:17 +12:00
Chris Packham
248967937c
Merge pull request #1517 from graysky2/isl-0.24
Update utils to latest stable
2021-05-26 21:21:37 +12:00
John Audia
9934a20dc8 Update utils to latest stable
* autoconf from 2.69 to 2.71
* isl from 0.22 to 0.24

Signed-off-by: John Audia <graysky@archlinux.us>
2021-05-25 06:05:11 -04:00
Chris Packham
3150bef839
Merge pull request #1515 from messense/glibc-2-24-powerpc64-memset
Add glibc 2.24 fix cmpli usage in power6 memset patch
2021-05-25 20:00:39 +12:00
lancethepants
e4eb901516 Add MinGW version 9.0.0
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2021-05-24 10:24:56 -06:00
messense
1da73325db Add glibc 2.24 fix cmpli usage in power6 memset patch
Signed-off-by: messense <messense@icloud.com>
2021-05-23 19:57:31 +08:00
Bensuperpc
62c89c9ba0 Update linux package and add new version
Update linux package and add new version:
Add 5.12.4
From 5.11.6 to 5.11.21
From 5.4.105 to 5.4.119
From 4.20.9 to 4.20.17
From 4.19.180 to 4.19.190
From 4.9.261 to 4.9.268
From 4.4.261 to 4.4.268
From 3.18.134 to 3.18.139
From 3.16.82 to 3.16.85

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-05-19 10:02:53 +02:00
Chris Packham
6d008334bc
Merge pull request #1510 from messense/glibc-ppc64le-patches
Add GLIBC 2.17 support to powerpc64le-unknown-linux-gnu
2021-05-18 20:46:49 +12:00
messense
0088351811 fix BZ 18116 - build failure on ppc64le: setcontext.S uses power6 mtfsf
when not supported
2021-05-13 19:09:40 +08:00
messense
798904409c Add ppc64le patches for glibc 2.17 from CentOS git 2021-05-13 15:12:54 +08:00
lancethepants
8a96209b69 Update MinGW to version 8.0.2.
Adds support for gcc11.

Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2021-05-12 10:39:11 -06:00
Chris Packham
813b6877e6 strace: Add github mirror
strace.io currently has an expired certificate. The same files are
available via github so add that as a mirror.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-05-11 21:53:46 +12:00
spaun2002
0cf01b55a6 Fix dynamic exception specifications in DUMA tests.
GCC11 now have -std=c++17 by default and c++17 does not allow dynamic
exception specifications.

Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
2021-05-05 01:27:57 -07:00
spaun2002
6ca5f91fb5 Disable -Werror for GLIBC for all ARCH for GCC11.
This change replicates what GLIBC 2.23 has in the string/rawmemchr.c:

// #if __GNUC_PREREQ (11, 0)
//  /* Likewise GCC 11, with a different warning option.  */
//  DIAG_IGNORE_NEEDS_COMMENT (11, "-Wstringop-overread");
// #endif

With -Werror multiple platforms failing on the string/rawmemchr.c:40 line.

Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
2021-05-05 01:26:34 -07:00
spaun2002
37c61914ce Pull patch for macOS from GCC 10.3.0 package.
This should fix linkage error on MacOS.

Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
2021-05-05 01:15:07 -07:00
spaun2002
c4efcd7eaa Initial commit for gcc11
Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
2021-04-28 14:50:18 -07:00
Chris Packham
d01672ee0e Merge branch 'newlib-nano-4.1.0' of git://github.com/galak/crosstool-ng 2021-04-19 20:24:18 +12:00
Kumar Gala
934c971a2a newlib-nano: Add newlib 4.1.0 support
Add symlink to newlib-4.1.0 package details for newlib-nano/4.1.0

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-04-15 01:06:53 -05:00
Chris Packham
d95d0497db ltrace: Add patch to fix compile error for mips
Newer versions of GCC complain:

  plt.c: In function 'arch_elf_add_plt_entry':
  plt.c:359:3: error: '%s' directive argument is null [-Werror=format-overflow=]
    359 |   fprintf(stderr, "%s: failed %s(%#llx): %sn", __func__,
        | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    360 |    name, addr, strerror(errno));
        |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cc1: all warnings being treated as errors

add a patch to avoid this error.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-04-14 22:11:35 +12:00
Kumar Gala
e7a59c419d Update to newlib release 4.1.0
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-04-14 20:15:58 +12:00
Kumar Gala
6a899c6739 libelf: add some mirrors
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-04-13 10:54:03 -05:00
Dima Krasner
65fabf8eda Add musl 1.2.2
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2021-04-10 09:17:09 +03:00
Chris Packham
d6f7b8e43a
Merge pull request #1481 from galak/gcc-10-3
Update to gcc release 10.3.0
2021-04-10 11:43:12 +12:00
Kumar Gala
cf0776ed04 Update to gcc release 10.3.0
Drop patches already in 10.3.0 that had been backported

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-04-08 12:52:38 -05:00
Chris Packham
b25b3d45ce packages/expat: Bump version to 2.3.0
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-04-08 20:19:57 +12:00
Ivan Kukhta
f347fef748 Fix depends generation under windows
Signed-off-by: Ivan Kukhta <Ivan.Kukhta@acronis.com>
2021-04-06 19:53:55 +03:00
Chris Packham
1627971209 Add strace 5.9, 5.10 and 5.11
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-03-30 12:58:47 +13:00
Chris Packham
a92b22e4c7 linux: Add new version and bump LTS
Add 5.11.6
Bump 4.4.251 -> 4.4.261
Bump 4.9.251 -> 4.9.261
Bump 4.14.215 -> 4.14.225
Bump 4.19.167 -> 4.19.180
Bump 5.4.89 -> 5.4.105
Bump 5.10.7 -> 5.10.23

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-03-26 09:46:36 +13:00
Chris Packham
4989e53336 Merge branches 'gcc10_shift_numbering' and 'gcc10_fno-rtti' 2021-03-24 21:31:25 +13:00
Anton Maklakov
1d8899af27 gcc: just shift numbering in patch names 2021-03-23 10:43:06 +07:00
Anton Maklakov
007277d3cf gcc: Fix bootstrap with -fno-rtti 2021-03-23 10:42:40 +07:00
Alexey Brodkin
21f0bc13fb glibc: Add ARC700 support to v2.32 & v2.33
As of today ARCompact (AKA "ARCv1 ISA") processors (mostly those are ARC770)
are not officially supported by upstream glibc as it adds quite some burden
on release ans support of yet another "architecture" port.

But given on ABI and ISA front ARCompact is very close to ARCv2 we may
easily retrofit its support off-the-tree, which we do here.

Also given amount of changes we need to apply there's a hope it will be easy
and straight-forward to apply the same to later versions of glibc.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-02-14 11:13:02 +03:00
Hans-Christian Noren Egtvedt
b8001d14f2 glibc: add version 2.33
Forward ported all local patches from previous glibc release 2.32, they
applied cleanly.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2021-02-12 12:29:24 +01:00
Hans-Christian Noren Egtvedt
edaec2817e binutils: add version 2.36.1
Forward ported patches from binutils 2.35.1, refreshed to match current
sources.

Patch 0008-poison-system-directories.patch did not apply clean and had
minor adjustments to fit new binutils 2.36.1 release.

Dropped the following patches as they have been applied upstream:
- 0009-Import-patch-from-mainline-to-fix-decoding-DWARF-inf.patch
- 0010-arm-Fix-the-wrong-error-message-string-for-mve-vldr-.patch

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2021-02-12 11:54:11 +01:00
Chris Packham
30316cd27a
Merge pull request #1448 from dinuxbg/master
Add PRU target configuration
2021-01-25 12:40:31 +13:00
Dimitar Dimitrov
e7d0485ca2 Add package with PRU linker scripts and headers
Include the gnuprumcu package in PRU cross toolchain.
Toolchain is somewhat useless without device specs and
linker scripts for the various SoCs.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2021-01-19 21:18:55 +02:00
Keith Packard
945b4c6436 Add newlib-nano as companion lib
This allows building newlib-nano in addition to newlib and picolibc,
allowing users to select between C libraries within the same toolchain.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-14 15:05:10 -08:00
Chris Packham
98bfc6fa9c linux: Add new versions and bump LTS
Add 5.9.16 and 5.10.7
Bump 4.4.236 -> 4.4.251
Bump 4.9.236 -> 4.9.251
Bump 4.14.198 -> 4.14.215
Bump 5.4.65 -> 5.4.89
Bump 5.8.9 -> 5.8.18

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-01-13 21:39:16 +13:00
Chris Packham
e64318656c Merge branches 'elijahr-dtc-1.6.0', 'elijahr-readme-typo', 'foss-for-synopsys-dwc-arc-processors-abrodkin-libgmp-for-mac' and 'keith-packard-picolibc-companion' 2021-01-13 19:50:23 +13:00
Elijah Shaw-Rutschman
a24cf23250 packages/dtc: Add 1.6.0
Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
2021-01-12 14:07:32 -06:00
Keith Packard
c74d1d6534 picolibc: Add version 1.5
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-11 23:29:01 -08:00
Keith Packard
43f5079382 gcc: Add support for building libstdc++ with alternate libc
This adds another mode to do_gcc_core_backend that builds libstdc++
against an alternate libc implementation.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-11 22:48:46 -08:00
Keith Packard
f7c033cd10 picolibc: Pull compatibility patches from upstream
1. Allows picolibc's stdio to be used with c++ applications
 2. Includes arm exception information in link rules
 3. Adds picolibc include directory to c++ header paths.

These patches are all upstream in picolibc and included in version
1.5.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-08 17:48:33 -08:00
Keith Packard
e785f7c5c4 picolibc: Pull tarballs from github instead of keithp.com
Way more bandwidth at github.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-07 18:26:08 -08:00
Chris Packham
6b4b43774d packages/ncurses: update ncurses mirror
ftp://invisible-island.net/ncurses doesn't actually have the numbered
ncurses tarball. We've not noticed because we fall back to using the GNU
mirror which does. It's also ftp which is being deprecated.

Switch to https://invisible-mirror.net/archives/ncurses which has the
actual tarballs and provides a secure connection.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-12-18 13:07:38 +13:00
Chris Packham
4ae7ed0113
Merge pull request #1433 from ivanka2012/add-mingw-8.0.0
Add MinGW version 8.0.0
2020-12-17 22:18:22 +13:00
ivanka2012
cacb3109bc Add MinGW version 8.0.0
Signed-off-by: Kittenberger Iván <ivanka2012@gmail.com>
2020-12-14 09:00:34 +01:00
Chris Packham
54b8b91c10 packages/ltrace: Remove stray ':' from URL
Change 'ftp::' to 'ftp:'.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-12-11 09:04:28 +13:00
Kumar Gala
e4ca30ee1c gcc: Additional build fix for building arm64 toolchain on M1 Mac's
If we are targetting an aarch64-none-elf toolchain we end up running
into a build issue in gcc/config/aarch64/driver-aarch64.c.  This is
fixed in upstream gcc so just backport the patch to gcc-10.2.0

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-12-08 07:09:20 -06:00
Kumar Gala
e7b3b20d0b gcc: Add some patches to get gcc 10.2 building on ARM based Mac
Pull in a change from upstream GCC and one from the gcc-darwin-arm64
repo that gets an initial cross compiler building on ARM based Mac.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-12-04 10:53:49 -06:00
Kumar Gala
f1eeb2b0f3 bump to gmp 6.2.1 + patch for ARM based MacOS support
Update to GMP 6.2.1 for MacOS ARM support and pull in one patch
from repo that deal with a possible issue with GMP on MacOS ARM
systems.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-12-04 10:20:19 -06:00
Chris Packham
f7f3b0b180 Merge branch 'jemarch-oracle/ol-support' 2020-11-23 19:56:31 +13:00
Jose E. Marchesi
470ce219af Add Oracle products to crosstool-ng
This commit adds support for the following Oracle products, in order
to target 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 configuration files are provides for the following triplets:

arm-ol7u9-linux-gnueabi
arm-ol7u9-linux-gnueabihf

Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
2020-11-23 19:54:22 +13:00
Egeyar
98d7be9cbf Set the origin of Linux releases
Set the origin of the Linux tarballs to www.kernel.org in order to avoid
getting an empty string in menuconfig.

Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
[cp: use kernel.org]
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-11-23 19:54:15 +13:00
Kumar Gala
15a49fa4fd gcc: add build fix for aarch64 toolchain on MacOS X
When building aarch64-unknown-linux-gnu on MacOS X, aarch64-builtins.c
files doesn't build by default with clang on MacOS X.  We need to pass
-std=gnu++11 when building the file for things to work with clang.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-11-11 13:42:02 -06:00
Chris Packham
a4231a555a
Merge pull request #1342 from DspHack/feature/add_support_for_ti_c6x
Experimental: Add support for the Texas Instruments C6X (TMS320C6000 …
2020-11-10 20:29:25 +13:00
Kumar Gala
fe97d0794a binutils: Pull in some bug fixes from binutils 2.35 branch
Expect that if there is a binutils 2.35.2 release these fixes will be
included in there, these are pulled out of the binutils-2_35-branch post
the 2.35.1 release.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-11-06 08:51:19 -06:00
Keith Packard
c14b7c6cfc packages/picolibc: Update to version 1.4.7
New picolibc release has some useful bug fixes

Signed-off-by: Keith Packard <keithp@keithp.com>
2020-10-26 19:37:56 -07:00
lancethepants
1afa04ee6c Add uClibc-ng 1.0.36
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2020-10-15 13:53:59 -06:00
Hans-Christian Noren Egtvedt
80a2e0cf87 glibc: fix version 2.32 not setting correct version string
Backport change from glibc upstream that defines RELEASE as stable
instead of release. This will at least cause the default_cflags to be
set to expected default values again.

Ref issue #1396, although the bigger issue of respecting crosstool-ng
CT_GLIBC_EXTRA_CFLAGS is most likely still not fixed.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-10-05 09:54:46 +02:00
Hans-Christian Noren Egtvedt
04b318a48b binutils: add version 2.35.1
Bump to latest 2.35 minor release from upstream, now 2.35.1, replaces
version 2.35.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-09-22 22:40:57 +02:00
Chris Packham
98dc68b31e linux: Add new versions and bump LTS
Add 5.7.19 and 5.8.9.
Bump 5.5.5 -> 5.5.19
Bump 4.19.105 -> 4.19.145
Bump 4.14.171 -> 4.14.198
Bump 4.9.214 -> 4.9.236
Bump 4.4.214 -> 4.4.236

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-15 19:30:51 +12:00
Matthias Weisser
8a80a5723c Added strace 5.6, 5.7 and 5.8 2020-09-14 13:07:25 +02:00
Chris Packham
a6442e19a3
Merge pull request #1386 from galak/gdb-9.2
gdb 9.2 support
2020-09-14 20:28:58 +12:00
Chris Packham
7921c0d112
Merge pull request #1379 from egtvedt/add-mpc-1.2.0-and-mpfr-4.1.0
Add support for mpc 1.2.0 and mpfr 4.1.0
2020-09-14 20:22:19 +12:00
Kumar Gala
e48b156664 gdb 9.2 support
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-09-11 16:44:20 -05:00
Chris Packham
63bd9b9f53 Merge branch 'musl-update' of git://github.com/dimkr/crosstool-ng into dimkr-musl-update 2020-09-06 21:41:55 +12:00
Chris Packham
fb08fb616f Merge branch 'picolibc' of git://github.com/keith-packard/crosstool-ng into keith-packard-picolibc 2020-09-06 21:40:41 +12:00
Chris Packham
645ee12492 glibc: Don't build with -Werror for powerpc64+glibc-2.32
When building powerpc64+glibc-2.32 we see the following error:

[ALL  ]      In file included from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26,
[ALL  ]                       from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18:
[ALL  ]      ../string/wordcopy.c: In function '_wordcopy_fwd_aligned':
[ERROR]      ../string/wordcopy.c:98:26: error: 'a1' may be used uninitialized in this function [-Werror=maybe-uninitialized]
[ALL  ]         98 |       ((op_t *) dstp)[0] = a1;
[ALL  ]            |       ~~~~~~~~~~~~~~~~~~~^~~~
[ALL  ]      In file included from ../sysdeps/powerpc/powerpc64/power4/../../powerpc32/power4/memcopy.h:38,
[ALL  ]                       from ../sysdeps/powerpc/powerpc64/power4/memcopy.h:1,
[ALL  ]                       from ../string/wordcopy.c:23,
[ALL  ]                       from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26,
[ALL  ]                       from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18:
[ALL  ]      ../string/wordcopy.c: In function '_wordcopy_fwd_dest_aligned':
[ERROR]      ../sysdeps/generic/memcopy.h:72:61: error: 'a3' may be used uninitialized in this function [-Werror=maybe-uninitialized]
[ALL  ]         72 | #define MERGE(w0, sh_1, w1, sh_2) (((w0) << (sh_1)) | ((w1) >> (sh_2)))
[ALL  ]            |                                                             ^~

This seems to only trigger for powerpc64. Other architectures build
cleanly. For now avoid specifying -Werror for powerpc64+glibc-2.32.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-03 22:47:02 +12:00
Keith Packard
c15de32ec6 Add picolibc support [v2]
This adds support for using picolibc instead of newlib on embedded
systems.

Signed-off-by: Keith Packard <keithp@keithp.com>

v2:
	Add check for meson and ninja
	Sync option default values with current picolibc defaults
	Remove xtensa sys header file install as those aren't in picolibc
2020-09-01 09:42:53 -07:00
Chris Packham
4e5bc43627
Merge pull request #1371 from egtvedt/add-glibc-2.32
Add support for glibc 2.32
2020-08-30 20:59:17 +12:00
Chris Packham
a2b4eab30c
Merge pull request #1366 from antmak/bugfix/zlib_macos_patch
zlib-1.2.11: Add a patch to cross-compile for macos
2020-08-30 20:57:44 +12:00
Hans-Christian Noren Egtvedt
33bb22c461 Add support for mpc 1.2.0 and mpfr 4.1.0
Add the latest releases of mpc (1.2.0) and mpfr (4.1.0).
2020-08-27 11:39:28 +02:00
Hans-Christian Noren Egtvedt
793d65899f Add support for binutils 2.35
Forward ported patches from binutils 2.34, refreshed to match current
sources.

Patch 0008-poison-system-directories.patch did not apply clean and had
minor adjustments to fit new binutils 2.35 release.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-08-27 11:35:59 +02:00
Hans-Christian Noren Egtvedt
45a01960fc Add support for GCC 10.2.0
Forward ported patches from GCC 9.x, refreshed to match current sources.

Patch 0010-crystax.patch did not apply clean and had minor adjustments
to fit new GCC 10.2.0 release.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-08-27 11:35:59 +02:00
Hans-Christian Noren Egtvedt
b0c0005f8a Update to GCC 9.x to latest release 9.3.0
Forward ported patches from GCC 9.2.0 to 9.3.0, refreshed to match
current sources.

Patch 0010-crystax.patch did not apply clean and had minor adjustments
to fit new GCC 9.3.0 release.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-08-27 11:35:59 +02:00
Hans-Christian Noren Egtvedt
c0f2d7016b Patch glibc to support building with GCC 10 based toolchains 2020-08-27 11:35:59 +02:00
Chris Packham
d908f53ffa
Merge pull request #1246 from nikkon-dev/spaun2002/add_glibc_2_19_patch
Add powerpc asm fix for glibc 2.19
2020-08-26 19:32:47 +12:00
Chris Packham
60473e7274
Merge pull request #1362 from cpackham/patch-1
glibc: Fix typo in package.desc
2020-08-23 20:47:30 +12:00
Chris Packham
df4e432a0b
Merge pull request #1356 from ndusart/gold-gcc-10
fix missing include of string in binutils older than 2.33
2020-08-23 20:40:31 +12:00
Chris Packham
0c3426eaec
Merge pull request #1352 from jakublabenski/master
Allow glibc 2.12 - 2.20 to work with GCC 10+
2020-08-23 20:39:07 +12:00
Chris Packham
d1a320d6cf
Merge pull request #1331 from cpackham/gcc-8.4.0-fix
gcc: Remove nested 8.3.0 directory
2020-08-23 20:37:38 +12:00
Chris Packham
2fbf355f28
Merge pull request #1220 from claymation/patch-1
Fix native gdb aarch64 musl build
2020-08-23 20:35:04 +12:00
Chris Packham
2511663ff9
Merge pull request #1230 from imphil/expat-non-sf-download-link
Expat: Provide a non-sourceforge download link
2020-08-23 20:27:11 +12:00
Chris Packham
0188e9f7ae
Merge pull request #1200 from bverhagen/master
Removed http://www.mr511.de/software mirror from libelf package description
2020-08-23 20:25:52 +12:00
Dima Krasner
4c1d5aadfb Add musl 1.2.1
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2020-08-20 08:58:40 +03:00
Hans-Christian Noren Egtvedt
107e8111c3 Add support for glibc 2.32
Forward ported 0000-typedef-caddr.patch from previous release (2.31).

Dropped the 0001-Add-ARC-architecture.patch file, since ARC support is
included in glibc release 2.32.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-08-14 10:23:49 +02:00
Anton Maklakov
882e9a1e88 zlib-1.2.11: Add a patch to cross-compile for macos 2020-08-03 13:41:48 +07:00
Chris Packham
05ec369391
glibc: Fix typo in package.desc
Simple typo fix
2020-07-12 21:15:20 +12:00
spaun2002
3d3da62987 Add power6 patch to all the glibc versions that need it 2020-07-07 16:10:36 -07:00
Nikita Konyuchenko
93f566b0a1 Add powerpc asm fix for glibc 2.19
Integration of the https://patchwork.ozlabs.org/patch/686205/ fix by Joseph Myersk

Signed-off-by: spaun2002 <spaun2002mobile@gmail.com>
2020-07-07 16:10:36 -07:00
Nicolas Dusart
ab3497e663
fix missing include of string in binutils older than 2.33
Signed-off-by: Nicolas Dusart <nicolas@freedelity.be>
2020-06-17 17:43:35 +02:00
Jakub Labenski
3a39186a4b Allow glibc 2.12 - 2.20 to work with GCC 10+ 2020-06-08 08:58:48 +02:00
Dan Tejada
d532f02542 Experimental: Add support for the Texas Instruments C6X (TMS320C6000 series) DSPs
-- c6x: Add support for c6x product families to pass on to uClibC-ng
  -- c6x: Fix multilib support
  -- c6x: Add patch fix internal instruction error (GCC 57295)

Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
2020-05-20 21:16:14 -04:00