aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'gnuprumcu-v0.6.0' of git://github.com/dinuxbg/crosstool-ngChris Packham2021-08-244-5/+9
|\ | | | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * pru: Default to pru-, not pru-elf- prefixDimitar Dimitrov2021-08-221-0/+1
| | | | | | | | | | | | | | | | The gcc-pru package in BeagleBoard Debian image has been using the "pru-" prefix for a few years now. Let's not add unnecessary confusion for users, and stick to "pru-" cross toolchain prefix. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
| * gnuprumcu: Bump to v0.6.0Dimitar Dimitrov2021-08-223-5/+8
|/ | | | | | | | | | | | Changes since v0.5.0: * Add spec files for am64x SoCs. * Require Binutils at least version 2.37. * Require pru-gcc to be installed. * Remove linker scripts. Instead set memory sizes from specs. * Activate --gc-sections linker option by default. * The "--host=pru" configure option must be used instead of "--target=pru. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
* Merge pull request #1578 from ↵Chris Packham2021-08-1811-0/+622
|\ | | | | | | | | foss-for-synopsys-dwc-arc-processors/abrodkin-binutils-2.37 binutils: add version 2.37
| * binutils: add version 2.37Alexey Brodkin2021-08-1611-0/+622
|/ | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Merge pull request #1571 from cpackham/avr-ciChris Packham2021-08-061-0/+1
|\ | | | | CI: Add avr target
| * CI: Add avr targetChris Packham2021-08-031-0/+1
|/ | | | | | Add avr to list of samples to build. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1568 from galak/fix-nano-specChris Packham2021-08-011-1/+28
|\ | | | | newlib-nano: Fix nano.spec based on CT_NEWLIB_NANO_INSTALL_IN_TARGET
| * newlib-nano: Fix nano.spec based on CT_NEWLIB_NANO_INSTALL_IN_TARGETKumar Gala2021-07-301-1/+28
| | | | | | | | | | | | | | | | | | The spec file was missing replacing various libs like libc, libm, etc with their nano equiv when CT_NEWLIB_NANO_INSTALL_IN_TARGET=y. Update the nano.spec file that is generated to rename libc, libm, etc if CT_NEWLIB_NANO_INSTALL_IN_TARGET=y Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
* | Merge pull request #1567 from graysky2/11.2Chris Packham2021-07-298-8/+8
|\ \ | |/ |/| gcc: bump to 11.2
| * gcc: bump to 11.2graysky2021-07-288-8/+8
|/ | | | Signed-off-by: John Audia <graysky@archlinux.us>
* Merge pull request #1563 from cpackham/kernel-bumpChris Packham2021-07-1823-56/+64
|\ | | | | | | linux: Add new version and bump LTS
| * linux: Add new version and bump LTSChris Packham2021-07-1423-56/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | Add 5.13.1 Bump 4.14.225 -> 4.14.239 Bump 4.19.190 -> 4.19.197 Bump 4.4.268 -> 4.4.275 Bump 4.9.268 -> 4.9.275 Bump 5.4.127 -> 5.4.131 Bump 5.10.44 -> 5.10.49 Bump 5.12.12 -> 5.12.16 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Merge pull request #1561 from keith-packard/picolibc-1.7.1Chris Packham2021-07-184-1/+6
|\ \ | | | | | | | | | Picolibc 1.7.1
| * | picolibc: Add support for version 1.7.1Keith Packard2021-07-133-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 1.6.2, picolibc has had two releases - 1.7 and 1.7.1. Here are the release notes from those versions. 1. Add __cxa_atexit implementation to 'picoexit' path as required by C++ 2. Fix lack of 'hh' support in integer-only tinystdio printf path. 3. Fix tinystdio __file flag initialization for C++ apps 1. Merge libc and libm into a single library. Having them split doesn't offer any advantages while requiring that applications add '-lm' to link successfully. Having them merged allows use of libm calls from libc code. 2. Add hex float format to *printf, *scanf and strto{d,f,ld}. This is required for C99 support. 3. Unify strto{d,f,ld} and *scanf floating point parsing code. This ensures that the library is consistent in how floats are parsed. 4. Make strto{d,f,ld} set errno to ERANGE on overflow/underflow, including when the result is a subnormal number. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | picolibc: Disable wchar_t use in libstdc++Keith Packard2021-07-131-0/+1
| | | | | | | | | | | | | | | | | | | | | Picolibc doesn't support wchar_t in stdio, so disable the use of these functions from libstdc++. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | Merge pull request #1560 from stephanosio/upstream_local_common_patch_dirChris Packham2021-07-181-3/+5
|\ \ \ | | | | | | | | | | | | Support common local patch directory
| * | | Support common local patch directoryStephanos Ioannidis2021-07-141-3/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates the patching process such that the local patches can be applied in a version-independent manner, as with the patches provided by the crosstool-ng packages. This is done by reading the patch files from `${CT_LOCAL_PATCH_DIR}/(package_name)` rather than from `${CT_LOCAL_PATCH_DIR}/(package_name)/(version)`. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
* | | Merge pull request #1559 from QBos07/patch-2Chris Packham2021-07-181-0/+6
|\ \ \ | |_|/ |/| | | | | Disable source-highlighting for static build
| * | Disable source-highlighting for static buildQBos072021-07-181-0/+6
| |/ | | | | | | Fixes #1487
* | Merge pull request #1562 from stilor/masterAlexey Neyman2021-07-131-4/+7
|\ \ | |/ |/| Fix dist-create-release after kconfig update
| * Fix dist-create-release after kconfig updateAlexey Neyman2021-07-131-4/+7
|/ | | | | | | | | | | | | | | | | | | After commits 21095fab6 and acce58834, 'make dist-create-release' fails. 1. kconf_id.c is gone but it is still listed in EXTRA_DIST. 2. Only the files not listed in xxx_SOURCES need to be placed in EXTRA_LIST. confdata.c, expr.c and others were previously not compiled separately, they were #include'd from parser.y. Now they are listed in xxx_SOURCES and should be removed from EXTRA_DIST. Note that menu.c is still #include'd through parser.y, so it is kept. 3. parser.tab.c and lexer.lex.c should not be included in the distribution tarball; they were previously omitted by virtue of not being listed in xxx_SOURCES directly. Without it, `make distcheck` fails. Signed-off-by: Alexey Neyman <aneyman@lynx.com>
* Merge pull request #1551 from rcatolino/add_extra_cxx_flagsChris Packham2021-07-114-8/+23
|\ | | | | Add EXTRA_CXXFLAGS_FOR_BUILD option
| * Add EXTRA_CXXFLAGS_FOR_BUILD optionRaphael Catolino2021-07-064-8/+23
| | | | | | | | Signed-off-by: Raphael Catolino <raphael.catolino@gmail.com>
* | Merge pull request #1550 from cpackham/kernel-cdnChris Packham2021-07-111-6/+5
|\ \ | |/ |/| CT_Mirrors: make use of kernel cdn
| * CT_Mirrors: make use of kernel cdnChris Packham2021-07-061-6/+5
|/ | | | | | | | cdn.kernel.org automatically redirects to a geographically close mirror. Make use of this instead of www.kernel.org or mirrors.edge.kernel.org. While were at it make sure we use https. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1547 from cpackham/gcc-maintChris Packham2021-07-0648-16/+16
|\ | | | | gcc: Bump maintenance versions
| * gcc: Bump maintenance versionsChris Packham2021-07-0548-16/+16
|/ | | | | | | 8.4.0 -> 8.5.0 9.3.0 -> 9.4.0 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1539 from nikkon-dev/nikkon-dev/old_glibc_fixChris Packham2021-06-282-0/+13
|\ | | | | Fix build of older Glibc using GCC >=10
| * Add fcommon flag help and remove extra empty linesNik Konyuchenko2021-06-241-1/+3
| | | | | | | | Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
| * Fix build of older Glibc using GCC >=10Nik Konyuchenko2021-06-242-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Issue #1535 GCC 10 changed the default to -fno-common, which leads to a linking error in GLibc older than 2.30. This change adds -fcommon cflag for the target GLibc versions <=2.29 and GCC >=10. This change also adds additional cflags for the target GLibc to disable new GCC11 checks that lead to compilation errors. Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
* | Merge branch 'master' of git://github.com/bensuperpc/crosstool-ngChris Packham2021-06-249-24/+24
|\ \
| * | Update Linux to: 5.12.12, 5.10.44, 5.4.127Bensuperpc2021-06-239-24/+24
| |/ | | | | | | | | | | Update Linux to: 5.12.12, 5.10.44, 5.4.127 Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
* | Merge branch 'lancethepants-uclibc-ng_1.0.38'Chris Packham2021-06-242-0/+16
|\ \ | |/ |/|
| * Add uClibc-ng 1.0.38lancethepants2021-06-222-0/+16
|/ | | | Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
* Merge pull request #1534 from cpackham/ci-downloadChris Packham2021-06-201-1/+47
|\ | | | | CI: download tarballs
| * CI: download tarballsChris Packham2021-06-201-1/+47
| | | | | | | | | | | | | | | | Add a single job to download (most of) the tarballs required. This should allow the CI job to fail early when various sources are off-line and prevent us from unintentionally DDoSing sites that we rely on. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Merge pull request #1533 from cpackham/init_array_fixChris Packham2021-06-202-11/+18
|\ \ | | | | | | gcc: Make CC_GCC_TM_CLONE_REGISTRY tristate
| * | gcc: Make CC_GCC_TM_CLONE_REGISTRY tristateChris Packham2021-06-202-11/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly passing --disable-tm-clone-registry causes gcc to create a crtbegin.o with a zero-sized .init_array/.fini_array. This in turn causes ld to complain. Make CC_GCC_TM_CLONE_REGISTRY a tristate so if it's not explicitly enabled we can let ./configure decide. Fixes #1531 Fixes: 1e21a302 ("gcc: Add CT_CC_GCC_TM_CLONE_REGISTRY config") Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Merge pull request #1450 from keith-packard/libstdc++-compatChris Packham2021-06-2011-5/+838
|\ \ | |/ |/| Libstdc++ compat
| * packages/picolibc: Add version 1.6.2Keith Packard2021-06-173-1/+5
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * packages/gcc/libstdc++: #include_next → #includeKeith Packard2021-06-172-0/+614
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the installed libstdc++ header files use '#include_next' to work around toolchain oddities that might cause loops in the compiler. However, these also cause mistakes in locating header files when there are multiple C libraries installed as '#include_next' often ends up finding default C library header files. It doesn't seem like this patch could be accepted upstream; there's a long discussion about the use of include_next in these headers which I cannot fully understand. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Switch to picolibc version 1.5.1Keith Packard2021-06-176-4/+219
|/ | | | | | This version includes a small link fix for the sample crt0 on riscv. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge pull request #1527 from cpackham/kconfig-fixChris Packham2021-06-141-6/+6
|\ | | | | Move SRC_CUSTOM inside choice
| * Move SRC_CUSTOM inside choiceChris Packham2021-06-091-6/+6
|/ | | | | | | | | | Prior to commit 30bffa96 SRC_CUSTOM was inside the choice with SRC_RELEASE and SRC_DEVEL making the 3 options mutually exclusive. Restore this behaviour keeping the "fix" to keep kconfig happy. Fixes #1151 Fixes: 30bffa96 ("don't nest choices") Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1525 from cpackham/archlinux-dockerChris Packham2021-06-091-1/+1
|\ | | | | testing: docker: Use archlinux:latest instead of archlinux/base:latest
| * testing: docker: Use archlinux:latest instead of archlinux/base:latestChris Packham2021-06-081-1/+1
| | | | | | | | | | | | | | | | | | The name of the docker images have changed on docker hub. Update the name used to point to the official archlinux image. Fixes #1522 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Merge pull request #1524 from ↵Chris Packham2021-06-093-5/+47
|\ \ | | | | | | | | | | | | stephanosio/gcc_custom_libstdcpp_cxx_flags_upstream Fix libstdc++ build options
| * | newlib: Add libstdc++ nano-specific CXXFLAGSStephanos Ioannidis2021-06-072-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new config that can be used to specify the target CXXFLAGS specific to the libstdc++ newlib-nano variant. By default, this config is set to specify the `-fno-exceptions` option, which disables C++ exception handling support and greatly reduces the compiled binary size. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
| * | gcc: Allow setting custom target CXXFLAGSStephanos Ioannidis2021-06-071-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds two additional arguments (`cxxflags_for_target` and `extra_cxxflags_for_target`) for the gcc backend build function that can be used to specify custom target CXXFLAGS. By default, the target CXXFLAGS is set to the target CFLAGS. When `cxxflags_for_target` is specified however, it overrides that behaviour and allows setting different target CXXFLAGS from the target CFLAGS. The `extra_cxxflags_for_target` argument can be used to specify the extra target CXXFLAGS to be appended to the target CXXFLAGS. This is useful when it is necessary to append CXX-specific flags to the existing CFLAGS to be used as the target CXXFLAGS. A useful application of this is building full and nano versions of libstdc++ with different target CXXFLAGS as necessitated by `nano.specs`. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>