Commit Graph

281 Commits

Author SHA1 Message Date
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