gcc 14.1.0 built for multiple glibc versions (#9738)

* gcc 14 RC built for i686, and on M123, x86_64 and armv7l

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add glibc specific builds for glibc 2.23, 2.37

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add binaries for glibc 2.23, 2.37

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* cleanup version change warning

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add glibc 2.27 gcc_build binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* add glibc 2.27 gcc_lib and libssp binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* add glibc 2.27 gcc_dev binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust install.sh to work with new gcc_lib versioning

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add glibc 2.35 fallback

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* add libssp glibc 2.35 fallback

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Libnghttp2 => 1.59.0

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* suggested changes

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* move LIBC_VERSION earlier in install

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2024-05-07 23:16:46 -04:00
committed by GitHub
parent 1e123997c8
commit 7e8e4f09cd
21 changed files with 9473 additions and 14420 deletions

View File

@@ -104,6 +104,9 @@ if [[ "$ARCH" == "x86_64" ]]; then
LIB_SUFFIX='64'
fi
# Package version string may include LIBC_VERSION.
LIBC_VERSION=$(/lib"$LIB_SUFFIX"/libc.so.6 2>/dev/null | awk 'match($0, /Gentoo ([^-]+)/) {print substr($0, RSTART+7, RLENGTH-7)}')
# Warn users of the AMD segfault issue and allow them to work around it.
# The easiest way to distinguish StoneyRidge platorms is to check for the FMA4
# instruction, as it was first introduced in Bulldozer and later dropped in Zen.
@@ -223,18 +226,21 @@ function download_check () {
# Verify
echo_intra "Verifying ${1}..."
echo_success "$(echo "${4}" "${3}" | sha256sum -c -)"
case "${?}" in
0)
if echo "${4}" "${3}" | sha256sum -c - ; then
if [ -n "$CREW_CACHE_ENABLED" ] ; then
cp "${3}" "$CREW_CACHE_DIR/${3}" || true
fi
return
;;
*)
echo_error "Verification failed, something may be wrong with the download."
exit 1;;
esac
echo_success "Verification of ${1} succeeded."
return 0
else
if [[ ${5} -lt 2 ]]; then
echo_error "Verification of ${1} failed, something may be wrong with the download."
exit 1
else
echo_info "Verification of ${1} failed. Will try another sha256 hash if available."
return 1
fi
fi
}
function extract_install () {
@@ -266,10 +272,11 @@ function update_device_json () {
}
echo_info "Downloading Bootstrap packages...\n"
# Extract, install and register packages.
for package in $BOOTSTRAP_PACKAGES; do
cd "${CREW_LIB_PATH}/packages"
version=$(sed -n "s/.*version '\([^']*\)'.*/\1/p" "${package}.rb")
version=$(grep "\ \ version" "${package}.rb" | head -n 1 | sed "s/#{LIBC_VERSION}/$LIBC_VERSION/g" | awk '{print substr($2,2,length($2)-2)}')
binary_compression=$(sed -n "s/.*binary_compression '\([^']*\)'.*/\1/p" "${package}.rb")
if [[ -z "$binary_compression" ]]; then
binary_compression='tar.zst'
@@ -279,10 +286,14 @@ for package in $BOOTSTRAP_PACKAGES; do
tarfile=$(basename "${url}")
sha256=$(sed -n "s/.*${ARCH}: '\([^']*\)'.*/\1/p" "${package}.rb")
download_check "${package}" "${url}" "${tarfile}" "${sha256}"
extract_install "${package}" "${tarfile}"
update_device_json "${package}" "${version}" "${sha256}"
shacount=$(echo "$sha256" | wc -w)
for sha in $sha256
do
if download_check "${package}" "${url}" "${tarfile}" "${sha}" "${shacount}"; then
extract_install "${package}" "${tarfile}"
update_device_json "${package}" "${version}" "${sha}"
fi
done
done
# Work around https://github.com/chromebrew/chromebrew/issues/3305.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,10 @@
/usr/local/lib/bfd-plugins/liblto_plugin.so
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/13/plugin/libcc1plugin.so
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/13/plugin/libcc1plugin.so.0
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/13/plugin/libcc1plugin.so.0.0.0
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/13/plugin/libcp1plugin.so
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/13/plugin/libcp1plugin.so.0
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/13/plugin/libcp1plugin.so.0.0.0
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/plugin/libcc1plugin.so
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/plugin/libcc1plugin.so.0
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/plugin/libcc1plugin.so.0.0.0
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/plugin/libcp1plugin.so
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/plugin/libcp1plugin.so.0
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/plugin/libcp1plugin.so.0.0.0
/usr/local/lib/libasan.so
/usr/local/lib/libasan.so.8
/usr/local/lib/libasan.so.8.0.0
@@ -30,9 +30,9 @@
/usr/local/lib/libobjc.so.4.0.0
/usr/local/lib/libstdc++.so
/usr/local/lib/libstdc++.so.6
/usr/local/lib/libstdc++.so.6.0.32
/usr/local/lib/libstdc++.so.6.0.33
/usr/local/lib/libubsan.so
/usr/local/lib/libubsan.so.1
/usr/local/lib/libubsan.so.1.0.0
/usr/local/libexec/gcc/armv7l-cros-linux-gnueabihf/13/liblto_plugin.so
/usr/local/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.32-gdb.py
/usr/local/libexec/gcc/armv7l-cros-linux-gnueabihf/14/liblto_plugin.so
/usr/local/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.33-gdb.py

View File

@@ -2,7 +2,7 @@
/usr/local/include/nghttp2/nghttp2ver.h
/usr/local/lib/libnghttp2.so
/usr/local/lib/libnghttp2.so.14
/usr/local/lib/libnghttp2.so.14.25.1
/usr/local/lib/libnghttp2.so.14.26.0
/usr/local/lib/pkgconfig/libnghttp2.pc
/usr/local/share/doc/nghttp2/README.rst
/usr/local/share/man/man1/h2load.1.zst

View File

@@ -1,7 +1,7 @@
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/13/include/ssp/ssp.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/13/include/ssp/stdio.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/13/include/ssp/string.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/13/include/ssp/unistd.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include/ssp/ssp.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include/ssp/stdio.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include/ssp/string.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include/ssp/unistd.h
/usr/local/lib/libssp.a
/usr/local/lib/libssp.la
/usr/local/lib/libssp.so

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,10 @@
/usr/local/lib/bfd-plugins/liblto_plugin.so
/usr/local/lib/gcc/i686-cros-linux-gnu/13/plugin/libcc1plugin.so
/usr/local/lib/gcc/i686-cros-linux-gnu/13/plugin/libcc1plugin.so.0
/usr/local/lib/gcc/i686-cros-linux-gnu/13/plugin/libcc1plugin.so.0.0.0
/usr/local/lib/gcc/i686-cros-linux-gnu/13/plugin/libcp1plugin.so
/usr/local/lib/gcc/i686-cros-linux-gnu/13/plugin/libcp1plugin.so.0
/usr/local/lib/gcc/i686-cros-linux-gnu/13/plugin/libcp1plugin.so.0.0.0
/usr/local/lib/gcc/i686-cros-linux-gnu/14/plugin/libcc1plugin.so
/usr/local/lib/gcc/i686-cros-linux-gnu/14/plugin/libcc1plugin.so.0
/usr/local/lib/gcc/i686-cros-linux-gnu/14/plugin/libcc1plugin.so.0.0.0
/usr/local/lib/gcc/i686-cros-linux-gnu/14/plugin/libcp1plugin.so
/usr/local/lib/gcc/i686-cros-linux-gnu/14/plugin/libcp1plugin.so.0
/usr/local/lib/gcc/i686-cros-linux-gnu/14/plugin/libcp1plugin.so.0.0.0
/usr/local/lib/libasan.so
/usr/local/lib/libasan.so.8
/usr/local/lib/libasan.so.8.0.0
@@ -33,9 +33,9 @@
/usr/local/lib/libquadmath.so.0.0.0
/usr/local/lib/libstdc++.so
/usr/local/lib/libstdc++.so.6
/usr/local/lib/libstdc++.so.6.0.32
/usr/local/lib/libstdc++.so.6.0.33
/usr/local/lib/libubsan.so
/usr/local/lib/libubsan.so.1
/usr/local/lib/libubsan.so.1.0.0
/usr/local/libexec/gcc/i686-cros-linux-gnu/13/liblto_plugin.so
/usr/local/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.32-gdb.py
/usr/local/libexec/gcc/i686-cros-linux-gnu/14/liblto_plugin.so
/usr/local/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.33-gdb.py

View File

@@ -2,7 +2,7 @@
/usr/local/include/nghttp2/nghttp2ver.h
/usr/local/lib/libnghttp2.so
/usr/local/lib/libnghttp2.so.14
/usr/local/lib/libnghttp2.so.14.25.1
/usr/local/lib/libnghttp2.so.14.26.0
/usr/local/lib/pkgconfig/libnghttp2.pc
/usr/local/share/doc/nghttp2/README.rst
/usr/local/share/man/man1/h2load.1.zst

View File

@@ -1,7 +1,7 @@
/usr/local/lib/gcc/i686-cros-linux-gnu/13/include/ssp/ssp.h
/usr/local/lib/gcc/i686-cros-linux-gnu/13/include/ssp/stdio.h
/usr/local/lib/gcc/i686-cros-linux-gnu/13/include/ssp/string.h
/usr/local/lib/gcc/i686-cros-linux-gnu/13/include/ssp/unistd.h
/usr/local/lib/gcc/i686-cros-linux-gnu/14/include/ssp/ssp.h
/usr/local/lib/gcc/i686-cros-linux-gnu/14/include/ssp/stdio.h
/usr/local/lib/gcc/i686-cros-linux-gnu/14/include/ssp/string.h
/usr/local/lib/gcc/i686-cros-linux-gnu/14/include/ssp/unistd.h
/usr/local/lib/libssp.a
/usr/local/lib/libssp.la
/usr/local/lib/libssp.so

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,11 @@
/usr/local/lib/bfd-plugins/liblto_plugin.so
/usr/local/lib64/bfd-plugins/liblto_plugin.so
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/13/plugin/libcc1plugin.so
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/13/plugin/libcc1plugin.so.0
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/13/plugin/libcc1plugin.so.0.0.0
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/13/plugin/libcp1plugin.so
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/13/plugin/libcp1plugin.so.0
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/13/plugin/libcp1plugin.so.0.0.0
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/14/plugin/libcc1plugin.so
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/14/plugin/libcc1plugin.so.0
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/14/plugin/libcc1plugin.so.0.0.0
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/14/plugin/libcp1plugin.so
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/14/plugin/libcp1plugin.so.0
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/14/plugin/libcp1plugin.so.0.0.0
/usr/local/lib64/libasan.so
/usr/local/lib64/libasan.so.8
/usr/local/lib64/libasan.so.8.0.0
@@ -40,12 +40,12 @@
/usr/local/lib64/libquadmath.so.0.0.0
/usr/local/lib64/libstdc++.so
/usr/local/lib64/libstdc++.so.6
/usr/local/lib64/libstdc++.so.6.0.32
/usr/local/lib64/libstdc++.so.6.0.33
/usr/local/lib64/libtsan.so
/usr/local/lib64/libtsan.so.2
/usr/local/lib64/libtsan.so.2.0.0
/usr/local/lib64/libubsan.so
/usr/local/lib64/libubsan.so.1
/usr/local/lib64/libubsan.so.1.0.0
/usr/local/libexec/gcc/x86_64-cros-linux-gnu/13/liblto_plugin.so
/usr/local/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.32-gdb.py
/usr/local/libexec/gcc/x86_64-cros-linux-gnu/14/liblto_plugin.so
/usr/local/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.33-gdb.py

View File

@@ -2,7 +2,7 @@
/usr/local/include/nghttp2/nghttp2ver.h
/usr/local/lib64/libnghttp2.so
/usr/local/lib64/libnghttp2.so.14
/usr/local/lib64/libnghttp2.so.14.25.1
/usr/local/lib64/libnghttp2.so.14.26.0
/usr/local/lib64/pkgconfig/libnghttp2.pc
/usr/local/share/doc/nghttp2/README.rst
/usr/local/share/man/man1/h2load.1.zst

View File

@@ -1,7 +1,7 @@
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/13/include/ssp/ssp.h
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/13/include/ssp/stdio.h
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/13/include/ssp/string.h
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/13/include/ssp/unistd.h
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/14/include/ssp/ssp.h
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/14/include/ssp/stdio.h
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/14/include/ssp/string.h
/usr/local/lib64/gcc/x86_64-cros-linux-gnu/14/include/ssp/unistd.h
/usr/local/lib64/libssp.a
/usr/local/lib64/libssp.la
/usr/local/lib64/libssp.so

View File

@@ -3,19 +3,31 @@ require 'package'
class Gcc_build < Package
description 'The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, and Go.'
homepage 'https://www.gnu.org/software/gcc/'
version '13.2.0' # Do not use @_ver here, it will break the installer.
version "14.1.0-glibc#{LIBC_VERSION}" # Do not use @_ver here, it will break the installer.
license 'GPL-3, LGPL-3, libgcc, FDL-1.2'
compatibility 'all'
source_url 'https://github.com/gcc-mirror/gcc.git'
git_hashtag 'releases/gcc-13.2.0'
git_hashtag "releases/gcc-#{version.split('-').first}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '13e3e7591636c84bf37875cddb67c012e7b4e8c39e26d069a2cf513718087bd5',
armv7l: '13e3e7591636c84bf37875cddb67c012e7b4e8c39e26d069a2cf513718087bd5',
i686: '1fb82c8c2466f405ad7839b3fc2bbfb43eaed8f0db97a6b2bb6b822a17b60759',
x86_64: '005bb11a10baef3970641c1ce243deb0d2ece1212a854cf592c1f7ab5428660f'
})
case LIBC_VERSION
when '2.23'
binary_sha256({
i686: '0850517263680419c1ae4152ba8237a5ee1d40651b31832f211ed450df94999c'
})
when '2.27', '2.35'
binary_sha256({
aarch64: 'c53f34ca91bf3eee1ac207b4054c41928da311bf4fa55f8595cc21f1285d398d',
armv7l: 'c53f34ca91bf3eee1ac207b4054c41928da311bf4fa55f8595cc21f1285d398d',
x86_64: '387c1b91fb0fa7d939744a42bbf836ea8e47b005a325e7012a937c8f0fb9ec7f'
})
when '2.37'
binary_sha256({
aarch64: '1a84028dcfc7b5a6e5a281a6684470ca9d6cb8fd83688d59505464f80d4f7180',
armv7l: '1a84028dcfc7b5a6e5a281a6684470ca9d6cb8fd83688d59505464f80d4f7180',
x86_64: '88aa03f986b1c3528ae155b0b5e886437b526a04e070fcd0dbf43a2684db01ac'
})
end
depends_on 'binutils' => :build
depends_on 'ccache' => :build
@@ -156,7 +168,7 @@ class Gcc_build < Package
# LIBRARY_PATH=#{CREW_LIB_PREFIX} needed for x86_64 to avoid:
# /usr/local/bin/ld: cannot find crti.o: No such file or directory
# /usr/local/bin/ld: cannot find /usr/lib64/libc_nonshared.a
system({ LIBRARY_PATH: CREW_LIB_PREFIX, PATH: @path }.transform_keys(&:to_s), 'make || make -j1')
system({ LIBRARY_PATH: CREW_LIB_PREFIX, PATH: @path }.transform_keys(&:to_s), "make -j #{CREW_NPROC} || make -j1")
end
end
@@ -270,7 +282,8 @@ class Gcc_build < Package
system make_env, "make -C gcc DESTDIR=#{CREW_DEST_DIR} install-po"
# install the libstdc++ man pages
system make_env, "make -C #{CREW_TGT}/libstdc++-v3/doc DESTDIR=#{CREW_DEST_DIR} doc-install-man"
# This is broken in 14.0.1
# system make_env, "make -C #{CREW_TGT}/libstdc++-v3/doc DESTDIR=#{CREW_DEST_DIR} doc-install-man"
# byte-compile python libraries
system "python -m compileall #{CREW_DEST_PREFIX}/share/gcc-#{@gcc_version}/"

View File

@@ -4,21 +4,32 @@ require_relative 'gcc_build'
class Gcc_dev < Package
description 'The GNU Compiler Collection: Everything (excepting libraries aside from libgccjit)'
homepage Gcc_build.homepage
version '13.2.0' # Do not use @_ver here, it will break the installer.
version "14.1.0-glibc#{LIBC_VERSION}" # Do not use @_ver here, it will break the installer.
license Gcc_build.license
# When upgrading gcc_build, be sure to upgrade gcc_lib, gcc_dev, and libssp in tandem.
puts "#{self} version differs from gcc version #{Gcc_build.version}".orange if version.to_s.gsub(/-.*/,
'') != Gcc_build.version
puts "#{self} version (#{version}) differs from gcc version #{Gcc_build.version}".orange if version.to_s != Gcc_build.version
compatibility 'all'
source_url 'SKIP'
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'a717ebcc89594924305bae1bdb7b083ef061c9b57aec15e2cc0450ff2790a62c',
armv7l: 'a717ebcc89594924305bae1bdb7b083ef061c9b57aec15e2cc0450ff2790a62c',
i686: 'cc9d4618f445cafb7e3cdf227032ebbddd1d1b71147996d93123563b0dd18015',
x86_64: 'cc8a2c48193128c461f525709812474423b1b4d4856663784d01d2c8caa8a22b'
})
case LIBC_VERSION
when '2.23'
binary_sha256({
i686: '68823c2d372559b5ba9e304529bd01f24ccf7c0a71a14824d048b2d323643257'
})
when '2.27', '2.35'
binary_sha256({
aarch64: 'f649c41a0d2fbfb5077068319d6dd8cca84b4047d409213b8f32623dff4e2bbd',
armv7l: 'f649c41a0d2fbfb5077068319d6dd8cca84b4047d409213b8f32623dff4e2bbd',
x86_64: 'fb235557844b33ada4de312d2f4709319ffe900c5b62a5fc4b54a06f517aa32c'
})
when '2.37'
binary_sha256({
aarch64: '258cd5814cee743dd20f58a9eba503d9ad825123c47b4ca53ad0fa86d50ce38b',
armv7l: '258cd5814cee743dd20f58a9eba503d9ad825123c47b4ca53ad0fa86d50ce38b',
x86_64: 'd287e0279881675ae404ebdb4e99bcdb89297263e257e4a2a4b0b6b4e9876059'
})
end
depends_on 'gcc_build' => :build
depends_on 'gcc_lib' # R

View File

@@ -4,21 +4,32 @@ require_relative 'gcc_build'
class Gcc_lib < Package
description 'GCC shared libs except libgccjit'
homepage Gcc_build.homepage
version '13.2.0' # Do not use @_ver here, it will break the installer.
version "14.1.0-glibc#{LIBC_VERSION}" # Do not use @_ver here, it will break the installer.
license Gcc_build.license
# When upgrading gcc_build, be sure to upgrade gcc_lib, gcc_dev, and libssp in tandem.
puts "#{self} version differs from gcc version #{Gcc_build.version}".orange if version.to_s.gsub(/-.*/,
'') != Gcc_build.version
puts "#{self} version (#{version}) differs from gcc version #{Gcc_build.version}".orange if version.to_s != Gcc_build.version
compatibility 'all'
source_url 'SKIP'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '04c6f1af5d8b005dcea7d0050f7ea52d8c4a37def289287e590000056d707e67',
armv7l: '04c6f1af5d8b005dcea7d0050f7ea52d8c4a37def289287e590000056d707e67',
i686: 'b0aeb79cfc7df8b46b41f36902350ac94e9a7e0f04678f85c0fbb01a24f86235',
x86_64: '386695ced2bc2aeb93fc96b2176f3638a3ac0271667bdd9b058ff14bf0e97256'
})
case LIBC_VERSION
when '2.23'
binary_sha256({
i686: '192f52beaa24ebbf3e1ae1787c9f12c75ad59e7f7885729d90b7c40b1177d796'
})
when '2.27', '2.35'
binary_sha256({
aarch64: '82d95874bc0326967b821420afec5d809c2b883be10bca5798314a4490b11622',
armv7l: '82d95874bc0326967b821420afec5d809c2b883be10bca5798314a4490b11622',
x86_64: '3fd1626fa6f4fafe3ce4fceba5b9d0311132d754135c7545a29a042dc3fb91e3'
})
when '2.37'
binary_sha256({
aarch64: 'aede35bafb5eec105327e8663c06b409e4f13ad662e8e6e472f35fe715dda49c',
armv7l: 'aede35bafb5eec105327e8663c06b409e4f13ad662e8e6e472f35fe715dda49c',
x86_64: '0ecf2f8513b209d2f0ee098a3c9dba904d697e23b497e28fef90d07e9ba94277'
})
end
depends_on 'gcc_build' => :build
depends_on 'glibc' # R

View File

@@ -3,7 +3,7 @@ require 'buildsystems/cmake'
class Libnghttp2 < CMake
description 'library implementing HTTP/2 protocol'
homepage 'https://nghttp2.org/'
@_ver = '1.58.0'
@_ver = '1.59.0'
version "#{@_ver}-py3.12"
license 'MIT'
compatibility 'all'
@@ -12,10 +12,10 @@ class Libnghttp2 < CMake
binary_compression 'tar.zst'
binary_sha256({
aarch64: '3d71393f9447a4cba71c42766ea5f53b97f9eda232103feb1066c3cf94443b50',
armv7l: '3d71393f9447a4cba71c42766ea5f53b97f9eda232103feb1066c3cf94443b50',
i686: 'b9b4d51de06704610900f74811a2132779ae629bfccc5c3b6d89edf913dd817d',
x86_64: '1637c2318a5ea05f958c32be7cbc9bead3df2b167f8eaaab78bd89b16929288a'
aarch64: '670240eb03ba44d929c770cbf1f1d3c77f0b2c5ee1c8e1565afb1a4085a565e8',
armv7l: '670240eb03ba44d929c770cbf1f1d3c77f0b2c5ee1c8e1565afb1a4085a565e8',
i686: '6a8d411e25459774c9529276e8939ca8db1b6fe749d321b3bdbfd4d4d873bbea',
x86_64: 'b40bd43b11403240b4c808877b70a04cba8c9fa1fc2a8a1f0e5f05d515cae21c'
})
depends_on 'glibc' # R

View File

@@ -4,22 +4,33 @@ require_relative 'gcc_build'
class Libssp < Package
description 'Libssp is a part of the GCC toolkit.'
homepage 'https://gcc.gnu.org/'
version '13.2.0'
version "14.1.0-glibc#{LIBC_VERSION}" # Do not use @_ver here, it will break the installer.
license 'GPL-3, LGPL-3, libgcc, FDL-1.2'
# When upgrading gcc_build, be sure to upgrade gcc_lib, gcc_dev, and libssp in tandem.
puts "#{self} version differs from gcc version #{Gcc_build.version}".orange if version.to_s.gsub(/-.*/,
'') != Gcc_build.version
puts "#{self} version (#{version}) differs from gcc version #{Gcc_build.version}".orange if version.to_s != Gcc_build.version
compatibility 'all'
source_url 'https://github.com/gcc-mirror/gcc.git'
git_hashtag "releases/gcc-#{version}"
git_hashtag "releases/gcc-#{version.split('-').first}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '58f3da30ae2a13f4a29a7e254db60c5a07b9a7cf8375203a38b19194dd60e3aa',
armv7l: '58f3da30ae2a13f4a29a7e254db60c5a07b9a7cf8375203a38b19194dd60e3aa',
i686: '6683362cfa816ea97abdfb9dabdb59ec5413104c59bb8fbf3cf8e3cc164bd526',
x86_64: 'e040def45cc23201fcbd38e0ffd54be81d84925f00a2f83a10e6e5b8a260b1f0'
})
case LIBC_VERSION
when '2.23'
binary_sha256({
i686: 'f1e548a41f577f4865675e8b280fb949c7a10459980b652d24b80d7f86e673a5'
})
when '2.27', '2.35'
binary_sha256({
aarch64: '2b8d8b39ae8ad8e4ec938279b4a23468e7dc7f56c8c3f692f700a0d49f557855',
armv7l: '2b8d8b39ae8ad8e4ec938279b4a23468e7dc7f56c8c3f692f700a0d49f557855',
x86_64: '2471f3db91744ff93b97fae23e11167ef7f6bc88b51c0fad35c548e76175dbba'
})
when '2.37'
binary_sha256({
aarch64: 'abe1a6d16f4915676186a0bebb009d55ca5ac9e1bb59eb3c9e33e40bd13f10c1',
armv7l: 'abe1a6d16f4915676186a0bebb009d55ca5ac9e1bb59eb3c9e33e40bd13f10c1',
x86_64: '5c0ff4a2b81e1e3492289c81f1630c8f71e8cb7153fbd2848aac31166d53b667'
})
end
depends_on 'ccache' => :build
depends_on 'dejagnu' => :build # for test