Update gcc => 14.2, upx => 4.2.4 (#10235)

* upx => 4.2.4

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

* Initial gcc 14.2 add and fixed gcc10 package

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

* update gcc_build

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

* Add glibc 2.37 builds

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-08-01 15:18:15 -04:00
committed by GitHub
parent f818c00c23
commit 73f1ed2b04
8 changed files with 52 additions and 42 deletions

View File

@@ -892,7 +892,6 @@
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/finclude/openacc_kinds.mod
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/finclude/openacc_lib.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include-fixed/README
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include-fixed/X11/Xw32defs.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include-fixed/pthread.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include-fixed/slang.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include/ISO_Fortran_binding.h

View File

@@ -891,7 +891,6 @@
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/finclude/openacc_kinds.mod
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/finclude/openacc_lib.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include-fixed/README
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include-fixed/X11/Xw32defs.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include-fixed/pthread.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include-fixed/slang.h
/usr/local/lib/gcc/armv7l-cros-linux-gnueabihf/14/include/ISO_Fortran_binding.h

View File

@@ -50,6 +50,9 @@ class Gcc10 < Package
def self.build
@gcc_global_opts = <<~OPT.chomp
--build=#{CREW_TARGET} \
--host=#{CREW_TARGET} \
--target=#{CREW_TARGET} \
--disable-bootstrap \
--disable-install-libiberty \
--disable-libmpx \

View File

@@ -3,7 +3,7 @@ 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 "14.1.0-glibc#{LIBC_VERSION}" # Do not use @_ver here, it will break the installer.
version "14.2.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'
@@ -13,25 +13,26 @@ class Gcc_build < Package
case LIBC_VERSION
when '2.23'
binary_sha256({
i686: '0850517263680419c1ae4152ba8237a5ee1d40651b31832f211ed450df94999c'
i686: '95b0aacd75c8ab2ba559b2992f0c7d1e13230cb22f1622cd282df6df3e53e7c0'
})
when '2.27', '2.32', '2.33', '2.35'
binary_sha256({
aarch64: 'c53f34ca91bf3eee1ac207b4054c41928da311bf4fa55f8595cc21f1285d398d',
armv7l: 'c53f34ca91bf3eee1ac207b4054c41928da311bf4fa55f8595cc21f1285d398d',
x86_64: '387c1b91fb0fa7d939744a42bbf836ea8e47b005a325e7012a937c8f0fb9ec7f'
aarch64: 'c70348c4c2953e8a24ce2efc713ef1d628902c3e01f9ab9fa2a421851ecbb4e1',
armv7l: 'c70348c4c2953e8a24ce2efc713ef1d628902c3e01f9ab9fa2a421851ecbb4e1',
x86_64: '762557dbd47282a08f84c2dc5d0c2706c571ed2dc7ac17e527d92139d39b36c6'
})
when '2.37'
binary_sha256({
aarch64: '1a84028dcfc7b5a6e5a281a6684470ca9d6cb8fd83688d59505464f80d4f7180',
armv7l: '1a84028dcfc7b5a6e5a281a6684470ca9d6cb8fd83688d59505464f80d4f7180',
x86_64: '88aa03f986b1c3528ae155b0b5e886437b526a04e070fcd0dbf43a2684db01ac'
aarch64: '313fefb47070e7c3327628083552ceb253834e46a730bf8913497821ca34d626',
armv7l: '313fefb47070e7c3327628083552ceb253834e46a730bf8913497821ca34d626',
x86_64: 'd20b4cf318296405c4c6dc36078d9ccd68a090fd510e9fbb84f0bba55e77d2ff'
})
end
depends_on 'binutils' => :build
depends_on 'ccache' => :build
depends_on 'dejagnu' => :build # for test
depends_on 'glibc_lib' # R
depends_on 'glibc' # R
depends_on 'gmp' # R
depends_on 'isl' # R
@@ -88,6 +89,9 @@ class Gcc_build < Package
def self.build
@gcc_global_opts = <<~OPT.chomp
--build=#{CREW_TARGET} \
--host=#{CREW_TARGET} \
--target=#{CREW_TARGET} \
--disable-bootstrap \
--disable-install-libiberty \
--disable-libmpx \

View File

@@ -4,7 +4,7 @@ Package.load_package("#{__dir__}/gcc_build.rb")
class Gcc_dev < Package
description 'The GNU Compiler Collection: Everything (excepting libraries aside from libgccjit)'
homepage Gcc_build.homepage
version "14.1.0-glibc#{LIBC_VERSION}" # Do not use @_ver here, it will break the installer.
version "14.2.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 (#{version}) differs from gcc version #{Gcc_build.version}".orange if version.to_s != Gcc_build.version
@@ -15,24 +15,25 @@ class Gcc_dev < Package
case LIBC_VERSION
when '2.23'
binary_sha256({
i686: '68823c2d372559b5ba9e304529bd01f24ccf7c0a71a14824d048b2d323643257'
i686: '77a2ba61cc2529d8dff15e03f10c736fb807f6ce1c112fea71d6050f5005d43a'
})
when '2.27', '2.32', '2.33', '2.35'
binary_sha256({
aarch64: 'f649c41a0d2fbfb5077068319d6dd8cca84b4047d409213b8f32623dff4e2bbd',
armv7l: 'f649c41a0d2fbfb5077068319d6dd8cca84b4047d409213b8f32623dff4e2bbd',
x86_64: 'fb235557844b33ada4de312d2f4709319ffe900c5b62a5fc4b54a06f517aa32c'
aarch64: '3e0d4ca3bc9488f04b22e7ea895fdd5af54b120d00b816cae0bb0c09c78c897b',
armv7l: '3e0d4ca3bc9488f04b22e7ea895fdd5af54b120d00b816cae0bb0c09c78c897b',
x86_64: 'd17ad49fd409e1bc1f850c4415832afac45f31cef999949aeb60b21611b66ddf'
})
when '2.37'
binary_sha256({
aarch64: '258cd5814cee743dd20f58a9eba503d9ad825123c47b4ca53ad0fa86d50ce38b',
armv7l: '258cd5814cee743dd20f58a9eba503d9ad825123c47b4ca53ad0fa86d50ce38b',
x86_64: 'd287e0279881675ae404ebdb4e99bcdb89297263e257e4a2a4b0b6b4e9876059'
aarch64: 'b78b3c593c74cc1f88cfacc0c59c0312780aed0652b63366f7691dffb3c2383f',
armv7l: 'b78b3c593c74cc1f88cfacc0c59c0312780aed0652b63366f7691dffb3c2383f',
x86_64: '2f73cca16717175052cb2dbe47d26b2e8ca7f07c48f84b7ee78ee4efa4dda41d'
})
end
depends_on 'gcc_build' => :build
depends_on 'gcc_lib' # R
depends_on 'glibc_lib' # R
depends_on 'glibc' # R
depends_on 'gmp' # R
depends_on 'isl' # R

View File

@@ -4,7 +4,7 @@ Package.load_package("#{__dir__}/gcc_build.rb")
class Gcc_lib < Package
description 'GCC shared libs except libgccjit'
homepage Gcc_build.homepage
version "14.1.0-glibc#{LIBC_VERSION}" # Do not use @_ver here, it will break the installer.
version "14.2.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 (#{version}) differs from gcc version #{Gcc_build.version}".orange if version.to_s != Gcc_build.version
@@ -15,23 +15,24 @@ class Gcc_lib < Package
case LIBC_VERSION
when '2.23'
binary_sha256({
i686: '192f52beaa24ebbf3e1ae1787c9f12c75ad59e7f7885729d90b7c40b1177d796'
i686: '4f82296584a31339ea3d6212403cd844cab0e2c150878239c04211112be80181'
})
when '2.27', '2.32', '2.33', '2.35'
binary_sha256({
aarch64: '82d95874bc0326967b821420afec5d809c2b883be10bca5798314a4490b11622',
armv7l: '82d95874bc0326967b821420afec5d809c2b883be10bca5798314a4490b11622',
x86_64: '3fd1626fa6f4fafe3ce4fceba5b9d0311132d754135c7545a29a042dc3fb91e3'
aarch64: '6ebddcef4b4ad7f7baf54c9f1e4912906ca36424d39e9ef3cda40466c8028b36',
armv7l: '6ebddcef4b4ad7f7baf54c9f1e4912906ca36424d39e9ef3cda40466c8028b36',
x86_64: 'c14b82e8240bc5db1a6634fc33d9405386be19af182f6364e7a318bc9f2714f8'
})
when '2.37'
binary_sha256({
aarch64: 'aede35bafb5eec105327e8663c06b409e4f13ad662e8e6e472f35fe715dda49c',
armv7l: 'aede35bafb5eec105327e8663c06b409e4f13ad662e8e6e472f35fe715dda49c',
x86_64: '0ecf2f8513b209d2f0ee098a3c9dba904d697e23b497e28fef90d07e9ba94277'
aarch64: '98ff61c1fd0d398658b08eaf84141deaa7a6d7b2f0fde5081c583234c0b70448',
armv7l: '98ff61c1fd0d398658b08eaf84141deaa7a6d7b2f0fde5081c583234c0b70448',
x86_64: '902d07004020783387b436eaf5f9fb9b9a22da608a73486328871396212f503d'
})
end
depends_on 'gcc_build' => :build
depends_on 'glibc_lib' # R
depends_on 'glibc' # R
no_shrink

View File

@@ -4,7 +4,7 @@ Package.load_package("#{__dir__}/gcc_build.rb")
class Libssp < Package
description 'Libssp is a part of the GCC toolkit.'
homepage 'https://gcc.gnu.org/'
version "14.1.0-glibc#{LIBC_VERSION}" # Do not use @_ver here, it will break the installer.
version "14.2.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 (#{version}) differs from gcc version #{Gcc_build.version}".orange if version.to_s != Gcc_build.version
@@ -16,31 +16,34 @@ class Libssp < Package
case LIBC_VERSION
when '2.23'
binary_sha256({
i686: 'f1e548a41f577f4865675e8b280fb949c7a10459980b652d24b80d7f86e673a5'
i686: '482ada83ade66f12de9370a91e3b48bde523248fa870d4729d4644b2115c8e04'
})
when '2.27', '2.32', '2.33', '2.35'
binary_sha256({
aarch64: '2b8d8b39ae8ad8e4ec938279b4a23468e7dc7f56c8c3f692f700a0d49f557855',
armv7l: '2b8d8b39ae8ad8e4ec938279b4a23468e7dc7f56c8c3f692f700a0d49f557855',
x86_64: '2471f3db91744ff93b97fae23e11167ef7f6bc88b51c0fad35c548e76175dbba'
aarch64: 'ed9b5e88ce0beb9862ee9ed4d75751ee7bf198bd5cb1916aa4508e57dd760b41',
armv7l: 'ed9b5e88ce0beb9862ee9ed4d75751ee7bf198bd5cb1916aa4508e57dd760b41',
x86_64: 'd10e99018633679a1503175da5e3b1aaab83f3da9e845d95ffa5450dbb191f9b'
})
when '2.37'
binary_sha256({
aarch64: 'abe1a6d16f4915676186a0bebb009d55ca5ac9e1bb59eb3c9e33e40bd13f10c1',
armv7l: 'abe1a6d16f4915676186a0bebb009d55ca5ac9e1bb59eb3c9e33e40bd13f10c1',
x86_64: '5c0ff4a2b81e1e3492289c81f1630c8f71e8cb7153fbd2848aac31166d53b667'
aarch64: '80428580f3ff02c0b8aa0b65ec64626e906b59d754851f289210360686bdb8d1',
armv7l: '80428580f3ff02c0b8aa0b65ec64626e906b59d754851f289210360686bdb8d1',
x86_64: '69114b1e6bcd208d14305e39de47e32aa8781af96f2ad3cced8333fb2d602ec3'
})
end
depends_on 'ccache' => :build
depends_on 'dejagnu' => :build # for test
depends_on 'glibc' # R
depends_on 'glibc_lib' # R
@gcc_name = 'libssp'
@gcc_global_opts = '--disable-libmpx \
@gcc_global_opts = "--build=#{CREW_TARGET} \
--host=#{CREW_TARGET} \
--target=#{CREW_TARGET} \
--disable-libmpx \
--disable-install-libiberty \
--disable-libssp \
--disable-multilib \
--disable-werror \
--enable-cet=auto \
@@ -64,7 +67,7 @@ class Libssp < Package
--with-mpfr \
--with-pic \
--with-system-libunwind \
--with-system-zlib'
--with-system-zlib"
@cflags = '-fPIC -pipe'
@cxxflags = '-fPIC -pipe'

View File

@@ -6,7 +6,7 @@ require 'buildsystems/cmake'
class Upx < CMake
description 'Extendable, high-performance executable packer for several executable formats'
homepage 'https://github.com/upx/upx'
version '4.2.3'
version '4.2.4'
license 'custom GPL2'
compatibility 'all'
source_url 'https://github.com/upx/upx.git'
@@ -14,10 +14,10 @@ class Upx < CMake
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'b726185f67f13c82f15467e2c5ce5275fa8f9472b99061a4beee840c5e09af80',
armv7l: 'b726185f67f13c82f15467e2c5ce5275fa8f9472b99061a4beee840c5e09af80',
i686: '0514f4f8a27c494f28dfabb956ad18deb2cde2a406991999d326ad4c8b579f7f',
x86_64: '308e574c0e167177a04693ad203f6ce17b3842784071a331aa966d8794182946'
aarch64: 'd33d8bf41db6e536dc9302b62bbeb47233ab6428f5c759d4c055612aaf7551b1',
armv7l: 'd33d8bf41db6e536dc9302b62bbeb47233ab6428f5c759d4c055612aaf7551b1',
i686: 'af902974d3e7194340e450f2377bab8b6f7e2078c65f8a6e6ff071a4f41d9ac2',
x86_64: 'b7b9e5a160059e1ac1ea093ce7a2f2a977a6ca1eda656f96c011e42b2aa0e34f'
})
depends_on 'gcc_lib' # R