aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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 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>
| * | gcc: Assume '-O2' by default for building gcc target librariesStephanos Ioannidis2021-06-071-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>
* | Merge pull request #1523 from stephanosio/add_tm_clone_registry_config_upstreamChris Packham2021-06-093-1/+20
|\ \ | |/ |/| gcc: Add CT_CC_GCC_TM_CLONE_REGISTRY config
| * gcc: Add CT_CC_GCC_TM_CLONE_REGISTRY configStephanos Ioannidis2021-06-082-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>
| * packages: gcc: Add missing milestonesStephanos Ioannidis2021-06-071-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>
* Merge pull request #1521 from cpackham/expatChris Packham2021-05-315-22/+16
|\ | | | | Expat
| * expat: Bump to 2.4.1Chris Packham2021-05-293-16/+16
| | | | | | | | | | | | | | | | Bring in fixes CVE-2013-0340. Fixes #1520 Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * expat: Drop support for 2.1.1Chris Packham2021-05-292-6/+0
|/ | | | | | Drop out of date and vulnerable expat version. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1517 from graysky2/isl-0.24Chris Packham2021-05-264-0/+22
|\ | | | | Update utils to latest stable
| * Update utils to latest stableJohn Audia2021-05-254-0/+22
| | | | | | | | | | | | | | * autoconf from 2.69 to 2.71 * isl from 0.22 to 0.24 Signed-off-by: John Audia <graysky@archlinux.us>
* | Merge pull request #1515 from messense/glibc-2-24-powerpc64-memsetChris Packham2021-05-251-0/+56
|\ \ | | | | | | Add glibc 2.24 fix cmpli usage in power6 memset patch
| * | Add glibc 2.24 fix cmpli usage in power6 memset patchmessense2021-05-231-0/+56
| |/ | | | | | | Signed-off-by: messense <messense@icloud.com>
* | Merge pull request #1513 from Bensuperpc/add_raspberry_pi4_configChris Packham2021-05-254-0/+32
|\ \ | | | | | | Add config sample of Raspberry Pi 4
| * | Add config sample of Raspberry Pi 4Bensuperpc2021-05-194-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Add config sample of Raspberry Pi 4: Add armv8-rpi4-linux-gnueabihf Add aarch64-rpi4-linux-gnu Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
* | | Merge pull request #1518 from lancethepants/masterChris Packham2021-05-253-0/+37
|\ \ \ | |_|/ |/| | Add MinGW version 9.0.0
| * | Add MinGW version 9.0.0lancethepants2021-05-243-0/+37
|/ / | | | | | | Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
* | Merge pull request #1512 from Bensuperpc/update_linux_packageChris Packham2021-05-2229-72/+80
|\ \ | |/ |/| Update linux package and add new version
| * Update linux package and add new versionBensuperpc2021-05-1929-72/+80
|/ | | | | | | | | | | | | | | Update linux package and add new version: Add 5.12.4 From 5.11.6 to 5.11.21 From 5.4.105 to 5.4.119 From 4.20.9 to 4.20.17 From 4.19.180 to 4.19.190 From 4.9.261 to 4.9.268 From 4.4.261 to 4.4.268 From 3.18.134 to 3.18.139 From 3.16.82 to 3.16.85 Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
* Merge pull request #1510 from messense/glibc-ppc64le-patchesChris Packham2021-05-1851-0/+28892
|\ | | | | Add GLIBC 2.17 support to powerpc64le-unknown-linux-gnu
| * fix BZ 18116 - build failure on ppc64le: setcontext.S uses power6 mtfsfmessense2021-05-131-0/+124
| | | | | | | | when not supported
| * Add ppc64le patches for glibc 2.17 from CentOS gitmessense2021-05-1350-0/+28768
| |
* | Merge pull request #1508 from lancethepants/masterChris Packham2021-05-144-9/+9
|\ \ | |/ |/| Update MinGW to version 8.0.2.
| * Update MinGW to version 8.0.2.lancethepants2021-05-124-9/+9
|/ | | | | | Adds support for gcc11. Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
* Merge pull request #1504 from cmuellner/git-annotated-tagsChris Packham2021-05-121-1/+7
|\ | | | | scripts/functions: Add better support for annotanted git tags
| * scripts/functions: Add better support for annotanted git tagsChristoph Muellner2021-05-061-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Annotated git tags are git objects with their own ID. They contain the commit ID where they point to. When downloading from annotated tags, we currently get the following warning: "Revision being fetched changed to ${new_unique_id};" The old unique_id is the ID of the annotated tag and the new unique_id is the commit it points to. Let's resolve this by first assuming to have an annotated tag and let git ls-remote dereference it. If that fails (e.g. if it can't be dereferenced because it is not an annotated tag), then let's proceed as before and don't do any dereferencing. Signed-off-by: Christoph Muellner <cmuellner@linux.com>
* | Merge pull request #1507 from cpackham/misc-fixesChris Packham2021-05-123-4/+4
|\ \ | | | | | | Misc fixes
| * | strace: Add github mirrorChris Packham2021-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | strace.io currently has an expired certificate. The same files are available via github so add that as a mirror. Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * | glibc: --enable-obsolete-rpc has been removed as of 2.32Chris Packham2021-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make --enable-obsolete-rpc conditional on !GLIBC_2_32_or_later as it's been removed from that version on. Fixes: #1505 Fixes: commit 1ee44ab5 ("glibc: --enable-obsolete-rpc has been removed as of 2.32") Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * | alpha: Support 64-bit onlyChris Packham2021-05-111-2/+2
|/ / | | | | | | | | | | | | | | | | | | Alpha is a 64-bit only arch. The menu options only allowed 32 bitness to be selected. This was harmless but confusing, update the config to specify 64-bit only. Fixes: #1506 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Merge pull request #1501 from nikkon-dev/nikkon-dev/gcc11Chris Packham2021-05-1110-3/+162
|\ \ | |/ |/| Initial commit for gcc11
| * Fix dynamic exception specifications in DUMA tests.spaun20022021-05-051-0/+69
| | | | | | | | | | | | | | GCC11 now have -std=c++17 by default and c++17 does not allow dynamic exception specifications. Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
| * Remove m1 from multilibs for GCC11 on SH arch.spaun20022021-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC11 somehow has different set of multilibs on SH arch than what GCC10 had. In particular: $ gcc10 -print-multi-lib | sed -r -e 's/@/ -/g;' .; mb; -mb m2; -m2 m2e; -m2e m4; -m4 m4-single; -m4-single m4-single-only; -m4-single-only mb/m2; -mb -m2 mb/m2e; -mb -m2e mb/m4; -mb -m4 mb/m4-single; -mb -m4-single mb/m4-single-only; -mb -m4-single-only mb/m2a; -mb -m2a mb/m2a-single; -mb -m2a-single $ gcc11 -print-multi-lib | sed -r -e 's/@/ -/g;' .; mb; -mb m2; -m2 m2e; -m2e m4; -m4 m4-single; -m4-single m4-single-only; -m4-single-only mb/m1; -mb -m1 mb/m2; -mb -m2 mb/m2e; -mb -m2e mb/m4; -mb -m4 mb/m4-single; -mb -m4-single mb/m4-single-only; -mb -m4-single-only mb/m2a; -mb -m2a mb/m2a-single; -mb -m2a-single mb/m1 fails to build libgcc as libgcc uses opcodes that were not available in SH-1: libgcc/config/sh/lib1funcs.S uses 'bt/s' and 'dt' instructions that, according to https://antime.kapsi.fi/sega/files/h12p0.pdf become available in the SH-2 only. So I removed mb/m1 from the multilibs fog GCC11 and SH arch. Another option would be to try not to build libgcc for this combination of the gcc version and archichecture, but I thought this fix would be more robust. Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
| * Disable -Werror for GLIBC for all ARCH for GCC11.spaun20022021-05-052-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This change replicates what GLIBC 2.23 has in the string/rawmemchr.c: // #if __GNUC_PREREQ (11, 0) // /* Likewise GCC 11, with a different warning option. */ // DIAG_IGNORE_NEEDS_COMMENT (11, "-Wstringop-overread"); // #endif With -Werror multiple platforms failing on the string/rawmemchr.c:40 line. Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
| * Pull patch for macOS from GCC 10.3.0 package.spaun20022021-05-051-0/+18
| | | | | | | | | | | | This should fix linkage error on MacOS. Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
| * Initial commit for gcc11spaun20022021-04-285-0/+70
|/ | | | Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>