Commit Graph

321 Commits

Author SHA1 Message Date
Keith Packard
a35d909459 picolibc: Add support for version 1.7.1
Since 1.6.2, picolibc has had two releases - 1.7 and 1.7.1. Here are
the release notes from those versions.

 1. Add __cxa_atexit implementation to 'picoexit' path as required by
    C++

 2. Fix lack of 'hh' support in integer-only tinystdio printf path.

 3. Fix tinystdio __file flag initialization for C++ apps

 1. Merge libc and libm into a single library. Having them split
    doesn't offer any advantages while requiring that applications add
    '-lm' to link successfully. Having them merged allows use of libm
    calls from libc code.

 2. Add hex float format to *printf, *scanf and strto{d,f,ld}. This is
    required for C99 support.

 3. Unify strto{d,f,ld} and *scanf floating point parsing code. This
    ensures that the library is consistent in how floats are parsed.

 4. Make strto{d,f,ld} set errno to ERANGE on overflow/underflow,
    including when the result is a subnormal number.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-07-13 11:18:47 -07:00
Chris Packham
5ab678eae3 gcc: Bump maintenance versions
8.4.0 -> 8.5.0
9.3.0 -> 9.4.0

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

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

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

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

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

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

Fixes #1520

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

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

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

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

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

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

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

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

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

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

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

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

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

add a patch to avoid this error.

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-01-13 21:39:16 +13:00
Chris Packham
e64318656c Merge branches 'elijahr-dtc-1.6.0', 'elijahr-readme-typo', 'foss-for-synopsys-dwc-arc-processors-abrodkin-libgmp-for-mac' and 'keith-packard-picolibc-companion' 2021-01-13 19:50:23 +13:00
Elijah Shaw-Rutschman
a24cf23250 packages/dtc: Add 1.6.0
Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
2021-01-12 14:07:32 -06:00