crosstool-ng.git
9 hours agoMerge pull request #1309 from stilor/upgrades master
Alexey Neyman [Wed, 26 Feb 2020 19:07:59 +0000 (11:07 -0800)]
Merge pull request #1309 from stilor/upgrades

Upgrades

9 hours agoSet --with-cpu-{32,64} for multilib builds 1309/head
Alexey Neyman [Wed, 26 Feb 2020 16:49:59 +0000 (08:49 -0800)]
Set --with-cpu-{32,64} for multilib builds

GLIBC 2.31 needs --with-cpu=ultrasparc for both 32/64-bits now, and
--with-cpu only sets the CPU model for the "primary" bitness.

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoUpdate ARC patch to glibc 2.31
Alexey Neyman [Wed, 26 Feb 2020 07:30:11 +0000 (23:30 -0800)]
Update ARC patch to glibc 2.31

Build-tested only.

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoelf2flt: handle binutils 2.34 API
Alexey Neyman [Mon, 24 Feb 2020 04:10:31 +0000 (20:10 -0800)]
elf2flt: handle binutils 2.34 API

temporary patch, PR pending upstream

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoNew Linux versions
Alexey Neyman [Mon, 24 Feb 2020 03:27:44 +0000 (19:27 -0800)]
New Linux versions

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoAdd uClibc-ng 1.0.33
Alexey Neyman [Sun, 23 Feb 2020 09:35:45 +0000 (01:35 -0800)]
Add uClibc-ng 1.0.33

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoAdd strace-5.5
Alexey Neyman [Sun, 23 Feb 2020 09:24:25 +0000 (01:24 -0800)]
Add strace-5.5

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoAdd newlib 3.2.0, 3.3.0
Alexey Neyman [Sun, 23 Feb 2020 09:22:38 +0000 (01:22 -0800)]
Add newlib 3.2.0, 3.3.0

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoAdd ncurses 6.2
Alexey Neyman [Sun, 23 Feb 2020 08:57:47 +0000 (00:57 -0800)]
Add ncurses 6.2

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoAdd make 4.3
Alexey Neyman [Sun, 23 Feb 2020 08:24:40 +0000 (00:24 -0800)]
Add make 4.3

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoAdd GMP 6.2.0
Alexey Neyman [Sun, 23 Feb 2020 07:53:16 +0000 (23:53 -0800)]
Add GMP 6.2.0

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoAdd glibc 2.31
Alexey Neyman [Sun, 23 Feb 2020 07:50:29 +0000 (23:50 -0800)]
Add glibc 2.31

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoAdd gdb-9.1
Alexey Neyman [Tue, 18 Feb 2020 00:40:38 +0000 (16:40 -0800)]
Add gdb-9.1

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoSlide the checked out tag of elf2flt
Alexey Neyman [Mon, 17 Feb 2020 21:00:49 +0000 (13:00 -0800)]
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>
9 hours agoAdd binutils 2.34
Alexey Neyman [Mon, 17 Feb 2020 20:59:16 +0000 (12:59 -0800)]
Add binutils 2.34

Signed-off-by: Alexey Neyman <stilor@att.net>
9 hours agoMerge pull request #1306 from cpackham/docker-default-uid
Alexey Neyman [Wed, 26 Feb 2020 19:04:59 +0000 (11:04 -0800)]
Merge pull request #1306 from cpackham/docker-default-uid

testing/docker: set default value for CTNG_UID/CTNG_GID

9 days agotesting/docker: set default value for CTNG_UID/CTNG_GID 1306/head
Chris Packham [Tue, 11 Feb 2020 07:25:37 +0000 (20:25 +1300)]
testing/docker: set default value for CTNG_UID/CTNG_GID

Make the creation of docker images easier so that CTNG_UID/CTNG_GID have
a default value if it's not explicitly specified when building. This
will allow publishing of images on various package repositories (e.g.
docker hub, gitlab containers). dmgr.sh can still be used to set the
UID/GID to that of the current user when building a custom container.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
10 days agoMerge pull request #1270 from nolange/prevent_glibc_cflags_override
Alexey Neyman [Sun, 16 Feb 2020 23:22:44 +0000 (15:22 -0800)]
Merge pull request #1270 from nolange/prevent_glibc_cflags_override

prevent the glibc build from overwriting flags

10 days agoMerge pull request #1266 from nolange/move_builddir_kconfig
Alexey Neyman [Sun, 16 Feb 2020 23:21:45 +0000 (15:21 -0800)]
Merge pull request #1266 from nolange/move_builddir_kconfig

move BUILD_DIR variable into Kconfig

2 weeks agoMerge pull request #1303 from stilor/wip
Alexey Neyman [Sun, 9 Feb 2020 21:26:47 +0000 (13:26 -0800)]
Merge pull request #1303 from stilor/wip

Update docker to ubuntu 19.10

2 weeks agoUpstream patch to disable FORTIFY_SOURCE on mingw32 1303/head
Alexey Neyman [Sun, 9 Feb 2020 08:36:18 +0000 (00:36 -0800)]
Upstream patch to disable FORTIFY_SOURCE on mingw32

Signed-off-by: Alexey Neyman <stilor@att.net>
3 weeks agoIgnore trailing / in container name
Alexey Neyman [Tue, 4 Feb 2020 00:11:33 +0000 (16:11 -0800)]
Ignore trailing / in container name

... so that it is possible to use tab completion when selecting
the container to use.

Signed-off-by: Alexey Neyman <stilor@att.net>
3 weeks agoSuppress YAML support in DTC
Alexey Neyman [Tue, 4 Feb 2020 00:10:59 +0000 (16:10 -0800)]
Suppress YAML support in DTC

... which fails to build if pkg-config is not installed.

Signed-off-by: Alexey Neyman <stilor@att.net>
3 weeks agoUpstrean fix for CET-enabled compiler with no --enable-cet
Alexey Neyman [Fri, 31 Jan 2020 08:57:45 +0000 (00:57 -0800)]
Upstrean fix for CET-enabled compiler with no --enable-cet

Signed-off-by: Alexey Neyman <stilor@att.net>
3 weeks agoPick up gettext patch for pthread_sigmask build on mingw32
Alexey Neyman [Wed, 22 Jan 2020 21:34:04 +0000 (13:34 -0800)]
Pick up gettext patch for pthread_sigmask build on mingw32

Fixes #1272.

Signed-off-by: Alexey Neyman <stilor@att.net>
3 weeks agoReplace Ubuntu 19.04 with 19.10.
Alexey Neyman [Wed, 22 Jan 2020 21:33:15 +0000 (13:33 -0800)]
Replace Ubuntu 19.04 with 19.10.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 weeks agoMerge pull request #1257 from nolange/fix_binutils_typo
Alexey Neyman [Wed, 22 Jan 2020 00:56:17 +0000 (16:56 -0800)]
Merge pull request #1257 from nolange/fix_binutils_typo

fixup typo in bitutils.sh

5 weeks agoMerge pull request #1274 from maxmorozov/master
Alexey Neyman [Wed, 22 Jan 2020 00:44:29 +0000 (16:44 -0800)]
Merge pull request #1274 from maxmorozov/master

CT_LIBC_NEWLIB_REGISTER_FINI is processed correctly

2 months agoMerge pull request #1287 from stilor/version-upgrades
Alexey Neyman [Thu, 26 Dec 2019 12:51:58 +0000 (04:51 -0800)]
Merge pull request #1287 from stilor/version-upgrades

Version updates

2 months agoVersion updates 1287/head
Alexey Neyman [Tue, 24 Dec 2019 01:14:26 +0000 (17:14 -0800)]
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>
2 months agoMerge pull request #1265 from nolange/add_musl_124
Alexey Neyman [Mon, 23 Dec 2019 23:29:50 +0000 (15:29 -0800)]
Merge pull request #1265 from nolange/add_musl_124

Add musl 1.1.24

2 months agoMerge pull request #1268 from egtvedt/add-binutils-2.33.1
Alexey Neyman [Mon, 23 Dec 2019 23:27:05 +0000 (15:27 -0800)]
Merge pull request #1268 from egtvedt/add-binutils-2.33.1

binutils: add version 2.33.1

2 months agoMerge pull request #1263 from dimkr/uclibc-ng-1.0.32
Alexey Neyman [Mon, 23 Dec 2019 23:19:36 +0000 (15:19 -0800)]
Merge pull request #1263 from dimkr/uclibc-ng-1.0.32

uClibc-ng: add 1.0.32

2 months agoMerge pull request #1259 from nolange/add_binutils_deterministic_archives
Alexey Neyman [Mon, 23 Dec 2019 23:19:24 +0000 (15:19 -0800)]
Merge pull request #1259 from nolange/add_binutils_deterministic_archives

enable option for binutils deterministic-archives

2 months agoMerge pull request #1201 from abrodkin/topic-glibc-multilib
Alexey Neyman [Mon, 23 Dec 2019 23:17:34 +0000 (15:17 -0800)]
Merge pull request #1201 from abrodkin/topic-glibc-multilib

ARC: Support building of multi-lib Glibc toolchain

2 months agoMerge pull request #1280 from dimkr/musl-cflags
Alexey Neyman [Mon, 23 Dec 2019 22:58:45 +0000 (14:58 -0800)]
Merge pull request #1280 from dimkr/musl-cflags

Resepct CT_TARGET_{C,LD}FLAGS when building musl

2 months agoMerge pull request #1284 from stephanosio/newlib_retargetable_locking
Alexey Neyman [Mon, 23 Dec 2019 22:47:11 +0000 (14:47 -0800)]
Merge pull request #1284 from stephanosio/newlib_retargetable_locking

Add newlib retargetable locking configuration

2 months agoMerge pull request #1282 from lowRISC/lenary/expat-recent-version
Alexey Neyman [Mon, 23 Dec 2019 22:46:33 +0000 (14:46 -0800)]
Merge pull request #1282 from lowRISC/lenary/expat-recent-version

Add Recent expat version

2 months agoAdd newlib retargetable locking configuration 1284/head
Stephanos Ioannidis [Fri, 20 Dec 2019 02:18:46 +0000 (11:18 +0900)]
Add newlib retargetable locking configuration

This commit adds support for the newlib configuration option
'--enable-newlib-retargetable-locking'.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2 months agoAdd Recent expat version 1282/head
Sam Elliott [Fri, 6 Dec 2019 17:42:22 +0000 (17:42 +0000)]
Add Recent expat version

2 months agoResepct CT_TARGET_{C,LD}FLAGS when building musl 1280/head
Dima Krasner [Wed, 4 Dec 2019 14:44:49 +0000 (16:44 +0200)]
Resepct CT_TARGET_{C,LD}FLAGS when building musl

I was trying to build static binaries for a range of Broadcom soft-float ARMv7
SoCs and kept getting SIGILL, although I was targeting Cortex A7 (and A5,
later), even on A9 and A15.

I found out that once I add -msoft-float, +mp+sec is to blame:

   Attribute Section: aeabi
   File Attributes
  -  Tag_CPU_name: "7VE"
  +  Tag_CPU_name: "7"
     Tag_CPU_arch: v7
  -  Tag_CPU_arch_profile: Application
  -  Tag_ARM_ISA_use: Yes
     Tag_THUMB_ISA_use: Thumb-2
     Tag_ABI_PCS_wchar_t: 4
     Tag_ABI_FP_rounding: Needed
  @@ -12,8 +10,5 @@ File Attributes
     Tag_ABI_FP_number_model: IEEE 754
     Tag_ABI_align_needed: 8-byte
     Tag_ABI_enum_size: int
     Tag_ABI_optimization_goals: Aggressive Size
     Tag_CPU_unaligned_access: v6
  -  Tag_MPextension_use: Allowed
  -  Tag_DIV_use: Allowed in v7-A with integer division extension
  -  Tag_Virtualization_use: TrustZone and Virtualization Extensions

(This is the readelf -A diff, before and after armv7-a+nofp -> armv7+nofp).

I kept getting SIGILL even after building my application with a toolchain built
with the correct CFLAGS and found out that crosstool-ng doesn't pass the host
CFLAGS when building musl, which pollutes my binary with these ARMv7 extensions.

Signed-off-by: Dima Krasner <dima@dimakrasner.com>
3 months agoCT_LIBC_NEWLIB_FSEEK_OPTIMIZATION and CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO are took... 1274/head
Morozov Max [Mon, 4 Nov 2019 06:11:04 +0000 (10:11 +0400)]
CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION and CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO are took into account now

3 months agoCT_LIBC_NEWLIB_REGISTER_FINI is processed correctly
Morozov Max [Sun, 3 Nov 2019 23:40:45 +0000 (03:40 +0400)]
CT_LIBC_NEWLIB_REGISTER_FINI is processed correctly

4 months agoprevent the glibc build from overwriting flags 1270/head
Norbert Lange [Sun, 27 Oct 2019 22:05:54 +0000 (23:05 +0100)]
prevent the glibc build from overwriting flags

The glibc will append the content of the CFLAGS variable,
overriding previous flags.
If unset, the CFLAGS variable is not empty, so explicitly set it.
Instead prepend the default CFLAGS flags.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
4 months agobinutils: add version 2.33.1 1268/head
Hans-Christian Noren Egtvedt [Wed, 23 Oct 2019 08:01:01 +0000 (10:01 +0200)]
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>
4 months agomove BUILD_DIR variable into Kconfig 1266/head
Norbert Lange [Fri, 18 Oct 2019 22:06:31 +0000 (00:06 +0200)]
move BUILD_DIR variable into Kconfig

this allows users to reference this variable,
for ex. in TARGET_CFLAGS to remap paths.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
4 months agoAdd musl 1.1.24 1265/head
Norbert Lange [Thu, 17 Oct 2019 22:41:29 +0000 (00:41 +0200)]
Add musl 1.1.24

Signed-off-by: Norbert Lange <nolange79@gmail.com>
4 months agouClibc-ng: add 1.0.32 1263/head
Dima Krasner [Thu, 17 Oct 2019 12:58:14 +0000 (15:58 +0300)]
uClibc-ng: add 1.0.32

4 months agofix nonfunctional --enable-relro option 1257/head
Norbert Lange [Thu, 10 Oct 2019 16:57:07 +0000 (18:57 +0200)]
fix nonfunctional --enable-relro option

Signed-off-by: Norbert Lange <nolange79@gmail.com>
4 months agoenable option for binutils deterministic-archives 1259/head
Norbert Lange [Thu, 10 Oct 2019 16:56:22 +0000 (18:56 +0200)]
enable option for binutils deterministic-archives

Signed-off-by: Norbert Lange <nolange79@gmail.com>
4 months agoMerge pull request #1253 from stilor/updates
Alexey Neyman [Wed, 2 Oct 2019 20:37:36 +0000 (13:37 -0700)]
Merge pull request #1253 from stilor/updates

Updates

4 months agoGDB 8.3+ needs IPv6 1253/head
Alexey Neyman [Wed, 2 Oct 2019 16:35:46 +0000 (09:35 -0700)]
GDB 8.3+ needs IPv6

... which wasn't enabled in uClibc-ng by default

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoReplace Ubuntu 18.10 with Ubuntu 19.04
Alexey Neyman [Fri, 27 Sep 2019 07:18:28 +0000 (00:18 -0700)]
Replace Ubuntu 18.10 with Ubuntu 19.04

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoAdd strace 5.x
Alexey Neyman [Fri, 27 Sep 2019 07:15:58 +0000 (00:15 -0700)]
Add strace 5.x

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoAdd musl 1.1.23
Alexey Neyman [Fri, 27 Sep 2019 07:15:44 +0000 (00:15 -0700)]
Add musl 1.1.23

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoAdd Linux versions
Alexey Neyman [Fri, 27 Sep 2019 07:12:19 +0000 (00:12 -0700)]
Add Linux versions

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoAdd libiconv 1.16
Alexey Neyman [Thu, 26 Sep 2019 08:11:10 +0000 (01:11 -0700)]
Add libiconv 1.16

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoAdd gettext 0.20.1
Alexey Neyman [Thu, 26 Sep 2019 07:02:01 +0000 (00:02 -0700)]
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>
4 months agoPretend lzip is always there
Alexey Neyman [Thu, 26 Sep 2019 05:53:39 +0000 (22:53 -0700)]
Pretend lzip is always there

... so that we can download .tar.lz archives.

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoAdd GDB 8.3.1
Alexey Neyman [Wed, 25 Sep 2019 08:32:57 +0000 (01:32 -0700)]
Add GDB 8.3.1

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoUpgrade expat 2.2.6 to 2.2.8
Alexey Neyman [Wed, 25 Sep 2019 07:31:55 +0000 (00:31 -0700)]
Upgrade expat 2.2.6 to 2.2.8

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoAdd dtc 1.5.1
Alexey Neyman [Wed, 25 Sep 2019 07:21:53 +0000 (00:21 -0700)]
Add dtc 1.5.1

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoAdd bison 3.4.2
Alexey Neyman [Wed, 25 Sep 2019 06:50:09 +0000 (23:50 -0700)]
Add bison 3.4.2

Signed-off-by: Alexey Neyman <stilor@att.net>
4 months agoMerge pull request #1192 from nolange/add_isl_021
Alexey Neyman [Wed, 2 Oct 2019 04:20:29 +0000 (21:20 -0700)]
Merge pull request #1192 from nolange/add_isl_021

Add isl 021

4 months agoMerge pull request #1226 from ola1olsson/master
Alexey Neyman [Wed, 2 Oct 2019 04:18:56 +0000 (21:18 -0700)]
Merge pull request #1226 from ola1olsson/master

Fix typo in ARM/thumb interworking menuconfig

4 months agoMerge pull request #1229 from imphil/zlib-other-mirror
Alexey Neyman [Wed, 2 Oct 2019 04:18:16 +0000 (21:18 -0700)]
Merge pull request #1229 from imphil/zlib-other-mirror

zlib: Provide other mirror

4 months agoMerge pull request #1231 from cpackham/glibc-2.28-make-4.0
Alexey Neyman [Wed, 2 Oct 2019 04:17:06 +0000 (21:17 -0700)]
Merge pull request #1231 from cpackham/glibc-2.28-make-4.0

libc: glibc 2.28 needs make 4.0

4 months agoMerge pull request #1244 from cpackham/executable-pie
Alexey Neyman [Wed, 2 Oct 2019 04:15:04 +0000 (21:15 -0700)]
Merge pull request #1244 from cpackham/executable-pie

build/internals.sh: Handle pie executables

4 months agoMerge pull request #1223 from egtvedt/add-gcc-9.2.0
Alexey Neyman [Tue, 1 Oct 2019 06:46:14 +0000 (23:46 -0700)]
Merge pull request #1223 from egtvedt/add-gcc-9.2.0

Update to gcc 9.2.0

4 months agoMerge pull request #1233 from cpackham/fixup-arc-patch
Alexey Neyman [Tue, 1 Oct 2019 06:43:24 +0000 (23:43 -0700)]
Merge pull request #1233 from cpackham/fixup-arc-patch

glibc: arc: Don't interfere with other architectures

4 months agoMerge pull request #1232 from cpackham/glibc-2.30
Alexey Neyman [Tue, 1 Oct 2019 06:41:14 +0000 (23:41 -0700)]
Merge pull request #1232 from cpackham/glibc-2.30

Add glibc 2.30

5 months agobuild/internals.sh: Handle pie executables 1244/head
Chris Packham [Sat, 14 Sep 2019 10:17:28 +0000 (22:17 +1200)]
build/internals.sh: Handle pie executables

Fixes: #887

On some systems the file command identifies a pie executable as a shared
object. Update do_finish() to handle this case so that they are stripped
as well.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
5 months agoglibc-2.30: Re-add ARC support 1232/head
Alexey Brodkin [Fri, 6 Sep 2019 10:39:50 +0000 (13:39 +0300)]
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>
5 months agoglibc: arc: Don't interfere with other architectures 1233/head
Chris Packham [Thu, 5 Sep 2019 01:59:19 +0000 (13:59 +1200)]
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>
5 months agoAdd glibc 2.30
Chris Packham [Wed, 4 Sep 2019 23:11:12 +0000 (11:11 +1200)]
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>
5 months agolibc: glibc 2.28 needs make 4.0 1231/head
Chris Packham [Wed, 4 Sep 2019 08:25:02 +0000 (20:25 +1200)]
libc: glibc 2.28 needs make 4.0

Fixes: #1210

Per the release notes for the GNU C library 2.28[1] make 4.0 or newer is
required. Previously the logic was applied to glibc 2.29 or newer.

[1] - https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
5 months agozlib: Provide other mirror 1229/head
Philipp Wagner [Tue, 3 Sep 2019 12:31:41 +0000 (13:31 +0100)]
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/)

6 months agoFix typo in ARM/thumb help 1226/head
Ola Olsson [Wed, 28 Aug 2019 12:19:30 +0000 (14:19 +0200)]
Fix typo in ARM/thumb help

Signed-off-by: Ola Olsson <ola1olsson@gmail.com>
6 months agoUpdate to gcc 9.2.0 1223/head
Hans-Christian Noren Egtvedt [Mon, 6 May 2019 11:31:10 +0000 (13:31 +0200)]
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>
8 months agoARC: Support building of multi-lib Glibc toolchain 1201/head
Alexey Brodkin [Wed, 24 Apr 2019 11:49:45 +0000 (14:49 +0300)]
ARC: Support building of multi-lib Glibc toolchain

From GCC's standpoint ARC's multilib items are defined by "mcpu" values
which we have quite a few and for all of them might be built optimized
cross-toolchain.

From Glibc's standpoint multilib is just multi-ABI [1] and so very limited
versions are supposed to co-exist (e.g. arc700 & archs).

Here we force Glibc to install libraries in GCC's multilib folder to create
a universal cross-toolchain that has libs optimized for multiple CPU types.

But note we only need to mess with installation paths in case of real
multilib, otherwise we keep default "lib/" paths so that GCC finds default
(the one and only) libs where it expects them to be.

Also here we add a sample which allows to build universal Glibc Linux
toolchain for ARC.

[1] https://sourceware.org/ml/libc-alpha/2019-06/msg00018.html

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
9 months agoAdd isl 0.21 1192/head
Norbert Lange [Tue, 7 May 2019 12:21:51 +0000 (14:21 +0200)]
Add isl 0.21

Signed-off-by: Norbert Lange <nolange79@gmail.com>
9 months agoFix isl 0.20 checksums
Norbert Lange [Tue, 7 May 2019 12:21:16 +0000 (14:21 +0200)]
Fix isl 0.20 checksums

Signed-off-by: Norbert Lange <nolange79@gmail.com>
9 months agoMerge pull request #1189 from dimkr/musl-1.1.22
Alexey Neyman [Sat, 4 May 2019 21:55:02 +0000 (14:55 -0700)]
Merge pull request #1189 from dimkr/musl-1.1.22

Add musl 1.1.22

9 months agoMerge pull request #1185 from abrodkin/topic-glibc-for-arc
Alexey Neyman [Sat, 4 May 2019 21:38:18 +0000 (14:38 -0700)]
Merge pull request #1185 from abrodkin/topic-glibc-for-arc

 glibc: Add ARC support

9 months agoAdd musl 1.1.22 1189/head
Dima Krasner [Thu, 2 May 2019 10:04:47 +0000 (13:04 +0300)]
Add musl 1.1.22

Signed-off-by: Dima Krasner <dima@dimakrasner.com>
10 months agoAdd Glibc toolchain sample for ARC HS 1185/head
Alexey Brodkin [Wed, 17 Apr 2019 07:36:14 +0000 (10:36 +0300)]
Add Glibc toolchain sample for ARC HS

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
10 months agopackage/gcc: Fix Glibc compilation for ARC with -mcpu= hs38_linux
Alexey Brodkin [Tue, 16 Apr 2019 17:45:40 +0000 (20:45 +0300)]
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>
10 months agoglibc: Add ARC support
Alexey Brodkin [Mon, 15 Apr 2019 09:29:12 +0000 (12:29 +0300)]
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>
10 months agoMerge pull request #1182 from stilor/master crosstool-ng-1.24.0
Alexey Neyman [Wed, 10 Apr 2019 20:31:59 +0000 (13:31 -0700)]
Merge pull request #1182 from stilor/master

Last fixes for 1.24

10 months agoInstall python3, needed by recent GLIBC 1182/head
Alexey Neyman [Wed, 10 Apr 2019 20:23:31 +0000 (13:23 -0700)]
Install python3, needed by recent GLIBC

Signed-off-by: Alexey Neyman <stilor@att.net>
10 months agoRequire 2.29 if building glibc for RISC-V64
Alexey Neyman [Wed, 10 Apr 2019 20:21:24 +0000 (13:21 -0700)]
Require 2.29 if building glibc for RISC-V64

Signed-off-by: Alexey Neyman <stilor@att.net>
10 months agoMerge pull request #1178 from stilor/master
Alexey Neyman [Fri, 5 Apr 2019 21:09:48 +0000 (14:09 -0700)]
Merge pull request #1178 from stilor/master

Last fixes for 1.24.0

10 months agoMerge pull request #1167 from palmer-dabbelt/riscv-cxx
Alexey Neyman [Fri, 5 Apr 2019 21:09:29 +0000 (14:09 -0700)]
Merge pull request #1167 from palmer-dabbelt/riscv-cxx

riscv64-unknown-linux-gnu: Add C++ Support

10 months agoMerge pull request #1169 from jcmvbkbc/xtensa-fixes
Alexey Neyman [Fri, 5 Apr 2019 21:09:14 +0000 (14:09 -0700)]
Merge pull request #1169 from jcmvbkbc/xtensa-fixes

noMMU xtensa fixes

10 months agoMerge pull request #1177 from alexandrebelloni/reporter_url_fix
Alexey Neyman [Fri, 5 Apr 2019 20:10:50 +0000 (13:10 -0700)]
Merge pull request #1177 from alexandrebelloni/reporter_url_fix

samples: G+ is gone, update reporter_url

10 months agoMerge pull request #1179 from zentorin/master
Alexey Neyman [Fri, 5 Apr 2019 20:09:36 +0000 (13:09 -0700)]
Merge pull request #1179 from zentorin/master

uClibc: fix selection of debug level

10 months agouClibc: fix selection of debug level 1179/head
Konstantin Vasin [Fri, 5 Apr 2019 15:04:59 +0000 (18:04 +0300)]
uClibc: fix selection of debug level

10 months agoRename JOBSFLAGS -> CT_JOBSFLAGS 1178/head
Alexey Neyman [Thu, 4 Apr 2019 23:47:50 +0000 (16:47 -0700)]
Rename JOBSFLAGS -> CT_JOBSFLAGS

... so that it is saved/restored when restarting the build.

Signed-off-by: Alexey Neyman <stilor@att.net>
10 months agoDo not include config/configure.in into the release tarball
Alexey Neyman [Thu, 4 Apr 2019 23:43:51 +0000 (16:43 -0700)]
Do not include config/configure.in into the release tarball

Fixes #1176

Signed-off-by: Alexey Neyman <stilor@att.net>
10 months agoEnable zlib companion lib if building LTO
Alexey Neyman [Tue, 2 Apr 2019 15:48:27 +0000 (08:48 -0700)]
Enable zlib companion lib if building LTO

While we may use build machine's library when building a simple cross,
we won't have it for the host machine in a canadian build. Until there
are separate selectables for the build/host components, just build our
own local zlib.

Signed-off-by: Alexey Neyman <stilor@att.net>