summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-09-06Merge branch 'picolibc' of git://github.com/keith-packard/crosstool-ng into ↵Chris Packham10-0/+308
keith-packard-picolibc
2020-09-06Merge branch 'cpackham-powerpc64-glibc-2.32' into masterChris Packham2-1/+2
2020-09-03glibc: Don't build with -Werror for powerpc64+glibc-2.32Chris Packham2-1/+2
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-01Add picolibc support [v2]Keith Packard10-0/+308
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-08-30Merge pull request #1371 from egtvedt/add-glibc-2.32Chris Packham3-0/+30
Add support for glibc 2.32
2020-08-30Merge pull request #1366 from antmak/bugfix/zlib_macos_patchChris Packham2-1/+35
zlib-1.2.11: Add a patch to cross-compile for macos
2020-08-30Merge pull request #1361 from mjsir911/cdpathChris Packham1-0/+3
Unset CDPATH for duration of bootstrap script
2020-08-30Merge pull request #1347 from stephanosio/fix_gdb_static_libstdcxxChris Packham1-2/+3
Fix CT_GDB_NATIVE_STATIC_LIBSTDCXX
2020-08-30Merge pull request #1368 from egtvedt/add-gcc-9.3-and-10.2-binutils-2.35Chris Packham59-23/+2869
Add gcc 9.3 and 10.2, and binutils 2.35
2020-08-27Add support for binutils 2.35Hans-Christian Noren Egtvedt11-0/+622
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-27Add support for GCC 10.2.0Hans-Christian Noren Egtvedt21-0/+1392
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-27Update to GCC 9.x to latest release 9.3.0Hans-Christian Noren Egtvedt22-23/+25
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-27Patch glibc to support building with GCC 10 based toolchainsHans-Christian Noren Egtvedt5-0/+830
2020-08-26Merge pull request #1246 from nikkon-dev/spaun2002/add_glibc_2_19_patchChris Packham5-0/+245
Add powerpc asm fix for glibc 2.19
2020-08-26Merge pull request #1377 from cpackham/masterChris Packham1-0/+79
CI: Use github actions for continous integration
2020-08-24CI: Build ct-ng onceChris Packham1-14/+37
Build ct-ng once and use the result to build the toolchains. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-08-24CI: upload build logs as artifactsChris Packham1-0/+14
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-24CI: Only install packages not already presentChris Packham1-4/+1
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-24CI: Create continuous-integration-workflow.ymlChris Packham1-0/+45
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-23Merge pull request #1362 from cpackham/patch-1Chris Packham1-1/+1
glibc: Fix typo in package.desc
2020-08-23Merge pull request #1356 from ndusart/gold-gcc-10Chris Packham10-0/+260
fix missing include of string in binutils older than 2.33
2020-08-23Merge pull request #1352 from jakublabenski/masterChris Packham10-10/+135
Allow glibc 2.12 - 2.20 to work with GCC 10+
2020-08-23Merge pull request #1331 from cpackham/gcc-8.4.0-fixChris Packham23-0/+0
gcc: Remove nested 8.3.0 directory
2020-08-23Merge pull request #1295 from cpackham/rsyncChris Packham8-8/+8
Add rsync dependency
2020-08-23Merge pull request #1220 from claymation/patch-1Chris Packham1-0/+17
Fix native gdb aarch64 musl build
2020-08-23Merge pull request #1242 from cpackham/mips64Chris Packham2-0/+10
samples: Add a mips64 big-endian config
2020-08-23Merge pull request #1256 from nolange/fix_bootstrapChris Packham1-2/+2
Fix bootstrap
2020-08-23Merge pull request #1230 from imphil/expat-non-sf-download-linkChris Packham1-1/+1
Expat: Provide a non-sourceforge download link
2020-08-23Merge pull request #1200 from bverhagen/masterChris Packham1-1/+1
Removed http://www.mr511.de/software mirror from libelf package description
2020-08-23Merge pull request #1198 from westermo/wmo/1.24.0Chris Packham1-1/+1
Allow GNU gettext v0.19.7, which is in Ubuntu 16.04 LTS
2020-08-14Add support for glibc 2.32Hans-Christian Noren Egtvedt3-0/+30
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-03crosstool-NG: Fix libtool for mangled tuples as all other cross-toolsAnton Maklakov1-1/+1
2020-08-03zlib-1.2.11: Add a patch to cross-compile for macosAnton Maklakov1-0/+34
2020-07-12glibc: Fix typo in package.descChris Packham1-1/+1
Simple typo fix
2020-07-10Unset CDPATH for duration of bootstrap scriptMarco Sirabella1-0/+3
CDPATH causes the `cd` command to output the directory it's going into sometimes. This actually fixes #849, I got bit by this
2020-07-07Add power6 patch to all the glibc versions that need itspaun20024-0/+196
2020-07-07Add powerpc asm fix for glibc 2.19Nikita Konyuchenko1-0/+49
Integration of the https://patchwork.ozlabs.org/patch/686205/ fix by Joseph Myersk Signed-off-by: spaun2002 <spaun2002mobile@gmail.com>
2020-06-17fix missing include of string in binutils older than 2.33Nicolas Dusart10-0/+260
Signed-off-by: Nicolas Dusart <nicolas@freedelity.be>
2020-06-09Add rsync dependencyChris Packham8-8/+8
Recent Linux kernels (5.3 and newer) use rsync to copy headers around. Add the rsync package to the list of dependencies. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-06-08Allow glibc 2.12 - 2.20 to work with GCC 10+Jakub Labenski10-10/+135
2020-05-26Enable static libgcc when CT_GDB_NATIVE_STATIC_LIBSTDCXX is setStephanos Ioannidis1-0/+1
This commit updates the GDB build script to specify `-static-libgcc` when `CT_GDB_NATIVE_STATIC_LIBSTDCXX` is enabled. Both libgcc and libstdc++ are considered to be part of the "standard libraries," and should be specified by the same flag (the configuration symbol could potentially use a better name and/or further indirection). This also semantically aligns the `CT_GDB_NATIVE_STATIC_LIBSTDCXX` with the equivalent GCC configuration `CT_CC_GCC_STATIC_LIBSTDCXX`, which also enables static linking of both libgcc and libstdc++. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2020-05-26Fix CT_GDB_NATIVE_STATIC_LIBSTDCXX referenceStephanos Ioannidis1-2/+2
This commit fixes an incorrect reference to the configuration `CT_GDB_NATIVE_STATIC_LIBSTDCXX` in the GDB build script. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2020-05-04Expat: Provide a non-sourceforge download linkPhilipp Wagner1-1/+1
The same binaries are now hosted on GitHub releases (and looking at the homepage, that's the only download location they are offering). Use that mirror at least as an option.
2020-05-01gcc: Remove nested 8.3.0 directoryChris Packham23-0/+0
When GCC was updated to 8.4.0 the patches were moved incorrectly. Fix this now so that they will be picked up. Fixes: commit 31ca84ac ("Update to gcc 8.4.0") Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-04-23Merge pull request #1319 from cpackham/gcc-8.4.0Bryan Hundven26-8/+8
Update to gcc 8.4.0
2020-04-03Merge pull request #1326 from nayabbashasayed/masterBryan Hundven2-36/+12
uClibc-ng-1.0.33 latest chksum updated. Patch not required.
2020-04-03uClibc-ng-1.0.33.tar.lz removed chksum as the package size 0 bytes.Nayab Basha Sayed1-4/+0
Signed-off-by: Nayab Basha Sayed <basha@nayab.xyz>
2020-04-03uClibc-ng-1.0.33 latest chksum updated. Patch not required.Nayab Basha Sayed2-36/+16
Signed-off-by: Nayab Basha Sayed <basha@nayab.xyz>
2020-03-18Merge pull request #1321 from stilor/masterAlexey Neyman3-1/+14
Expat 2.2.9 now has XZ/LZ/GZ archives
2020-03-18Expat 2.2.9 now has XZ/LZ/GZ archivesAlexey Neyman3-1/+14
Signed-off-by: Alexey Neyman <stilor@att.net>