Commit Graph

467 Commits

Author SHA1 Message Date
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
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
Alexey Neyman
98834458f1 Upgrades. Lots of 'em.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-24 23:09:53 -07:00
Alexey Neyman
8026e6a013
Merge pull request #994 from jcmvbkbc/xtensa-fix-pr65416
package/gcc: fix xtensa PR target/65416
2018-09-23 11:35:59 -07:00
Bryan Hundven
5b42c4cb05 Add musl-libc 1.1.20
Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
2018-09-22 23:20:14 -07:00
Evgeniy Didin
4a881ea56e patches: mpfr: Fix obsolete ARC asm constraints
Adding this patch fixes errors while building mpfr for native ARC
toolcahin. Error messages are:
-----------------------------------------------------8<------------------
...
[ERROR]   .build/HOST-arc-snps-linux-uclibc/arc-snps-linux-uclibc/src/
  mpfr/src/mpfr-longlong.h:423:3: error: impossible constraint in 'asm'
...
[ERROR]  >>  Build failed in step 'Installing MPFR for host'
-----------------------------------------------------8<------------------

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
2018-08-21 15:51:09 +03:00
Max Filippov
c41b9641b1 package/gcc: fix xtensa PR target/65416
gcc-8.1 for xtensa miscompiles uClibc dynamic linker due to gcc PR
target/65416. The build completes successfully, but the binary is
non-functional because the following fragment in the _dl_get_ready_to_run
in ld-uClibc.so overwrites register spill area on stack causing register
corruption in the previous call frame and a subsequent crash:

    419f:       f0c1b2          addi    a11, a1, -16
    41a2:       1ba9            s32i.n  a10, a11, 4
    41a4:       0bc9            s32i.n  a12, a11, 0
    41a6:       5127f2          l32i    a15, a7, 0x144
    41a9:       1765b2          s32i    a11, a5, 92
    41ac:       4e2782          l32i    a8, a7, 0x138
    41af:       146af2          s32i    a15, a10, 80
    41b2:       001b10          movsp   a1, a11

The crash terminates the init process and causes kernel panic.
The fix prevents reordering of movsp opcode and any access to the stack
frame memory and is applicable to all existing gcc versions.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2018-06-24 14:40:26 -07:00
Alexey Neyman
b24431f477 Add upstream patch fixing XScale build
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-06-05 00:16:53 -07:00
Alexey Neyman
cc2fe3dbde Backport a gcc8 fix from upstream
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-06-05 00:16:37 -07:00
Dima Krasner
5d335281d9 linux: removed 2.6.32.27
Signed-off-by: Dima Krasner <dima@securingsam.com>
2018-05-31 11:15:19 +03:00
Dima Krasner
718b5e4b03 packages: add uClibc-ng 1.0.30 and last Linux 2.6.32.x
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2018-05-28 16:45:06 +03:00
Alexey Brodkin
ecb09ca417 ARC: Add multilib support for Linux in GCC
We never bothered to build multilibbed Linux toolchains for ARC
and so we ended-up with no support of multilib for arc*-*-linux-*
targets in GCC. That is now fixed in upstream by the following commit:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0eacfbcb2bf1834294f468a2bb41fe5d5e8d3883

Once the fix mentioned above is applied on top of GCC 8.1.0 we may easily build
multilibbed uClibc toolchain for ARC.

Note sice Glibc port for ARC is still in review process we cannot build any Glibc
toolchains for ARC with pure upstream components, for that we eiter need Glibc
sources from our Github repo or apply a set of patches on top of Glibc 2.27 - we'll
try to address this later though.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-05-21 13:43:07 +03:00
Alexey Neyman
ea53be7529
Merge pull request #971 from abrodkin/topic-elf32-multilib
ARC: Add support and sample for baremetal/elf32 multilib toolchain
2018-05-16 10:03:12 -07:00
Alexey Brodkin
62f5b90e2e ARC: Don't mention in multilib not yet supported CPUs
hs4x and hs4xd were mistakenly mentioned in MULTILIB_OPTION/DIRNAMES
before real support of those CPUs was accepted in upstream.

That breaks multilib toolchains building becase we're trying to compile
for not yet known CPU.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-05-16 17:20:23 +03:00
Alexey Brodkin
e714f99d89 ARC: Fix Linux kernel comilation for ARC700
Without this fix we're getting the following error on attempt to build
Linux kernel:
--------------------------------->8---------------------------------
xfrm4_mode_tunnel.s: Assembler messages:
xfrm4_mode_tunnel.s:188: Error: operand out of range (128 is not between -
128 and 127)
--------------------------------->8---------------------------------

The fix is taken from
d8d716f49c
and it is supposed to be merged in upstream GCC sources soonish.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-05-16 15:47:45 +03:00
Alexey Neyman
37ac0e8474 Too many fixes need backporting for GCC8...
... so instead, disable -Werror for older versions of glibc.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-14 23:47:17 -07:00
Alexey Neyman
2b055ddc67 Second batch of backported fixes
getlogin/getlogin_r, zic

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-12 23:17:03 -07:00
Alexey Neyman
387c8d8e2c First batch of fixes
- Incompatible function type for ifunc alias
- Multiple statements macro expansion in strftime
- if_nametoindex size checking

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-12 13:03:29 -07:00
Alexey Neyman
3f16a8e269 Restore a missing GDB option
(whether GDB has --disable-build-with-cxx) and use it.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-06 15:20:50 -07:00
Alexey Neyman
906cfdac7c Add GCC 8.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-05 22:14:43 -07:00
Alexey Neyman
3f1532713e Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uClibc-ng
Also, fix manage-packages.sh after autotoolization.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-12 08:17:05 -07:00
Alexey Neyman
b2af5df5fc Backport GCC fix for partial int modes
... from trunk to GCC7/GCC6/GCC5.

Fixes #742.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-15 09:15:00 -08:00
Alexey Neyman
0a7ce2bed4 uClibc-ng does not implement name_to_handle_at
... so don't declare it, it confuses (at least) eudev's configure.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-11 12:18:16 -08:00
Alexey Neyman
a20c29dcef Make libiconv an option in the menu config
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10 14:51:45 -08:00
Alexey Neyman
89fdeb9af2 uClibc-ng retired RPC support as of 1.0.23
... make the corresponding option conditional.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10 12:11:14 -08:00
Alexey Neyman
79b100707b Bring in GDB 8.1 and glibc 2.27.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-03 12:05:29 -08:00
Alexey Neyman
36bb675a71 More fixes after the upgrades:
- GLIBC requires a fix to work with binutils 2.30 on aarch64. This fix
  relies on binutils 2.24 or newer, which is okay for glibc 2.26 since
  it needs 2.25 or newer anyway. But older glibc versions are now pinned
  to binutils 2.29 or older on aarch64.
- xtensa needs patches in libgcc with gcc 7.3.
- comment in newlib's patch to indicate it is a reversal of a commit.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-30 15:08:18 -08:00
Alexey Neyman
1c329c33bf Ncurses fixes for 6.1
- Update to 20180129
- Throw in --disable-db-install if database is disabled; otherwise
  'make install' tries to run tic which is not built.
- Select appropriate strip utility for the host; otherwise non-x86
  architectures fail to install (unless --disable-stripping is also
  added)

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-29 22:47:26 -08:00
Alexey Neyman
30d741c1e5 Newlib 3.0.0 seems to be a very broken release
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-29 00:43:36 -08:00
Alexey Neyman
c3591a5ca4 Newlib developers should at least try to compile it
... before publishing a release.
2018-01-28 22:02:53 -08:00
Alexey Neyman
66ad1ff514 Upgrade to new releases
android-ndk, binutils, gcc, linux, mpfr, ncurses, newlib, uclibc-ng

MPC vs MPFR dependencies required modifications in auto-generated templates
to also provide non-inclusive older-than/newer-than specifications.

Also correct MPC URLs, the website seems to have adjusted its directory
layout.

Currently, newlib 3.0.0 doesn't build for arm-nano-eabi.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-28 19:25:47 -08:00
Alexey Neyman
6509c67082 More uClibc fixes from upstream
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-05 01:35:16 -08:00
Alexey Neyman
a40d63cb04 Pick up linking fix from upstream
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-05 01:09:40 -08:00
Alexey Neyman
9d5da1886a Bunch of upgrades: android-ndk, expat, gcc-linaro, ...
... mingw-w64, musl, strace, uClibc-ng, linux.

Also, regenerate chksum's after @bhundven's upgrade of binutils.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-03 09:20:23 -08:00
Alexey Neyman
98bc4decde Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:44:39 -08:00
Sergey Korolev
080db19355 gcc 7.2.0: fix 977-crystax.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
67b25c7094 gcc 7.2.0: fix 975-crystax.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
4e1c932f7c gcc 7.2.0: fix 973-crystax.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
64b273db83 gcc 7.2.0: fix 972-crystax.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
fd64d3775c gcc 7.2.0: fix 970-crystax.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
fbbbaac5fe gcc 7.2.0: fix 952-bionic-errno.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
c990e6814d gcc 7.2.0: fix 891-fix-m68k-uclinux.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
11c0d6871e gcc 7.2.0: fix 860-cilk-wchar.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
aee990e030 gcc 7.2.0: fix 810-arm-softfloat-libgcc.patch offsets 2017-11-27 18:20:47 +03:00
Sergey Korolev
b5ebf71935 gcc 7.2.0: fix 370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch offsets 2017-11-27 18:20:47 +03:00
Alexey Neyman
c5afabe6c8 Include Makefile.in in gettext 0.19.8.1 patch
Otherwise, make tries to rebuild it and fails.

Fixes #770.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-04 11:52:48 -07:00
Alexey Neyman
8e5de7fcbf Upgrades: gcc 5.5, gdb 8.0.1, musl 1.1.17, Linux
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-23 13:02:01 -07:00
Bryan Hundven
3cafb8d7b5 [binutils] remove 2.29
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2017-10-05 08:51:32 -07:00
Bryan Hundven
caf8e72233 [binutils] Add 2.29.1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2017-10-05 07:21:06 -07:00
Alexey Neyman
4c321260b2 Strace 4.19 needs a patch for uClibc
Taken from upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-30 16:01:52 -07:00
Alexey Neyman
b3038a0a41 Add digests for all packages
Also fix test-packages: it was saving the output from CT_DoLog into
the checksum file. Also use one file per version.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-29 17:05:22 -07:00
Alexey Neyman
ea08141d45 Upgrade expat, mpfr, newlib, strace, linux
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-27 23:28:23 -07:00
Alexey Neyman
48a949cf60 Add an ability to verify the digest/signature
Fixes #611.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-27 22:40:21 -07:00
Alexey Neyman
ff4485ad30 Update gcc-linaro to 2017.08
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-16 13:05:34 -07:00
Alexey Neyman
8bf31117bc Propagate xtensa fix to Linaro versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-16 12:19:26 -07:00
Max Filippov
09259ace3b package/gcc: fix ICE on xtensa, PR target/82181
Memory references to DI mode objects could incorrectly be created at
offsets that are not supported by instructions l32i/s32i, resulting in
ICE at a stage when access to the object is split into access to its
subwords:
  drivers/staging/rtl8188eu/core/rtw_ap.c:445:1:
     internal compiler error: in change_address_1, at emit-rtl.c:2126

Fixes: https://lkml.org/lkml/2017/9/10/151
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2017-09-12 11:33:28 -07:00
Alexey Neyman
e83a2e2333 Pick up uClibc-ng fixes for static GDB build
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:11:23 -07:00
Alexey Neyman
24b0e666b5 Apply ucontext patch to mainstream GCC releases
Not applicable to 4.8, as GLIBC2.26 requires 4.9 or newer. Record
that dependency.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-27 20:27:21 -07:00
Nathan Chancellor
4d012dd566 Fix Linaro GCC build with glibc 2.26
These were added by GCC in July but these branches are from May. I
suspect that they will be added to at least the 6.x and 7.x branches
but 5.x is EOL from Linaro it seems (as the base GCC version hasn't
been updated in a year and a half). For right now, these are needed.

This was testing on an arm64 build but the patches have fixes for all
supported architectures.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2017-08-27 14:28:11 -07:00
Kirill Smirnov
68f201af2d patches/mingw-w64: Fix build with gcc7
Modified by Alexey Neyman: remove obsoleted v5.0.1, propagate the patches
to older versions.

Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-27 00:07:36 -07:00
Alexey Neyman
f627e740ff Merge pull request #814 from stilor/issue-802
Issue 802
2017-08-26 16:29:58 -07:00
Alexey Neyman
eba1a82686 Make --enable-obsolete-rpc an option in ct-ng
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26 13:01:45 -07:00
Alexey Neyman
bf7641d1b9 Backport --enable-obsolete-rpc from 2.16
Fixes #802.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26 13:01:45 -07:00
Alexey Neyman
8aa8a2cbc9 Missed glibc 2.14 when obsoleting releases
Superseded on the branch by 2.14.1.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26 13:01:44 -07:00
Alexey Neyman
a840a08f44 Fix regressions after binutils 2.29
Binutils 2.29 are more picky about versioning of common symbols.
Fix two offenders in glibc versions as applicable.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-25 15:14:00 -07:00
Alexey Neyman
2d7efa5591 Remove .zip from listed extensions for zlib
They mangle the basename into "zlib1211.zip".

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-24 12:00:01 -07:00
Alexey Neyman
b2e2771f85 MPC: older releases are only on master site
Also, Linux stopped making .bz2 tarballs on recent 3.x branches.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-24 00:24:30 -07:00
Alexey Neyman
48b4c8db08 Remove sourceware from glibc mirrors
It only hosts releases up to 2.11.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-23 23:58:50 -07:00
Alexey Neyman
bc30eb4818 Upgrade binutils
Bump 2.28 -> 2.28.1; add 2.29.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-23 17:13:30 -07:00
Alexey Neyman
f8d4ce3d0e Implement a script for checking packages
Then use this script to check that all packages can be extracted and patched.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-23 16:05:40 -07:00
Alexey Neyman
5fc2ca7e8d Remove the glibc patch for -mfloat128
... per discussion on libc-alpha, need to pass --with-glibc-version=
instead to GCC configure.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-22 14:39:57 -07:00
Alexey Neyman
0346153bdb Save export status for environment vars
... and limit our modifications to our variables.

Fixes #762.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-21 08:41:14 -07:00
Alexey Neyman
a8f9fd5454 3.2.x most recent patchlevel is 91, not 93
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-21 07:42:19 -07:00
Alexey Neyman
6239ec9e5d Check if -mfloat128-type needs to be supplied
... in addition to -mfloat128 that glibc 2.26 adds. GCC7 needs both,
GCC6 does not and chokes on unknown option.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-21 07:33:37 -07:00
Alexey Neyman
be399f1046 Record tarball formats
Also, missed upgrades of gmp, isl, mingw-w64

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-18 22:39:26 -07:00
Alexey Neyman
321990916b Trim old versions
Policy:
- Only latest patchlevel for each branch release
  Exception: CLooG - ISL has dependencies on specific CLooG releases within a
  single branch
- Where there are no patchlevel releases (uClibc, musl) - just retain
  two most recent releases

Also, missed automake update: 1.14 -> 1.14.1

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-18 16:17:53 -07:00
Alexey Neyman
5d6ac1b8b1 uClibc-ng: add 1.0.26
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-17 19:03:30 -07:00
Alexey Neyman
f6eb0f8095 strace: add 4.17 and 4.18
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-17 19:03:30 -07:00
Alexey Neyman
160e343c68 Newlib: bump 2.5.0 patchlevel to 20170720
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-17 19:03:30 -07:00
Alexey Neyman
31e776c72b Linux updates
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-17 19:03:30 -07:00
Alexey Neyman
079fbe8568 Add glibc 2.26
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-17 19:03:25 -07:00
Alexey Neyman
08454a985f GCC: 7.1 -> 7.2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-17 19:03:19 -07:00
Alexey Neyman
223a1a47ab Expat: 2.2.1 -> 2.2.3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-17 13:15:56 -07:00
Alexey Neyman
0ddefc34a1 Automake: 1.15 -> 1.15.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-17 13:12:16 -07:00
Alexey Neyman
5382bee02a Android NDK: r15b -> r15c
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-17 13:10:29 -07:00
Alexey Neyman
9b076a39ab Record glibc 2.24+ dependency
... on kernel headers of 3.2 and newer.

Fixes #794.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-16 14:26:31 -07:00
Alexey Neyman
3d470580ce Fix version check in mingw-w64
Fixes #782.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-16 10:47:52 -07:00
Alexey Neyman
3e47aa1c3a Add gcc-linaro 7.1-2017.05
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-17 12:01:10 -07:00
Alexey Neyman
d7b1296b16 Update to GCC 6.4
Deleted patches have been picked up upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-13 10:38:44 -07:00
Alexey Neyman
aa6d4befd0 Typo in binutils package description
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-10 09:05:13 -07:00
Alexey Neyman
fd522eed50 Resolve a few more TBDs
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-09 23:08:12 -07:00
Alexey Neyman
9d91f44bc8 Separate the notions of package name/label
Also, remove resolved TBDs.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:57 -07:00
Alexey Neyman
1b207d0adc Allow packages to define "relevant" part of the version
E.g., only include minor/major of the Linux kernel into the kconfig
symbol. In the future, to be defined by all packages, but for now
matches the current versioning in the packages.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:57 -07:00