Skip to content

Commit

Permalink
gcc8: update to 8.5.0
Browse files Browse the repository at this point in the history
one year of bugfixes
  • Loading branch information
0-wiz-0 committed Jan 29, 2023
1 parent 66664b0 commit 7a57541
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 37 deletions.
4 changes: 2 additions & 2 deletions lang/gcc8-libs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2022/07/28 17:00:34 gutteridge Exp $
# $NetBSD: Makefile,v 1.16 2023/01/29 10:47:33 wiz Exp $

GCC_PKGNAME= gcc8
.include "../../lang/${GCC_PKGNAME}/version.mk"
Expand All @@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-libs-${GCC8_DIST_VERSION}
## The PKGREVISION of this package needs to be at least 1 more than the
## PKGREVISION of the lang/gcc8 package so that with the dependence pattern
## '{gcc8,gcc8-libs}>=8.2.*' pkg_add will choose gcc8-libs over gcc8.
PKGREVISION= 8
PKGREVISION= 1

CATEGORIES= lang
MASTER_SITES= # empty
Expand Down
5 changes: 2 additions & 3 deletions lang/gcc8/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# $NetBSD: Makefile,v 1.33 2022/06/30 11:18:32 nia Exp $
# $NetBSD: Makefile,v 1.34 2023/01/29 10:47:33 wiz Exp $

GCC_PKGNAME= gcc8
.include "version.mk"

DISTNAME= gcc-${GCC8_DIST_VERSION}
PKGNAME= ${GCC_PKGNAME}-${GCC8_DIST_VERSION}
PKGREVISION= 7
## When bumping the PKGREVISION of this package the PKGREVISION of
## lang/gcc8-libs needs to be bumped to be at least 1 more than the
## PKGREVISION of this package!
Expand Down Expand Up @@ -206,7 +205,7 @@ GENERATE_PLIST+= \
CHECK_BUILTIN.zlib:= yes
.include "../../devel/zlib/builtin.mk"
CHECK_BUILTIN.zlib:= no
.if !empty(USE_BUILTIN.zlib:M[yY][eE][sS])
.if ${USE_BUILTIN.zlib:tl} == yes
CONFIGURE_ARGS+= --with-system-zlib
.include "../../devel/zlib/buildlink3.mk"
.else
Expand Down
11 changes: 5 additions & 6 deletions lang/gcc8/distinfo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.16 2021/10/26 10:51:36 nia Exp $
$NetBSD: distinfo,v 1.17 2023/01/29 10:47:33 wiz Exp $

BLAKE2s (gcc-8.4.0.tar.xz) = 7e6d2b52d21f6107c9fb915ff9ecdf5c23d3f9f879ea262bddaa8fe626c5c3f2
SHA512 (gcc-8.4.0.tar.xz) = 6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b4804bc7fe78df335cb53bc83f1ac055baed40979ce4c2c3e46b70280
Size (gcc-8.4.0.tar.xz) = 63713440 bytes
BLAKE2s (gcc-8.5.0.tar.xz) = 9eba966d2d55b1205107267b956f55b09c60765b74eb0560f7f86d857245b946
SHA512 (gcc-8.5.0.tar.xz) = 92f599680e6b7fbce88bcdda810f468777d541e5fddfbb287f7977d51093de2a5178bd0e6a08dfe37090ea10a0508a43ccd00220041abbbec33f1179bfc174d8
Size (gcc-8.5.0.tar.xz) = 63841008 bytes
BLAKE2s (isl-0.16.1.tar.bz2) = 01c3fc657326e81414986eb7ede6f73e540b97009745ced125cdf7f4a8d80f61
SHA512 (isl-0.16.1.tar.bz2) = c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
Size (isl-0.16.1.tar.bz2) = 1626446 bytes
Expand All @@ -23,14 +23,13 @@ SHA1 (patch-gcc_config_t-netbsd) = 208a90f7127ad0a6a3573670b441af56716c1b1b
SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
SHA1 (patch-gcc_configure) = 6a2d8eeeed2bf08c3c81291178e669dc91c913ce
SHA1 (patch-gcc_ggc-common.c) = a5d2dba635859f5d680c3f80d7c30b42461c752b
SHA1 (patch-gcc_gimplify.c) = 6f4fc96f0de1e0e96bc2e020aa352260d4270ba7
SHA1 (patch-gcc_ginclude_stddef.h) = fb1f83801e0f5bcec110667dc868c47ff2d10343
SHA1 (patch-gcc_lto_lto.c) = 7bd85ac8ade76a28c394f6fbe5d495f91824f79f
SHA1 (patch-gcc_targhooks.c) = b28d8a9696d07bbfb00b7d8c55193ba99447ff1d
SHA1 (patch-isl_configure) = 5523c76d95b229b3cd25461b4c2b7af24bf2534e
SHA1 (patch-libffi_configure) = 22006b20d7f655e2455a7ad613d676703b6c1ccc
SHA1 (patch-libffi_testsuite_libffi.call_float2.c) = 27b84a11378fb648dfaad0c70abedd77a0a1c1a8
SHA1 (patch-libgcc_config.host) = 2394da0ec31904ef60da51359ef22041eecfc330
SHA1 (patch-libgcc_config.host) = 819044175ec2c529087093456df1f6c3a0c71dd2
SHA1 (patch-libgcc_crtstuff.c) = a16d465039de00c195cf0694560140a9c38f3a25
SHA1 (patch-libgfortran_io_io.h) = d44676239a7f45e42054d24bd5224f43c20055c0
SHA1 (patch-libsanitizer_configure.tgt) = 0a47782f01631d1c91e28a8735865c8571fbcf7d
Expand Down
18 changes: 0 additions & 18 deletions lang/gcc8/patches/patch-gcc_gimplify.c

This file was deleted.

12 changes: 6 additions & 6 deletions lang/gcc8/patches/patch-libgcc_config.host
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
$NetBSD: patch-libgcc_config.host,v 1.3 2019/04/18 19:18:02 rillig Exp $
$NetBSD: patch-libgcc_config.host,v 1.4 2023/01/29 10:47:33 wiz Exp $

Add NetBSD support for aarch64, x86 and x86_64.

--- libgcc/config.host.orig 2018-04-06 13:04:17.000000000 -0700
+++ libgcc/config.host 2018-11-09 03:33:30.166898124 -0800
@@ -350,6 +350,12 @@
tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
--- libgcc/config.host.orig 2021-05-14 08:42:10.000000000 +0000
+++ libgcc/config.host
@@ -353,6 +353,12 @@ aarch64*-*-fuchsia*)
tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp"
;;
+aarch64*-*-netbsd*)
Expand All @@ -17,7 +17,7 @@ Add NetBSD support for aarch64, x86 and x86_64.
aarch64*-*-linux*)
extra_parts="$extra_parts crtfastmath.o"
md_unwind_header=aarch64/linux-unwind.h
@@ -632,10 +638,10 @@
@@ -636,10 +642,10 @@ x86_64-*-freebsd*)
md_unwind_header=i386/freebsd-unwind.h
;;
i[34567]86-*-netbsdelf*)
Expand Down
4 changes: 2 additions & 2 deletions lang/gcc8/version.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# $NetBSD: version.mk,v 1.4 2020/04/08 06:39:57 wiz Exp $
GCC8_DIST_VERSION:= 8.4.0
# $NetBSD: version.mk,v 1.5 2023/01/29 10:47:33 wiz Exp $
GCC8_DIST_VERSION:= 8.5.0

0 comments on commit 7a57541

Please sign in to comment.