aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Don't remove XLOCALE support unconditionally.lancethepants2020-10-151-1/+0
| | | | | | | | | | | | Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
* | | Merge pull request #1408 from abrodkin/topic-binutils-no-globChris Packham2020-10-181-0/+4
|\ \ \ | | | | | | | | binutils: Disable glob for better portability
| * | | binutils: Disable glob for better portabilityAlexey Brodkin2020-10-141-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #1407 from ↵Chris Packham2020-10-181-2/+4
|\ \ \ | | | | | | | | | | | | | | | | bagasme/local-patch-dir-description-clarify-example Clarify tree layout of local patches directory
| * | | Clarify tree layout of local patches directoryBagas Sanjaya2020-10-131-2/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #1402 from lancethepants/add_uclibc-ng_1.0.36Chris Packham2020-10-182-0/+16
|\ \ \ | |/ / |/| | Add uClibc-ng 1.0.36
| * | Add uClibc-ng 1.0.36lancethepants2020-10-152-0/+16
|/ / | | | | | | Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
* | Merge pull request #1400 from fvalette/fix-m4-build-for-mingw32-hostChris Packham2020-10-071-0/+8
|\ \ | | | | | | m4: fix build for mingw32 host
| * | m4: fix build for mingw32 hostFlorent Valette2020-10-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #1398 from egtvedt/fix-glibc-2.32-version.hChris Packham2020-10-062-0/+28
|\ \ \ | |/ / |/| | glibc: fix version 2.32 not setting correct version string
| * | glibc: set glibc build system default_cflags emptyHans-Christian Noren Egtvedt2020-10-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | glibc: fix version 2.32 not setting correct version stringHans-Christian Noren Egtvedt2020-10-051-0/+26
|/ / | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #1391 from egtvedt/add-binutils-2.35.1Chris Packham2020-09-2712-12/+12
|\ \ | | | | | | binutils: add version 2.35.1
| * | binutils: add version 2.35.1Hans-Christian Noren Egtvedt2020-09-2212-12/+12
|/ / | | | | | | | | | | | | 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>
* | Merge branch 'picolibc-multiarch' of ↵Chris Packham2020-09-203-8/+8
|\ \ | | | | | | | | | git://github.com/keith-packard/crosstool-ng into master
| * | picolibc: Use target architecture to drive picolibc configurationKeith Packard2020-09-161-5/+5
| | | | | | | | | | | | | | | | | | This selects code matching the target architecture within picolibc. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | Map picolibc to suitable CT_TARGET_SYS valuesKeith Packard2020-09-162-3/+3
| | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge branch 'linux-version-bump' of ↵Chris Packham2020-09-2022-49/+57
|\ \ \ | | | | | | | | | | | | https://github.com/cpackham/crosstool-ng into master
| * | | linux: Add new versions and bump LTSChris Packham2020-09-1522-49/+57
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge branch 'continuous-integration' of ↵Chris Packham2020-09-202-7/+14
|\ \ \ | | | | | | | | | | | | https://github.com/cpackham/crosstool-ng into master
| * | | CI: Add more architecturesChris Packham2020-09-141-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | CI: Don't enable verbose outputChris Packham2020-09-141-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | config/libc: Extend glibc 2.32 workaround to include sparcChris Packham2020-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge branch 'general-package-patches' of ↵Chris Packham2020-09-201-3/+5
|\ \ \ \ | |_|/ / |/| | | | | | | git://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng into master
| * | | Patches: search package patches in the top package directoryMikhail Falaleev2020-09-101-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #1387 from modbw/strace-updateChris Packham2020-09-156-0/+12
|\ \ \ \ | |_|/ / |/| | | Added strace 5.6, 5.7 and 5.8
| * | | Added strace 5.6, 5.7 and 5.8Matthias Weisser2020-09-146-0/+12
|/ / /
* | | Merge pull request #1386 from galak/gdb-9.2Chris Packham2020-09-148-8/+8
|\ \ \ | | | | | | | | gdb 9.2 support
| * | | gdb 9.2 supportKumar Gala2020-09-118-8/+8
| |/ / | | | | | | | | | Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
* | | Merge pull request #1384 from cpackham/glibc-2.32-configChris Packham2020-09-141-1/+2
|\ \ \ | | | | | | | | glibc: --enable-obsolete-rpc has been removed as of 2.32
| * | | glibc: --enable-obsolete-rpc has been removed as of 2.32Chris Packham2020-09-071-1/+2
| |/ / | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #1379 from egtvedt/add-mpc-1.2.0-and-mpfr-4.1.0Chris Packham2020-09-144-0/+20
|\ \ \ | |/ / |/| | Add support for mpc 1.2.0 and mpfr 4.1.0
| * | Add support for mpc 1.2.0 and mpfr 4.1.0Hans-Christian Noren Egtvedt2020-08-274-0/+20
| | | | | | | | | | | | Add the latest releases of mpc (1.2.0) and mpfr (4.1.0).
* | | Merge branch 'cpackham-ci-status' into masterChris Packham2020-09-061-0/+3
|\ \ \
| * | | Merge branch 'ci-status' of https://github.com/cpackham/crosstool-ng into ↵Chris Packham2020-09-061-0/+3
|/| | | | | | | | | | | | | | | cpackham-ci-status
| * | | README.md: Add build status badgeChris Packham2020-08-261-0/+3
| |/ / | | | | | | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | | Merge branch 'pradghos-BR1_zlinux_cross_comp' into masterChris Packham2020-09-068-9/+22
|\ \ \
| * | | Merge branch 'BR1_zlinux_cross_comp' of ↵Chris Packham2020-09-068-9/+22
|/| | | | | | | | | | | | | | | git://github.com/pradghos/crosstool-ng into pradghos-BR1_zlinux_cross_comp
| * | | Adding new samples s390x/s390-unknown-linux-gnuPradipta Ghosh2020-08-278-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - s390x/s390 is allowed to pair with other vendor name. - new samples are being added to use this flexibility. - Fix space issue
* | | | Merge branch 'jubalh-unused' into masterChris Packham2020-09-061-2/+1
|\ \ \ \
| * | | | Merge branch 'unused' of git://github.com/jubalh/crosstool-ng into jubalh-unusedChris Packham2020-09-061-2/+1
|/| | | |
| * | | | Remove unused variables in bootstrapMichael Vetter2020-08-211-2/+1
| |/ / / | | | | | | | | | | | | cmp, u1, u2 seem not to be used at all.
* | | | Merge branch 'dimkr-musl-update' into masterChris Packham2020-09-062-0/+4
|\ \ \ \
| * | | | Merge branch 'musl-update' of git://github.com/dimkr/crosstool-ng into ↵Chris Packham2020-09-062-0/+4
|/| | | | | | | | | | | | | | | | | | | dimkr-musl-update
| * | | | Add musl 1.2.1Dima Krasner2020-08-202-0/+4
| |/ / / | | | | | | | | | | | | Signed-off-by: Dima Krasner <dima@dimakrasner.com>
* | | | Merge branch 'keith-packard-picolibc' into masterChris Packham2020-09-0610-0/+308
|\ \ \ \
| * | | | Merge branch 'picolibc' of git://github.com/keith-packard/crosstool-ng into ↵Chris Packham2020-09-0610-0/+308
|/| | | | | | | | | | | | | | | | | | | keith-packard-picolibc
| * | | | Add picolibc support [v2]Keith Packard2020-09-0110-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
* | | | | Merge branch 'cpackham-powerpc64-glibc-2.32' into masterChris Packham2020-09-062-1/+2
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | glibc: Don't build with -Werror for powerpc64+glibc-2.32Chris Packham2020-09-032-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>