Commit Graph

5227 Commits

Author SHA1 Message Date
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
Chris Packham
0dd54d59ce
Merge pull request #1414 from cpackham/disable-context-for-thumb
arm: Disable context functions for Thumb
2020-11-03 20:47:13 +13:00
Chris Packham
b7084c0acd
Merge pull request #1413 from cpackham/continuous-integration
CI: Add armv6-nommu-linux-uclibcgnueabi
2020-11-03 20:46:36 +13:00
Dan Tejada
3a3e645245 c6x: Remove multilib requirement
Restore tuple config check
     Add sample configuration

Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
2020-11-02 16:21:26 -05:00
Chris Packham
beae27d87b arm: Disable context functions for Thumb
Similar to commit 57679b5e ("Disable context functions for Thumb") when
building for thumb we need to unset UCLIBC_HAS_CONTEXT_FUNCS.

Fixes #1397

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-11-01 21:17:50 +13:00
Chris Packham
4dd65a18a3 CI: Add armv6-nommu-linux-uclibcgnueabi
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-11-01 21:11:29 +13:00
Chris Packham
e0bf7aa72a Merge branch 'keith-packard-picolibc-1.4.7' 2020-11-01 20:03:07 +13:00
Chris Packham
9e1e0ff3a7 Merge branch 'picolibc-1.4.7' of git://github.com/keith-packard/crosstool-ng into keith-packard-picolibc-1.4.7 2020-11-01 20:02:42 +13:00
Chris Packham
1876d29a6a Merge branch 'lancethepants-xlocale' 2020-11-01 20:02:13 +13:00
Chris Packham
827b42336e Merge branch 'xlocale' of git://github.com/lancethepants/crosstool-ng into lancethepants-xlocale 2020-11-01 20:01:58 +13: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
Chris Packham
dd20ee5526
Merge pull request #1408 from abrodkin/topic-binutils-no-glob
binutils: Disable glob for better portability
2020-10-18 20:33:36 +13:00
Chris Packham
62a7de5b0f
Merge pull request #1407 from bagasme/local-patch-dir-description-clarify-example
Clarify tree layout of local patches directory
2020-10-18 20:33:14 +13:00
Chris Packham
3975029a9e
Merge pull request #1402 from lancethepants/add_uclibc-ng_1.0.36
Add uClibc-ng 1.0.36
2020-10-18 20:32:32 +13:00
lancethepants
bc5798a8ea Don't remove XLOCALE support unconditionally.
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2020-10-15 13:59:04 -06: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
Alexey Brodkin
57f5909285 binutils: Disable glob for better portability
Since glibc 2.27 glob interface was changed [1]  and so
"glob" & "glob64" symbols require glibc 2.27+.

For us that means if we build Binutils on a machine with glibc 2.27+
produced binaries won't be any longer usable on machines with older
glibc.

As an example [2]: build on Ubuntu 18.04 (with glibc 2.27) and try to run
on CentOS 7.x (with glibc 2.17), you'll see this:
---------------------->8-------------------
ldd ld
ld: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by ld)
---------------------->8-------------------

Now given glob is not really used by Binutils itself (only needed by GDB)
and we build Binutils & GDB separately let's make at least Binutils
more portable.

In theory we may even try to do the same hack for GDB forcing it to use
imported glob implementation. But since GDB is now built strictly by C++
compiler we'll get waaay to many incompatibilities due to multiple changes
of C++ ABI in between GCC 7.5 of Ubuntu 18.04 and GCC 4.8.5 of CentOS 7.x,
so there's no point to even try.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=ccf970c7a77e86f4f5ef8ecc5e637114b1c0136a
[2] https://github.com/zephyrproject-rtos/sdk-ng/issues/280

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2020-10-14 23:10:47 +03:00
Bagas Sanjaya
19f1849163
Clarify tree layout of local patches directory
Currently the help for LOCAL_PATCH_DIR did not specify the tree layout
of custom patches directory. This commit adds such explanation.

For example, the bundled patches for GCC are placed under
packages/gcc/<gcc-version>, thus custom (local) GCC patches should be
placed under $LOCAL_PATCH_DIR/gcc/<gcc-version>.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
2020-10-13 16:09:35 +07:00
Chris Packham
99ce9d3861
Merge pull request #1400 from fvalette/fix-m4-build-for-mingw32-host
m4: fix build for mingw32 host
2020-10-07 20:03:16 +13:00
Florent Valette
1c93176e05 m4: fix build for mingw32 host
While building a canadian toolchain for windows host (any target),
the build failed for m4 host companion_tool with a recent mingw-w64
(at least 7.0.0).
m4 needs stack smashing protection which is not part of mingw-w64 c
library and an explicit trigger to link w/ libssp is needed.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
2020-10-06 09:32:40 +02:00
Chris Packham
364ed7aa96
Merge pull request #1398 from egtvedt/fix-glibc-2.32-version.h
glibc: fix version 2.32 not setting correct version string
2020-10-06 19:37:29 +13:00
Hans-Christian Noren Egtvedt
60e782fdec glibc: set glibc build system default_cflags empty
By setting glibc build system default_cflags to be empty before
building, we will enforce the build system to only use the crosstool-ng
CFLAGS when building glibc.

Properly solves the issue identified in #1396.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-10-05 15:37:19 +02: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
Chris Packham
b3ed2c40d3
Merge pull request #1391 from egtvedt/add-binutils-2.35.1
binutils: add version 2.35.1
2020-09-27 15:22:37 +13: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
ea386017b6 Merge branch 'picolibc-multiarch' of git://github.com/keith-packard/crosstool-ng into master 2020-09-20 21:17:28 +12:00
Chris Packham
89ec0e109e Merge branch 'linux-version-bump' of https://github.com/cpackham/crosstool-ng into master 2020-09-20 21:16:54 +12:00
Chris Packham
d2aca10a0a Merge branch 'continuous-integration' of https://github.com/cpackham/crosstool-ng into master 2020-09-20 21:10:00 +12:00
Chris Packham
5bc58e2027 Merge branch 'general-package-patches' of git://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng into master 2020-09-20 21:09:12 +12:00
Keith Packard
e802686d86 picolibc: Use target architecture to drive picolibc configuration
This selects code matching the target architecture within picolibc.

Signed-off-by: Keith Packard <keithp@keithp.com>
2020-09-16 16:04:51 -07:00
Keith Packard
c1c475d0a0 Map picolibc to suitable CT_TARGET_SYS values
picolibc is another bare-metal C library, and so should be mapped
to CT_TARGET_SYS just like newlib does.

Signed-off-by: Keith Packard <keithp@keithp.com>
2020-09-16 11:52:58 -07: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
Chris Packham
e6e39ea63b
Merge pull request #1387 from modbw/strace-update
Added strace 5.6, 5.7 and 5.8
2020-09-15 19:29: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
de11b479f7 CI: Add more architectures
Add arc, mips64, riscv32, riscv64, s390, sh, sparc and xtensa builds to
CI job. Also add an arm-picolibc-eabi target.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-14 20:55:49 +12:00
Chris Packham
d2b23f9807 CI: Don't enable verbose output
We get the build log via the artifact upload so having it in the action
output is redundant (it also tends to get suppressed anyway).

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-14 20:55:49 +12:00
Chris Packham
215432d380 config/libc: Extend glibc 2.32 workaround to include sparc
Sparc seems to be affected by the same issues as powerpc64. Disable
glibc warnings for sparc.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-14 20:55:49 +12: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
466b0ed748
Merge pull request #1384 from cpackham/glibc-2.32-config
glibc: --enable-obsolete-rpc has been removed as of 2.32
2020-09-14 20:28:42 +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
Mikhail Falaleev
4c4e5ba047 Patches: search package patches in the top package directory
Before patches for specific package were searched in
packages/${pkg_name}/${version}. This means that with usage of custom
version, patches wont be applied. This commit makes ct-ng search bundled
patches also in packages/${pkg_name} directory. That means that we can
put some patches in this directory, that will be applied to any version
of this component.
2020-09-10 17:14:39 +03:00
Chris Packham
1ee44ab516 glibc: --enable-obsolete-rpc has been removed as of 2.32
Make --enable-obsolete-rpc conditional on !CT_GLIBC_2_32_or_later as
it's been removed from that version on.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-07 20:25:19 +12:00
Chris Packham
e7da850fa2 Merge branch 'cpackham-ci-status' into master 2020-09-06 21:46:01 +12:00
Chris Packham
5d7955984e Merge branch 'ci-status' of https://github.com/cpackham/crosstool-ng into cpackham-ci-status 2020-09-06 21:45:51 +12:00
Chris Packham
615ad19e5f Merge branch 'pradghos-BR1_zlinux_cross_comp' into master 2020-09-06 21:44:44 +12:00
Chris Packham
54bd54ee19 Merge branch 'BR1_zlinux_cross_comp' of git://github.com/pradghos/crosstool-ng into pradghos-BR1_zlinux_cross_comp 2020-09-06 21:44:21 +12:00
Chris Packham
165d601638 Merge branch 'jubalh-unused' into master 2020-09-06 21:43:29 +12:00
Chris Packham
1874893d9f Merge branch 'unused' of git://github.com/jubalh/crosstool-ng into jubalh-unused 2020-09-06 21:43:17 +12:00
Chris Packham
1d9e6351ef Merge branch 'dimkr-musl-update' into master 2020-09-06 21:42:07 +12:00