Commit Graph

5136 Commits

Author SHA1 Message Date
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
Chris Packham
63bd9b9f53 Merge branch 'musl-update' of git://github.com/dimkr/crosstool-ng into dimkr-musl-update 2020-09-06 21:41:55 +12:00
Chris Packham
32b52c0b5e Merge branch 'keith-packard-picolibc' into master 2020-09-06 21:41:03 +12:00
Chris Packham
fb08fb616f Merge branch 'picolibc' of git://github.com/keith-packard/crosstool-ng into keith-packard-picolibc 2020-09-06 21:40:41 +12:00
Chris Packham
aa07ac0e01 Merge branch 'cpackham-powerpc64-glibc-2.32' into master 2020-09-06 21:38:54 +12:00
Chris Packham
645ee12492 glibc: Don't build with -Werror for powerpc64+glibc-2.32
When building powerpc64+glibc-2.32 we see the following error:

[ALL  ]      In file included from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26,
[ALL  ]                       from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18:
[ALL  ]      ../string/wordcopy.c: In function '_wordcopy_fwd_aligned':
[ERROR]      ../string/wordcopy.c:98:26: error: 'a1' may be used uninitialized in this function [-Werror=maybe-uninitialized]
[ALL  ]         98 |       ((op_t *) dstp)[0] = a1;
[ALL  ]            |       ~~~~~~~~~~~~~~~~~~~^~~~
[ALL  ]      In file included from ../sysdeps/powerpc/powerpc64/power4/../../powerpc32/power4/memcopy.h:38,
[ALL  ]                       from ../sysdeps/powerpc/powerpc64/power4/memcopy.h:1,
[ALL  ]                       from ../string/wordcopy.c:23,
[ALL  ]                       from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26,
[ALL  ]                       from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18:
[ALL  ]      ../string/wordcopy.c: In function '_wordcopy_fwd_dest_aligned':
[ERROR]      ../sysdeps/generic/memcopy.h:72:61: error: 'a3' may be used uninitialized in this function [-Werror=maybe-uninitialized]
[ALL  ]         72 | #define MERGE(w0, sh_1, w1, sh_2) (((w0) << (sh_1)) | ((w1) >> (sh_2)))
[ALL  ]            |                                                             ^~

This seems to only trigger for powerpc64. Other architectures build
cleanly. For now avoid specifying -Werror for powerpc64+glibc-2.32.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-03 22:47:02 +12:00
Keith Packard
c15de32ec6 Add picolibc support [v2]
This adds support for using picolibc instead of newlib on embedded
systems.

Signed-off-by: Keith Packard <keithp@keithp.com>

v2:
	Add check for meson and ninja
	Sync option default values with current picolibc defaults
	Remove xtensa sys header file install as those aren't in picolibc
2020-09-01 09:42:53 -07:00
Chris Packham
4e5bc43627
Merge pull request #1371 from egtvedt/add-glibc-2.32
Add support for glibc 2.32
2020-08-30 20:59:17 +12:00
Chris Packham
a2b4eab30c
Merge pull request #1366 from antmak/bugfix/zlib_macos_patch
zlib-1.2.11: Add a patch to cross-compile for macos
2020-08-30 20:57:44 +12:00
Chris Packham
7c628038ab
Merge pull request #1361 from mjsir911/cdpath
Unset CDPATH for duration of bootstrap script
2020-08-30 20:55:18 +12:00
Chris Packham
baa746887d
Merge pull request #1347 from stephanosio/fix_gdb_static_libstdcxx
Fix CT_GDB_NATIVE_STATIC_LIBSTDCXX
2020-08-30 20:53:42 +12:00
Chris Packham
23f17ab5cb
Merge pull request #1368 from egtvedt/add-gcc-9.3-and-10.2-binutils-2.35
Add gcc 9.3 and 10.2, and binutils 2.35
2020-08-30 20:51:23 +12:00
Pradipta Ghosh
ebae86dea7 Adding new samples s390x/s390-unknown-linux-gnu
- s390x/s390 is allowed to pair with other vendor name.
- new samples are being added to use this flexibility.

- Fix space issue
2020-08-27 09:51:17 -07:00
Hans-Christian Noren Egtvedt
33bb22c461 Add support for mpc 1.2.0 and mpfr 4.1.0
Add the latest releases of mpc (1.2.0) and mpfr (4.1.0).
2020-08-27 11:39:28 +02:00
Hans-Christian Noren Egtvedt
793d65899f Add support for binutils 2.35
Forward ported patches from binutils 2.34, refreshed to match current
sources.

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

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-08-27 11:35:59 +02:00
Hans-Christian Noren Egtvedt
45a01960fc Add support for GCC 10.2.0
Forward ported patches from GCC 9.x, refreshed to match current sources.

Patch 0010-crystax.patch did not apply clean and had minor adjustments
to fit new GCC 10.2.0 release.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-08-27 11:35:59 +02:00
Hans-Christian Noren Egtvedt
b0c0005f8a Update to GCC 9.x to latest release 9.3.0
Forward ported patches from GCC 9.2.0 to 9.3.0, refreshed to match
current sources.

Patch 0010-crystax.patch did not apply clean and had minor adjustments
to fit new GCC 9.3.0 release.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-08-27 11:35:59 +02:00
Hans-Christian Noren Egtvedt
c0f2d7016b Patch glibc to support building with GCC 10 based toolchains 2020-08-27 11:35:59 +02:00
Chris Packham
8296c048fb README.md: Add build status badge
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-08-26 19:38:05 +12:00
Chris Packham
d908f53ffa
Merge pull request #1246 from nikkon-dev/spaun2002/add_glibc_2_19_patch
Add powerpc asm fix for glibc 2.19
2020-08-26 19:32:47 +12:00
Chris Packham
f547a1cffd
Merge pull request #1377 from cpackham/master
CI: Use github actions for continous integration
2020-08-26 19:31:10 +12:00
Chris Packham
d9791f4fcb CI: Build ct-ng once
Build ct-ng once and use the result to build the toolchains.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-08-24 22:13:55 +12:00
Chris Packham
d52c897a71 CI: upload build logs as artifacts
Upload the config.log from building ct-ng as well as build.log and
.config from the toolchain builds.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-08-24 20:18:44 +12:00
Chris Packham
0a4bed1a92 CI: Only install packages not already present
The GitHub runners have most of the required packages installed already.
Only install the 3 extra that we need for ct-ng.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-08-24 20:18:44 +12:00
Chris Packham
0b096f4164 CI: Create continuous-integration-workflow.yml
Create a continuous integration workflow that builds a few sample
configurations.

Future improvements would be to have a single job that builds ct-ng and
shares the artifacts with the matrix jobs for building the individual
toolchains. It would also be a good idea to fetch and cache the various
source tarballs.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-08-24 20:18:44 +12:00
Chris Packham
60473e7274
Merge pull request #1362 from cpackham/patch-1
glibc: Fix typo in package.desc
2020-08-23 20:47:30 +12:00
Chris Packham
df4e432a0b
Merge pull request #1356 from ndusart/gold-gcc-10
fix missing include of string in binutils older than 2.33
2020-08-23 20:40:31 +12:00
Chris Packham
0c3426eaec
Merge pull request #1352 from jakublabenski/master
Allow glibc 2.12 - 2.20 to work with GCC 10+
2020-08-23 20:39:07 +12:00
Chris Packham
d1a320d6cf
Merge pull request #1331 from cpackham/gcc-8.4.0-fix
gcc: Remove nested 8.3.0 directory
2020-08-23 20:37:38 +12:00
Chris Packham
8de51abf94
Merge pull request #1295 from cpackham/rsync
Add rsync dependency
2020-08-23 20:36:38 +12:00
Chris Packham
2fbf355f28
Merge pull request #1220 from claymation/patch-1
Fix native gdb aarch64 musl build
2020-08-23 20:35:04 +12:00
Chris Packham
6279216475
Merge pull request #1242 from cpackham/mips64
samples: Add a mips64 big-endian config
2020-08-23 20:31:46 +12:00
Chris Packham
0ae762acd1
Merge pull request #1256 from nolange/fix_bootstrap
Fix bootstrap
2020-08-23 20:28:49 +12:00
Chris Packham
2511663ff9
Merge pull request #1230 from imphil/expat-non-sf-download-link
Expat: Provide a non-sourceforge download link
2020-08-23 20:27:11 +12:00
Chris Packham
0188e9f7ae
Merge pull request #1200 from bverhagen/master
Removed http://www.mr511.de/software mirror from libelf package description
2020-08-23 20:25:52 +12:00
Chris Packham
2eabef3439
Merge pull request #1198 from westermo/wmo/1.24.0
Allow GNU gettext v0.19.7, which is in Ubuntu 16.04 LTS
2020-08-23 12:40:33 +12:00
Michael Vetter
e3fc28ae15 Remove unused variables in bootstrap
cmp, u1, u2 seem not to be used at all.
2020-08-21 09:26:19 +02:00
Dima Krasner
4c1d5aadfb Add musl 1.2.1
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2020-08-20 08:58:40 +03:00
Hans-Christian Noren Egtvedt
107e8111c3 Add support for glibc 2.32
Forward ported 0000-typedef-caddr.patch from previous release (2.31).

Dropped the 0001-Add-ARC-architecture.patch file, since ARC support is
included in glibc release 2.32.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-08-14 10:23:49 +02:00
Anton Maklakov
6dd9d57280 crosstool-NG: Fix libtool for mangled tuples as all other cross-tools 2020-08-03 13:41:49 +07:00
Anton Maklakov
882e9a1e88 zlib-1.2.11: Add a patch to cross-compile for macos 2020-08-03 13:41:48 +07:00
Chris Packham
05ec369391
glibc: Fix typo in package.desc
Simple typo fix
2020-07-12 21:15:20 +12:00