Commit Graph

4940 Commits

Author SHA1 Message Date
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
b56c868175
Merge pull request #1306 from cpackham/docker-default-uid
testing/docker: set default value for CTNG_UID/CTNG_GID
2020-02-26 11:04:59 -08:00
Chris Packham
612d374fbe 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>
2020-02-17 20:07:20 +13:00
Alexey Neyman
4fa0ba100b
Merge pull request #1270 from nolange/prevent_glibc_cflags_override
prevent the glibc build from overwriting flags
2020-02-16 15:22:44 -08:00
Alexey Neyman
4897426202
Merge pull request #1266 from nolange/move_builddir_kconfig
move BUILD_DIR variable into Kconfig
2020-02-16 15:21:45 -08:00
Alexey Neyman
be04d50510
Merge pull request #1303 from stilor/wip
Update docker to ubuntu 19.10
2020-02-09 13:26:47 -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
b7a87769b9 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>
2020-02-03 16:12:38 -08:00
Alexey Neyman
c317f57b40 Suppress YAML support in DTC
... which fails to build if pkg-config is not installed.

Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-03 16:12:38 -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
025ae1ed89 Replace Ubuntu 19.04 with 19.10.
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-03 16:12:38 -08:00
Alexey Neyman
a152d61313
Merge pull request #1257 from nolange/fix_binutils_typo
fixup typo in bitutils.sh
2020-01-21 16:56:17 -08:00
Alexey Neyman
90947b3166
Merge pull request #1274 from maxmorozov/master
CT_LIBC_NEWLIB_REGISTER_FINI is processed correctly
2020-01-21 16:44:29 -08:00
Alexey Neyman
7bd6bb002f
Merge pull request #1287 from stilor/version-upgrades
Version updates
2019-12-26 04:51:58 -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
Alexey Neyman
66c2932053
Merge pull request #1259 from nolange/add_binutils_deterministic_archives
enable option for binutils deterministic-archives
2019-12-23 15:19:24 -08:00
Alexey Neyman
be5d0317d2
Merge pull request #1201 from abrodkin/topic-glibc-multilib
ARC: Support building of multi-lib Glibc toolchain
2019-12-23 15:17:34 -08:00
Alexey Neyman
e0a63b8546
Merge pull request #1280 from dimkr/musl-cflags
Resepct CT_TARGET_{C,LD}FLAGS when building musl
2019-12-23 14:58:45 -08:00
Alexey Neyman
f886492530
Merge pull request #1284 from stephanosio/newlib_retargetable_locking
Add newlib retargetable locking configuration
2019-12-23 14:47:11 -08:00
Alexey Neyman
6508480f29
Merge pull request #1282 from lowRISC/lenary/expat-recent-version
Add Recent expat version
2019-12-23 14:46:33 -08:00
Stephanos Ioannidis
bb1d687e1d 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>
2019-12-20 11:18:46 +09:00
Sam Elliott
976eb1f80c Add Recent expat version 2019-12-06 17:43:29 +00:00
Dima Krasner
de0d1dbe02 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>
2019-12-04 16:55:20 +02:00
Morozov Max
2260dcfff6 CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION and CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO are took into account now 2019-11-04 10:11:04 +04:00
Morozov Max
21483c6dbb CT_LIBC_NEWLIB_REGISTER_FINI is processed correctly 2019-11-04 03:40:45 +04:00
Norbert Lange
bd0ea7ed21 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>
2019-10-27 23:12:25 +01: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
ff0e8ac7ca 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>
2019-10-19 00:20:55 +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
Norbert Lange
605805b3dd fix nonfunctional --enable-relro option
Signed-off-by: Norbert Lange <nolange79@gmail.com>
2019-10-15 11:19:34 +02:00
Norbert Lange
7469bc8a73 enable option for binutils deterministic-archives
Signed-off-by: Norbert Lange <nolange79@gmail.com>
2019-10-10 21:39:29 +02:00
Alexey Neyman
3f461da11f
Merge pull request #1253 from stilor/updates
Updates
2019-10-02 13:37:36 -07: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
2880fcc519 Replace Ubuntu 18.10 with Ubuntu 19.04
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:44 -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
b4f317a4a5 Pretend lzip is always there
... so that we can download .tar.lz archives.

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