Commit Graph

4956 Commits (29422b2eda308526cd568507109b0a222eb09449)
 

Author SHA1 Message Date
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>
3 years ago
Alexey Neyman 8606251585 Add --with-cpu= on 32-bit SPARC
... if building for GLIBC 2.31+.

Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman 2ae68d9150 Fix upstream for undeclared PAGE_SHIFT
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman c969be1880
Merge pull request #1309 from stilor/upgrades
Upgrades
3 years ago
Alexey Neyman d978290f39 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>
3 years ago
Alexey Neyman f290ad2417 Update ARC patch to glibc 2.31
Build-tested only.

Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman 66fda90728 elf2flt: handle binutils 2.34 API
temporary patch, PR pending upstream

Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman ab42e62466 New Linux versions
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman 995e2e6fae Add uClibc-ng 1.0.33
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman 9089918053 Add strace-5.5
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman b9600c9eba Add newlib 3.2.0, 3.3.0
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman 0c5f61514b Add ncurses 6.2
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman 39910606b3 Add make 4.3
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman 97b91df38e Add GMP 6.2.0
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman a74f8d9ccb Add glibc 2.31
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman 701974efa4 Add gdb-9.1
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
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>
3 years ago
Alexey Neyman db980376cd Add binutils 2.34
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman b56c868175
Merge pull request #1306 from cpackham/docker-default-uid
testing/docker: set default value for CTNG_UID/CTNG_GID
3 years ago
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>
3 years ago
Alexey Neyman 4fa0ba100b
Merge pull request #1270 from nolange/prevent_glibc_cflags_override
prevent the glibc build from overwriting flags
3 years ago
Alexey Neyman 4897426202
Merge pull request #1266 from nolange/move_builddir_kconfig
move BUILD_DIR variable into Kconfig
3 years ago
Alexey Neyman be04d50510
Merge pull request #1303 from stilor/wip
Update docker to ubuntu 19.10
3 years ago
Alexey Neyman 13511cfbc0 Upstream patch to disable FORTIFY_SOURCE on mingw32
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
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>
3 years ago
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>
3 years ago
Alexey Neyman d35d267278 Upstrean fix for CET-enabled compiler with no --enable-cet
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman e503877f8a Pick up gettext patch for pthread_sigmask build on mingw32
Fixes #1272.

Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman 025ae1ed89 Replace Ubuntu 19.04 with 19.10.
Signed-off-by: Alexey Neyman <stilor@att.net>
3 years ago
Alexey Neyman a152d61313
Merge pull request #1257 from nolange/fix_binutils_typo
fixup typo in bitutils.sh
3 years ago
Alexey Neyman 90947b3166
Merge pull request #1274 from maxmorozov/master
CT_LIBC_NEWLIB_REGISTER_FINI is processed correctly
3 years ago
Alexey Neyman 7bd6bb002f
Merge pull request #1287 from stilor/version-upgrades
Version updates
3 years ago
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>
3 years ago
Alexey Neyman c0cca1a654
Merge pull request #1265 from nolange/add_musl_124
Add musl 1.1.24
4 years ago
Alexey Neyman 33d2d9ffb8
Merge pull request #1268 from egtvedt/add-binutils-2.33.1
binutils: add version 2.33.1
4 years ago
Alexey Neyman 1224957546
Merge pull request #1263 from dimkr/uclibc-ng-1.0.32
uClibc-ng: add 1.0.32
4 years ago
Alexey Neyman 66c2932053
Merge pull request #1259 from nolange/add_binutils_deterministic_archives
enable option for binutils deterministic-archives
4 years ago
Alexey Neyman be5d0317d2
Merge pull request #1201 from abrodkin/topic-glibc-multilib
ARC: Support building of multi-lib Glibc toolchain
4 years ago
Alexey Neyman e0a63b8546
Merge pull request #1280 from dimkr/musl-cflags
Resepct CT_TARGET_{C,LD}FLAGS when building musl
4 years ago
Alexey Neyman f886492530
Merge pull request #1284 from stephanosio/newlib_retargetable_locking
Add newlib retargetable locking configuration
4 years ago
Alexey Neyman 6508480f29
Merge pull request #1282 from lowRISC/lenary/expat-recent-version
Add Recent expat version
4 years ago
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>
4 years ago
Sam Elliott 976eb1f80c Add Recent expat version 4 years ago
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>
4 years ago
Morozov Max 2260dcfff6 CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION and CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO are took into account now 4 years ago
Morozov Max 21483c6dbb CT_LIBC_NEWLIB_REGISTER_FINI is processed correctly 4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
Norbert Lange ba149b2210 Add musl 1.1.24
Signed-off-by: Norbert Lange <nolange79@gmail.com>
4 years ago