summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-07-18Disable source-highlighting for static buildQBos071-0/+6
Fixes #1487
2021-07-14linux: Add new version and bump LTSChris Packham23-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>
2021-07-13Merge pull request #1562 from stilor/masterAlexey Neyman1-4/+7
Fix dist-create-release after kconfig update
2021-07-13Fix dist-create-release after kconfig updateAlexey Neyman1-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>
2021-07-13picolibc: Add support for version 1.7.1Keith Packard3-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>
2021-07-13picolibc: Disable wchar_t use in libstdc++Keith Packard1-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>
2021-07-13Support common local patch directoryStephanos Ioannidis1-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>
2021-07-11Merge pull request #1551 from rcatolino/add_extra_cxx_flagsChris Packham4-8/+23
Add EXTRA_CXXFLAGS_FOR_BUILD option
2021-07-11Merge pull request #1550 from cpackham/kernel-cdnChris Packham1-6/+5
CT_Mirrors: make use of kernel cdn
2021-07-06Add EXTRA_CXXFLAGS_FOR_BUILD optionRaphael Catolino4-8/+23
Signed-off-by: Raphael Catolino <raphael.catolino@gmail.com>
2021-07-06CT_Mirrors: make use of kernel cdnChris Packham1-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>
2021-07-06Merge pull request #1547 from cpackham/gcc-maintChris Packham48-16/+16
gcc: Bump maintenance versions
2021-07-05gcc: Bump maintenance versionsChris Packham48-16/+16
8.4.0 -> 8.5.0 9.3.0 -> 9.4.0 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-06-28Merge pull request #1539 from nikkon-dev/nikkon-dev/old_glibc_fixChris Packham2-0/+13
Fix build of older Glibc using GCC >=10
2021-06-24Add fcommon flag help and remove extra empty linesNik Konyuchenko1-1/+3
Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
2021-06-24Merge branch 'master' of git://github.com/bensuperpc/crosstool-ngChris Packham9-24/+24
2021-06-24Merge branch 'lancethepants-uclibc-ng_1.0.38'Chris Packham2-0/+16
2021-06-24Fix build of older Glibc using GCC >=10Nik Konyuchenko2-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>
2021-06-23Update Linux to: 5.12.12, 5.10.44, 5.4.127Bensuperpc9-24/+24
Update Linux to: 5.12.12, 5.10.44, 5.4.127 Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-22Add uClibc-ng 1.0.38lancethepants2-0/+16
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2021-06-20Merge pull request #1534 from cpackham/ci-downloadChris Packham1-1/+47
CI: download tarballs
2021-06-20Merge pull request #1533 from cpackham/init_array_fixChris Packham2-11/+18
gcc: Make CC_GCC_TM_CLONE_REGISTRY tristate
2021-06-20Merge pull request #1450 from keith-packard/libstdc++-compatChris Packham11-5/+838
Libstdc++ compat
2021-06-20CI: download tarballsChris Packham1-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>
2021-06-19gcc: Make CC_GCC_TM_CLONE_REGISTRY tristateChris Packham2-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>
2021-06-17packages/picolibc: Add version 1.6.2Keith Packard3-1/+5
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-06-17packages/gcc/libstdc++: #include_next → #includeKeith Packard2-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>
2021-06-17Switch to picolibc version 1.5.1Keith Packard6-4/+219
This version includes a small link fix for the sample crt0 on riscv. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-06-13Merge pull request #1527 from cpackham/kconfig-fixChris Packham1-6/+6
Move SRC_CUSTOM inside choice
2021-06-09Move SRC_CUSTOM inside choiceChris Packham1-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>
2021-06-09Merge pull request #1525 from cpackham/archlinux-dockerChris Packham1-1/+1
testing: docker: Use archlinux:latest instead of archlinux/base:latest
2021-06-09Merge pull request #1524 from ↵Chris Packham3-5/+47
stephanosio/gcc_custom_libstdcpp_cxx_flags_upstream Fix libstdc++ build options
2021-06-09Merge pull request #1523 from stephanosio/add_tm_clone_registry_config_upstreamChris Packham3-1/+20
gcc: Add CT_CC_GCC_TM_CLONE_REGISTRY config
2021-06-08testing: docker: Use archlinux:latest instead of archlinux/base:latestChris Packham1-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>
2021-06-07gcc: Add CT_CC_GCC_TM_CLONE_REGISTRY configStephanos Ioannidis2-0/+19
This commit adds a new gcc config `CT_CC_GCC_TM_CLONE_REGISTRY` that enables the GCC transactional memory clone registry feature for libgcc. Note that the gcc option to control this feature is only available in gcc 10 and above. (see gcc commit 5a4602805eb3ebddbc935b102481e63bffc7c5e6) Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2021-06-07newlib: Add libstdc++ nano-specific CXXFLAGSStephanos Ioannidis2-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>
2021-06-07gcc: Allow setting custom target CXXFLAGSStephanos Ioannidis1-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>
2021-06-07gcc: Assume '-O2' by default for building gcc target librariesStephanos Ioannidis1-3/+11
The gcc target libraries (e.g. libstdc++) are currently built without any optimisation flag when `CT_CC_GCC_ENABLE_TARGET_OPTSPACE` is not enabled and default to `-O0` unless user explicitly specifies an optimisation flag. This commit updates the gcc build script to assume `-O2` for building target libraries unless user provides a different optimisation flag. Note also that this is the default behaviour for gcc when C[XX]FLAGS_FOR_TARGET is not overridden. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2021-06-07packages: gcc: Add missing milestonesStephanos Ioannidis1-1/+1
This commit adds the missing gcc milestones 9 and 10, so that the helper symbols `GCC_9_or_later` and `GCC_10_or_later` can be used. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2021-05-31Merge pull request #1521 from cpackham/expatChris Packham5-22/+16
Expat
2021-05-29expat: Bump to 2.4.1Chris Packham3-16/+16
Bring in fixes CVE-2013-0340. Fixes #1520 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-05-29expat: Drop support for 2.1.1Chris Packham2-6/+0
Drop out of date and vulnerable expat version. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-05-26Merge pull request #1517 from graysky2/isl-0.24Chris Packham4-0/+22
Update utils to latest stable
2021-05-25Update utils to latest stableJohn Audia4-0/+22
* autoconf from 2.69 to 2.71 * isl from 0.22 to 0.24 Signed-off-by: John Audia <graysky@archlinux.us>
2021-05-25Merge pull request #1515 from messense/glibc-2-24-powerpc64-memsetChris Packham1-0/+56
Add glibc 2.24 fix cmpli usage in power6 memset patch
2021-05-25Merge pull request #1513 from Bensuperpc/add_raspberry_pi4_configChris Packham4-0/+32
Add config sample of Raspberry Pi 4
2021-05-25Merge pull request #1518 from lancethepants/masterChris Packham3-0/+37
Add MinGW version 9.0.0
2021-05-24Add MinGW version 9.0.0lancethepants3-0/+37
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2021-05-23Add glibc 2.24 fix cmpli usage in power6 memset patchmessense1-0/+56
Signed-off-by: messense <messense@icloud.com>
2021-05-22Merge pull request #1512 from Bensuperpc/update_linux_packageChris Packham29-72/+80
Update linux package and add new version