diff options
Diffstat (limited to 'core/gcc')
-rwxr-xr-x | core/gcc/build | 18 | ||||
-rw-r--r-- | core/gcc/checksums | 13 | ||||
-rw-r--r-- | core/gcc/meta | 3 | ||||
-rw-r--r-- | core/gcc/sources | 8 | ||||
-rw-r--r-- | core/gcc/version | 2 |
5 files changed, 22 insertions, 22 deletions
diff --git a/core/gcc/build b/core/gcc/build index b22d8e6d..23f78b98 100755 --- a/core/gcc/build +++ b/core/gcc/build @@ -2,23 +2,17 @@ sys_arch=${3:-$(uname -m)} -sed_i() { - for file; do :; done - sed "$@" > _ - cat _ > "$file"; rm -f _ -} - # Make sure gmp is built with generic options. cp gcc/gmp/configfsf.guess gcc/gmp/config.guess cp gcc/gmp/configfsf.sub gcc/gmp/config.sub if [ "${sys_arch#i*86}" ]; then # Do not create lib64 directories - sed_i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 - sed_i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h + clsed '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 + clsed 's/lib64/lib/' gcc/gcc/config/i386/linux64.h else # Apply libssp patch for i686. - (cd gcc; patch -Np1 < ../musl-libssp.patch) + patch -d gcc -p1 < musl-libssp.patch fi case "$sys_arch" in @@ -33,6 +27,8 @@ cd gcc-build export libat_cv_have_ifunc=no +# Word splitting is intentional +# shellcheck disable=2086 ../gcc/configure \ --prefix=/usr \ --disable-multilib \ @@ -71,13 +67,13 @@ find "$1" -name libgij.a -exec rm -f {} + ln -s gcc "$1/usr/bin/cc" # POSIX compliance. -install -Dm755 ../c99 "$1/usr/bin/c99" +clinst -Dm755 ../c99 "$1/usr/bin/c99" # Symlink for LTO. { mkdir -p "$1/usr/lib/bfd-plugins" - ln -s "/usr/libexec/gcc/$sys_arch-pc-linux-musl/9.2.0/liblto_plugin.so" \ + ln -s "/usr/libexec/gcc/$sys_arch-pc-linux-musl/$2/liblto_plugin.so" \ "$1/usr/lib/bfd-plugins/liblto_plugin.so" } diff --git a/core/gcc/checksums b/core/gcc/checksums index 95a7b1eb..ec3e231c 100644 --- a/core/gcc/checksums +++ b/core/gcc/checksums @@ -1,6 +1,7 @@ -b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c gcc-10.2.0.tar.xz -258e6cd51b3fbdfc185c716d55f82c08aff57df0c6fbd143cf6ed561267a1526 gmp-6.2.0.tar.xz -1d3be708604eae0e42d578ba93b390c2a145f17743a744d8f3f8c2ad5855a38a mpfr-4.0.2.tar.xz -6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e mpc-1.1.0.tar.gz -765614b3396d70bca3fa0ae4a813632486c6dca320e2bd13c8c39dca52be4a4c c99 -4ece19529edb8e681e1778e977e2ba1d47984ccfcb82505e8b898bb29d659625 musl-libssp.patch +%BLAKE3 +ffee29313fd417420454d985b6740be3755e6465e14173c420c02e3719a51539 gcc-14.2.0.tar.xz +fffe4996713928ae19331c8ef39129e46d3bf5b7182820656fd4639435cd83a4 gmp-6.3.0.tar.xz +f428023b8f7569fc1178faf63265ecb6cab4505fc3fce5d8c46af70db848a334 mpfr-4.2.1.tar.xz +86d083c43c08e98d4470c006a01e0df727c8ff56ddd2956b170566ba8c9a46de mpc-1.3.1.tar.gz +0930e07dc2c5bf1172f3fd003a1be7abc3c0c420ce5bd76bc2e514c63800adcb c99 +30c25e440a4ac72bf7dc50e564b94a8c4ef43e4b2030c12d3042a78fb3cbc825 musl-libssp.patch diff --git a/core/gcc/meta b/core/gcc/meta new file mode 100644 index 00000000..fe87fa76 --- /dev/null +++ b/core/gcc/meta @@ -0,0 +1,3 @@ +description: GNU Compiler Collection +license: GPL-3.0-or-later, LGPL-2.1-or-later +maintainer: Cem Keylan <cem@carbslinux.org> diff --git a/core/gcc/sources b/core/gcc/sources index 5da8ded9..2814d343 100644 --- a/core/gcc/sources +++ b/core/gcc/sources @@ -1,6 +1,6 @@ -https://gcc.gnu.org/pub/gcc/releases/gcc-10.2.0/gcc-10.2.0.tar.xz gcc -https://ftp.gnu.org/gnu/gmp/gmp-6.2.0.tar.xz gcc/gmp -https://ftp.gnu.org/gnu/mpfr/mpfr-4.0.2.tar.xz gcc/mpfr -https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz gcc/mpc +https://gcc.gnu.org/pub/gcc/releases/gcc-14.2.0/gcc-14.2.0.tar.xz gcc +https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz gcc/gmp +https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.1.tar.xz gcc/mpfr +https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz gcc/mpc files/c99 patches/musl-libssp.patch diff --git a/core/gcc/version b/core/gcc/version index 1564eb7c..f68c78a5 100644 --- a/core/gcc/version +++ b/core/gcc/version @@ -1 +1 @@ -10.2.0 1 +14.2.0 1 |