Commit Graph

358 Commits

Author SHA1 Message Date
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
Philipp Wagner
eb9074cc9f Expat: Provide a non-sourceforge download link
The same binaries are now hosted on GitHub releases (and looking at the
homepage, that's the only download location they are offering). Use that
mirror at least as an option.
2020-05-04 17:16:26 +01:00
Chris Packham
1b29292f89 gcc: Remove nested 8.3.0 directory
When GCC was updated to 8.4.0 the patches were moved incorrectly. Fix
this now so that they will be picked up.

Fixes: commit 31ca84ac ("Update to gcc 8.4.0")
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-05-01 15:27:50 +12:00
Bryan Hundven
5659366bf6
Merge pull request #1319 from cpackham/gcc-8.4.0
Update to gcc 8.4.0
2020-04-22 22:59:39 -07:00
Nayab Basha Sayed
a3519c8874 uClibc-ng-1.0.33.tar.lz removed chksum as the package size 0 bytes.
Signed-off-by: Nayab Basha Sayed <basha@nayab.xyz>
2020-04-04 00:33:37 +05:30
Nayab Basha Sayed
965ed6ead7 uClibc-ng-1.0.33 latest chksum updated. Patch not required.
Signed-off-by: Nayab Basha Sayed <basha@nayab.xyz>
2020-04-04 00:03:13 +05:30
Alexey Neyman
be1b566768
Merge pull request #1321 from stilor/master
Expat 2.2.9 now has XZ/LZ/GZ archives
2020-03-18 12:39:52 -07:00
Alexey Neyman
c48f851c3b Expat 2.2.9 now has XZ/LZ/GZ archives
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-03-18 12:37:51 -07:00
Chris Packham
31ca84ac88 Update to gcc 8.4.0
https://gcc.gnu.org/legacy-ml/gcc/2020-03/msg00042.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-03-18 21:53:39 +13:00
Alexey Neyman
fa01486ac3
Merge pull request #1318 from stilor/master
GLIBC 2.28 milestone has a dependency
2020-03-17 15:35:04 -07:00
Alexey Neyman
1aec4479c7 GLIBC 2.28 milestone has a dependency
... but no definition after af2f3ac9c.

Signed-off-by: Alexey Neyman <stilor@att.net>
2020-03-17 15:33:49 -07:00
Alexey Neyman
29422b2eda Disallow PPS SPE ABI
with GCC 9+ and GLIBC 2.30+, they no longer support it.

Signed-off-by: Alexey Neyman <stilor@att.net>
2020-03-04 11:41:04 -08:00
Alexey Neyman
2ae68d9150 Fix upstream for undeclared PAGE_SHIFT
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-03-03 16:37:09 -08:00
Alexey Neyman
f290ad2417 Update ARC patch to glibc 2.31
Build-tested only.

Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
66fda90728 elf2flt: handle binutils 2.34 API
temporary patch, PR pending upstream

Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
ab42e62466 New Linux versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
995e2e6fae Add uClibc-ng 1.0.33
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
9089918053 Add strace-5.5
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
b9600c9eba Add newlib 3.2.0, 3.3.0
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
0c5f61514b Add ncurses 6.2
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
39910606b3 Add make 4.3
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
97b91df38e Add GMP 6.2.0
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
a74f8d9ccb Add glibc 2.31
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
701974efa4 Add gdb-9.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
cd2e3276b6 Slide the checked out tag of elf2flt
Also, add an ability to download rolling releases to manage-packages.sh.

Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
db980376cd Add binutils 2.34
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
13511cfbc0 Upstream patch to disable FORTIFY_SOURCE on mingw32
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-09 00:36:18 -08:00
Alexey Neyman
d35d267278 Upstrean fix for CET-enabled compiler with no --enable-cet
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-03 16:12:38 -08:00
Alexey Neyman
e503877f8a Pick up gettext patch for pthread_sigmask build on mingw32
Fixes #1272.

Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-03 16:12:38 -08:00
Alexey Neyman
1768ae413f Version updates
bison, elf2flt, gcc, isl, linux, mingw-w64, strace.

Adjust checksum ordering in uclibc-ng so that it matches what the script
generates.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-12-25 18:30:23 -08:00
Alexey Neyman
c0cca1a654
Merge pull request #1265 from nolange/add_musl_124
Add musl 1.1.24
2019-12-23 15:29:50 -08:00
Alexey Neyman
33d2d9ffb8
Merge pull request #1268 from egtvedt/add-binutils-2.33.1
binutils: add version 2.33.1
2019-12-23 15:27:05 -08:00
Alexey Neyman
1224957546
Merge pull request #1263 from dimkr/uclibc-ng-1.0.32
uClibc-ng: add 1.0.32
2019-12-23 15:19:36 -08:00
Sam Elliott
976eb1f80c Add Recent expat version 2019-12-06 17:43:29 +00:00
Hans-Christian Noren Egtvedt
931b37a405 binutils: add version 2.33.1
Forward ported patches from version 2.32, and refreshed them so they
apply clean.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2019-10-23 10:01:01 +02:00
Norbert Lange
ba149b2210 Add musl 1.1.24
Signed-off-by: Norbert Lange <nolange79@gmail.com>
2019-10-19 00:18:55 +02:00
Dima Krasner
399168d0de uClibc-ng: add 1.0.32 2019-10-17 15:58:14 +03:00
Alexey Neyman
8a7f46f151 GDB 8.3+ needs IPv6
... which wasn't enabled in uClibc-ng by default

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-02 09:35:46 -07:00
Alexey Neyman
015b161cd9 Add strace 5.x
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:44 -07:00
Alexey Neyman
1efbdfcd7f Add musl 1.1.23
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:44 -07:00
Alexey Neyman
064711469c Add Linux versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:44 -07:00
Alexey Neyman
dca5c8ef8a Add libiconv 1.16
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:44 -07:00
Alexey Neyman
931e2daf6e Add gettext 0.20.1
Two patches from 0.18.8.1 were dropped:
- one changing the declaration of environ is no longer needed, the
corresponding files no longer have this declaration
- one with Woe32 fixes for -O0 may need to be re-added but only after I
find what configuration breaks without it; gettext sources overwent a
massive restructuring so this patch should not be applied without
testing.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:22 -07:00
Alexey Neyman
07594d1e8b Add GDB 8.3.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:22 -07:00
Alexey Neyman
50e0639ff9 Upgrade expat 2.2.6 to 2.2.8
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:22 -07:00
Alexey Neyman
75369c254c Add dtc 1.5.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:22 -07:00
Alexey Neyman
e9a2ddea85 Add bison 3.4.2
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:22 -07:00
Alexey Neyman
3c0ac9fbfd
Merge pull request #1192 from nolange/add_isl_021
Add isl 021
2019-10-01 21:20:29 -07:00
Alexey Neyman
4b3526029b
Merge pull request #1229 from imphil/zlib-other-mirror
zlib: Provide other mirror
2019-10-01 21:18:16 -07:00
Alexey Neyman
b18ce512f5
Merge pull request #1223 from egtvedt/add-gcc-9.2.0
Update to gcc 9.2.0
2019-09-30 23:46:14 -07:00
Alexey Neyman
fdcfffebf6
Merge pull request #1233 from cpackham/fixup-arc-patch
glibc: arc: Don't interfere with other architectures
2019-09-30 23:43:24 -07:00
Alexey Brodkin
fb1736fb48 glibc-2.30: Re-add ARC support
So again due to non-technical reasons (lack of public documentation
of ARC instruction set which we actively work on but no yet published)
we missed upstream 2.30 release.

Still the code is there, we regularly run full test-suite and are confident
in port's quality and robustness.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2019-09-06 14:28:15 +03:00
Chris Packham
01e21d90f7 glibc: arc: Don't interfere with other architectures
Fixes: #1227

Adjust the ARC patch so that it only sets with_fp_cond when the machine
is arc.

https://github.com/foss-for-synopsys-dwc-arc-processors/glibc/issues/7

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2019-09-05 14:17:18 +12:00
Chris Packham
7b362e6dae Add glibc 2.30
Add the GNU C Library version 2.30. Bring forward the
typedef-caddr.patch. Skip the ARC patch for now.

https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2019-09-05 11:32:23 +12:00
Philipp Wagner
f92fe92e16 zlib: Provide other mirror
Currently, SourceForge is down and downloads give a 500 error. That's
not overly uncommon (even less often the case these days). Fortunately,
zlib provides another mirror on their homepage, add that as option to
the package description. (https://www.zlib.net/)
2019-09-03 13:31:41 +01:00
Hans-Christian Noren Egtvedt
a6c36d3e7d Update to gcc 9.2.0
Forward ported patches from GCC 8.3.0 to 9.2.0, refreshed to match
current sources.

In patch 0012-crystax.patch, removed changing sysv4.h header file for
rs6000, since it no longer defines LINK_EH_SPEC.

Removed the following patches because they are part of upstream:
- 0018-ARC-Add-multilib-support-for-linux-targets.patch
- 0020-ARM-fix-cmse.patch
- 0021-arm-Make-arm_cmse.h-C99-compatible.patch
- 0022-ARC-Update-fma-expansions.patch

Renamed 0019-isl-0.20.patch => 0018-isl-0.20.patch.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2019-08-15 12:11:19 +02:00
Clay McClure
1af0f42607
Fix native gdb aarch64 musl build
Apply the patch from https://patchwork.openembedded.org/patch/161442/, which explains why gdb should include <signal.h> instead of <asm/sigcontext.h>.
2019-07-30 19:30:08 -07:00
Bart Verhagen
435f682430 Removed http://www.mr511.de/software mirror from libelf package description, as it no longer hosts the source file
Resolves #1199

Signed-off-by: Bart Verhagen <barrie.verhagen@gmail.com>
2019-06-05 18:17:26 +02:00
Norbert Lange
8755ef4b84 Add isl 0.21
Signed-off-by: Norbert Lange <nolange79@gmail.com>
2019-05-07 14:25:27 +02:00
Norbert Lange
938972f461 Fix isl 0.20 checksums
Signed-off-by: Norbert Lange <nolange79@gmail.com>
2019-05-07 14:25:20 +02:00
Alexey Neyman
afaf7b9a25
Merge pull request #1189 from dimkr/musl-1.1.22
Add musl 1.1.22
2019-05-04 14:55:02 -07:00
Dima Krasner
9855ca3391 Add musl 1.1.22
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2019-05-02 13:04:47 +03:00
Alexey Brodkin
01c04bf502 package/gcc: Fix Glibc compilation for ARC with -mcpu= hs38_linux
Back-port of upstream fix:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5664ecf49828edb20f53937ab2e417ba173fc903

Fixes: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90103

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2019-04-17 10:30:34 +03:00
Alexey Brodkin
e9e30581e6 glibc: Add ARC support
ARC port of Glibc was submitted to the mailing list recently [1]
but due to late submission it didn't make it in Glibc 2.29 release.

Hopefully by the time of next release it will be a part of upstream
release but for now we have to use off-the-tree patch.

Still it's proven to work internally as well as its test-suite
shows brilliant results as might be seen from [1]:
------------------>8-------------------
Summary of test results:
     24 FAIL
   5124 PASS
     27 UNSUPPORTED
     19 XFAIL
------------------>8-------------------

Moreover ARC's Glibc port is known to work in Buildroot, OpenEmbedded
and even Automotive Grade Linux distro so we should be good having
this patch for Glibc.

BTW the patch itself is a copy of the one I use in OE, see [2].

[1] https://sourceware.org/ml/libc-alpha/2018-12/msg00678.html
[2] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/recipes-core/glibc/files/0031-Add-ARC-architecture.patch

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2019-04-17 10:30:34 +03:00
Alexey Neyman
cbd9af9ac9 event-loop.h is included via other paths, too
... so instead add an include guard.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-14 12:06:34 -07:00
Alexey Neyman
8b8e6b4e5d Remove "event-loop.h" inclusion from "top.h"
Older GCCs (e.g. GCC 4.4 in CentOS 6) chokes on having two identical
typedefs like this:

typedef void *p;
typedef void *p;

The event-loop.h header does not have a guard against double-inclusion.
Not the best solution, but it works and eventually 7.12 will fall into
obsolescence anyway.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-13 23:56:12 -07:00
Alexey Neyman
de36f78f89 Allow older GDB to build against newer glibc
Also, fix the subdir used when only gdbserver is built (without native
GDB).

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-11 00:33:22 -07:00
Alexey Neyman
1e25ebc7e0 Move GDB build into a common backend function
... needed to create a common runtime test for an incompatible change
in glibc API.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-09 18:01:30 -08:00
Alexey Neyman
32af07341d GDB 7.12.1 fails to build in certain configurations
... for which we pick up a patch from upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-06 00:51:36 -08:00
Alexey Neyman
b3cce054ef Meet our new companion tool, bison
Which is here courtesy of CentOS6, which only has bison 2.4 - while new
glibc requires 2.7.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-04 00:22:02 -08:00
Alexey Neyman
862c35457d Fix build of glibc 2.29 on systems with obsolete host programs
- Force building make as a companion tool if host make is older than
4.0 (CentOS 7 currently has 3.82)
- Disable 2.29 as a choice if host python is older than 3.4
(CentOS 7 has 2.6 unless python from EPEL is installed)
- Python2 emits its version information to STDERR. Ugh.

While there, also use the detected host Python for GDB configuration.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-02 15:45:37 -08:00
Alexey Neyman
857b7928b8 uClibc-ng replaced a broken .lz tarball for 1.0.31
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28 11:05:36 -08:00
fidomax
6f035fc3f5
Add extra mirror to libelf package 2019-02-27 08:24:15 +03:00
Alexey Neyman
c0844b6c88 Run GCC 8.3.0 patches through manage-packages.sh -P
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-25 15:54:20 -08:00
Kumar Gala
b96a10ab5a Update to gcc 8.3.0
Had to update the following patches so they'd apply:

0006-libgfortran-missing-include.patch
0010-crystax.patch

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-02-23 11:37:15 -06:00
Alexey Neyman
8a61f74f38 Pick up a newer revision of elf2flt
... which includes the two local patches we have.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-18 00:55:23 -08:00
Alexey Neyman
187aee1735 No longer mark newlib 3.x experimental
... they seem to have overcome the birthing pains of 3.0.0 and build is
stable.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-18 00:36:26 -08:00
Alexey Neyman
d5c73fd9e6 strace 4.26 doesn't build on mips/o32
... so pick up a patch from upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-15 13:39:50 -08:00
Alexey Neyman
2c6b185c41 Patch elf2flt to fix the breakage with host GCC8
... and binutils 2.32 (more headers needed).

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-14 23:32:25 -08:00
Alexey Neyman
91d01a0e47 Another wave of version updates
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 22:47:07 -08:00
Alexey Neyman
5aed6ab6e2
Merge pull request #1134 from stilor/upgrading
Upgrade script + test suite
2019-02-06 22:46:14 -08:00
Alexey Neyman
0fe21f8db8 Config v2: select relevant parts of each package version
Also, remove a couple of config options that dealt with package versions
that have been since retired.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-30 00:09:30 -08:00
Alexey Neyman
20c6accc65 Retire GDB 7.0a, superseded by 7.0.1a
(missed by "retire old versions" commit awhile ago)

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26 13:31:03 -08:00
Alexey Neyman
127c6cc64d Replace GDB 7.8.1 with 7.82
When merging new package framework, I missed that master had 7.8.2
imported in place of 7.8.1. Noone complained about this downgrade...

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26 13:13:32 -08:00
Bryan Hundven
11dd696c64 [musl-libc] Add 1.1.21
https://www.openwall.com/lists/musl/2019/01/21/8

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2019-01-23 13:46:24 -08:00
Alexey Neyman
faa7849782 Import GCC 7.4.0
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 00:33:35 -08:00
Alexey Neyman
e149e28e57 Disable -fstack-protector* from being used by glibc
... until it was fixed (to some extent) in 2.25.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 00:03:04 -08:00
Alexey Neyman
f5b57504d2 Add configuration options for enabling SSP
... in uClibc and glibc.

Fixes #681.

While here, relocate additional "sources" for uClibc/binutils into packages/
directory.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-04 16:15:37 -08:00
Alexey Neyman
893932e90f Add a config option for default RELRO setting
Fixes #656.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-03 20:19:09 -08:00
Alexey Neyman
7185ac031a Strace needs a patch with Linux 4.19+
Also, they moved their repository.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-03 15:29:35 -08:00
Alexey Neyman
40d5bf6440 Add moxiebox as a choice for libc
This required some rework of the libc selection, as moxiebox is a layer on
top of another libc - newlib.

Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will
not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox
needs from libcrypto is SHA256, and it already includes a standalone implementation
of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use
that implementation for the host binary, too.

Also, automate collecting/printing the list of all packages in a given category
(e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given
category.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01 10:10:51 -08:00
Alexey Neyman
da76ae3ea3 Add DTC as a companion tool
(needed for cross-gdb targeting the moxie-* targets)

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-28 00:30:10 -08:00
Alexey Neyman
58dd139ca0 Add uClibc-ng 1.0.31
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-17 18:40:26 -08:00
Alexey Neyman
4294786178 Update Linux versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-08 00:24:52 -08:00
Alexey Neyman
48fa32776e Import gcc 6.5.0
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-07 23:46:35 -08:00
Alexey Neyman
167b848777 Fix the location for elf2flt patches
... after the git version numbering was adjusted.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-01 16:36:42 -07:00
Alexey Neyman
7c4c6892b9
Merge pull request #1044 from abrodkin/topic-arc-linux-4.8
Disallow linux versions before 4.8 for ARC
2018-10-29 23:31:44 -07:00
Alexey Neyman
f72283d8b1 Fix gnulib build against glibc 2.28
(upstream commit from gnulib).

Fixes #1050.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-08 23:51:11 -07:00
Alexey Neyman
8f86bd8078 Restore binutils (gold) build on mingw32 host
Fixes #1049.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-07 22:36:26 -07:00
Alexey Neyman
53f30ea89f Add a comment explaining why CT_Mirrors is not used
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06 10:24:55 -07:00
Alexey Neyman
6e85d0202f Remove android-ndk-r18
It no longer supports GCC.

Fixes #1047.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06 10:13:28 -07:00
Alexey Neyman
8236e5d996 Fix fdivp argument order
Patch from upstream. Bug didn't exist in 2.14.1 and fix is already
applied in 2.16.

Fixes #1048

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06 08:43:57 -07:00
Alexey Brodkin
7b929a528e Disallow linux versions before 4.8 for ARC
Inspired by a similar fix for AArch64 in 481cbaac9b.

The point is in Linux v4.8 we introduced new ABIv4 which is now used in
both Linux kernel and up-to-date GNU tools for ARC (based on GCC 6.x+).
See [1] for more details.

[1] https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki/ARC-Linux-Syscall-ABI-Compatibility

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-10-01 11:34:12 +03:00
Alexey Neyman
9ea66ee43f Fix older automake with newer Perl
Fixes #973.
Fixes #987.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29 15:27:44 -07:00
Alexey Neyman
c14bdd833a Fix compilation against binutils-2.31.1
... where <bfd/bfd.h> also needs <bfd/diagnostics.h>.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29 14:11:07 -07:00
Alexey Neyman
481cbaac9b Disallow linux versions before 3.7 for aarch64
Fixes #1028

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29 11:30:54 -07:00
Alexey Neyman
83a5eb4084 Patches to fix ld's abort on xtensa
Also while there, fix the naming (some patches ended up with two sequence numbers somehow).

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28 15:43:17 -07:00
Alexey Neyman
6ad79d8932 Add globbing patches to make from upstream
Fixes #1004.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28 11:47:57 -07:00
Kumar Gala
b06864f7df Pull in fixes for ARM v8m support in gcc 8.2.0
There are some fixes to the cmse code in mainline gcc that we need to
build an embedded toolchain targetting Cortex-M cpus that support the
v8m extensions.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-09-27 04:26:52 -05:00
Alexey Neyman
581e8a514b Fix build with ISL 0.20
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-25 17:22:34 -07:00