diff options
Diffstat (limited to 'lang')
23 files changed, 129 insertions, 31 deletions
diff --git a/lang/gcc10-libs/Makefile b/lang/gcc10-libs/Makefile index 59b637b4af0..c48b3bb938f 100644 --- a/lang/gcc10-libs/Makefile +++ b/lang/gcc10-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2020/09/02 16:14:03 ryoon Exp $ +# $NetBSD: Makefile,v 1.2 2021/02/13 15:56:18 maya Exp $ GCC_PKGNAME= gcc10 .include "../../lang/${GCC_PKGNAME}/version.mk" @@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-libs-${GCC10_DIST_VERSION} ## The PKGREVISION of this package needs to be at least 1 more than the ## PKGREVISION of the lang/gcc10 package so that with the dependence pattern ## '{gcc10,gcc10-libs}>=8.2.*' pkg_add will choose gcc10-libs over gcc10. -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= lang MASTER_SITES= # empty diff --git a/lang/gcc10/Makefile b/lang/gcc10/Makefile index c311dafef55..c04e83acffc 100644 --- a/lang/gcc10/Makefile +++ b/lang/gcc10/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2021/02/05 18:32:11 maya Exp $ +# $NetBSD: Makefile,v 1.8 2021/02/13 15:56:17 maya Exp $ GCC_PKGNAME= gcc10 -PKGREVISION= 1 +PKGREVISION= 2 .include "version.mk" DISTNAME= gcc-${GCC10_DIST_VERSION} diff --git a/lang/gcc10/distinfo b/lang/gcc10/distinfo index c7e1ee879b2..3a8e9f28081 100644 --- a/lang/gcc10/distinfo +++ b/lang/gcc10/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2020/10/20 18:37:36 tnn Exp $ +$NetBSD: distinfo,v 1.6 2021/02/13 15:56:17 maya Exp $ SHA1 (gcc-10.2.0.tar.xz) = 8de0aecd3a52bb92b43082df8a9256356d1f03be RMD160 (gcc-10.2.0.tar.xz) = 73f182e7d40e5c2988b2b8cd80cfca601f20e9fc @@ -12,7 +12,8 @@ SHA1 (patch-contrib_download__prerequisites) = 9cdcde21ab174052911447d20762ddfd4 SHA1 (patch-fixincludes_inclhack.def) = 7b00974d3f52a8364190a607f52a5d7e8a6db41a SHA1 (patch-gcc_Makefile.in) = c0f97c75ba1d37eae894141edd58bb36b734f651 SHA1 (patch-gcc_config.host) = 8920ce841f6088b365c9b590e3ea9535bd880b40 -SHA1 (patch-gcc_config_aarch64_aarch64-builtins.c) = f4d8ab855d0755dfe533053cedde6940cb837ce0 +SHA1 (patch-gcc_config_aarch64_aarch64-builtins.c) = 87185f5c2e2dbe4195cb19fe6213d2d616d5519b +SHA1 (patch-gcc_config_sparc_sparc.c) = e9cb956f3769642bcd0ba4a477d16c73dea46014 SHA1 (patch-gcc_configure) = 6a2d8eeeed2bf08c3c81291178e669dc91c913ce SHA1 (patch-gcc_ggc-common.c) = 3e325767922ab7d2079fdb9a3d6b6aa531a2fea5 SHA1 (patch-gcc_lto_lto.c) = 7bd85ac8ade76a28c394f6fbe5d495f91824f79f diff --git a/lang/gcc10/patches/patch-gcc_config_aarch64_aarch64-builtins.c b/lang/gcc10/patches/patch-gcc_config_aarch64_aarch64-builtins.c index 3580712a4ba..dac4d994e72 100644 --- a/lang/gcc10/patches/patch-gcc_config_aarch64_aarch64-builtins.c +++ b/lang/gcc10/patches/patch-gcc_config_aarch64_aarch64-builtins.c @@ -1,6 +1,7 @@ -$NetBSD: patch-gcc_config_aarch64_aarch64-builtins.c,v 1.1 2020/05/10 15:02:44 maya Exp $ +$NetBSD: patch-gcc_config_aarch64_aarch64-builtins.c,v 1.2 2021/02/13 15:56:17 maya Exp $ initialise subtarget builtins so cabs*() are renamed. +https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565289.html --- gcc/config/aarch64/aarch64-builtins.c.orig 2017-01-20 21:03:41.000000000 +0000 +++ gcc/config/aarch64/aarch64-builtins.c 2018-11-10 00:44:41.905576216 +0000 diff --git a/lang/gcc10/patches/patch-gcc_config_sparc_sparc.c b/lang/gcc10/patches/patch-gcc_config_sparc_sparc.c new file mode 100644 index 00000000000..7d7de959c87 --- /dev/null +++ b/lang/gcc10/patches/patch-gcc_config_sparc_sparc.c @@ -0,0 +1,18 @@ +$NetBSD: patch-gcc_config_sparc_sparc.c,v 1.1 2021/02/13 15:56:17 maya Exp $ + +Invoke subtarget-specific code for replacing builtin functions. +Causes "cabsl" to be converted to _c99_cabsl on NetBSD. +https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565290.html + +--- gcc/config/sparc/sparc.c.orig 2020-07-23 06:35:17.480386051 +0000 ++++ gcc/config/sparc/sparc.c +@@ -10993,6 +10993,9 @@ sparc_init_builtins (void) + + if (TARGET_VIS) + sparc_vis_init_builtins (); ++#ifdef SUBTARGET_INIT_BUILTINS ++ SUBTARGET_INIT_BUILTINS; ++#endif + } + + /* Create builtin functions for FPU instructions. */ diff --git a/lang/gcc6-libs/Makefile b/lang/gcc6-libs/Makefile index 4a6ac0c7ea2..d7a3206b4cf 100644 --- a/lang/gcc6-libs/Makefile +++ b/lang/gcc6-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2021/02/12 00:34:22 gutteridge Exp $ +# $NetBSD: Makefile,v 1.15 2021/02/13 15:56:16 maya Exp $ GCC_PKGNAME= gcc6 .include "../../lang/${GCC_PKGNAME}/version.mk" @@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-libs-${GCC6_DIST_VERSION} ## The PKGREVISION of this package needs to be at least 1 more than the ## PKGREVISION of the lang/gcc6 package so that with the dependence pattern ## '{gcc6,gcc6-libs}>=6.1.*' pkg_add will choose gcc6-libs over gcc6. -PKGREVISION= 6 +PKGREVISION= 7 CATEGORIES= lang MASTER_SITES= # empty diff --git a/lang/gcc6/Makefile b/lang/gcc6/Makefile index 59b1409fdba..aa6d07dca06 100644 --- a/lang/gcc6/Makefile +++ b/lang/gcc6/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2020/12/04 20:45:26 nia Exp $ +# $NetBSD: Makefile,v 1.30 2021/02/13 15:56:16 maya Exp $ GCC_PKGNAME= gcc6 .include "version.mk" @@ -8,7 +8,7 @@ PKGNAME= ${GCC_PKGNAME}-${GCC6_DIST_VERSION} ## When bumping the PKGREVISION of this package the PKGREVISION of ## lang/gcc6-libs needs to be bumped to be at least 1 more than the ## PKGREVISION of this package! -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC6_DIST_VERSION}/} EXTRACT_SUFX= .tar.xz diff --git a/lang/gcc6/distinfo b/lang/gcc6/distinfo index b6d8b3cbb47..c4b925d3d36 100644 --- a/lang/gcc6/distinfo +++ b/lang/gcc6/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2020/03/02 23:33:04 khorben Exp $ +$NetBSD: distinfo,v 1.19 2021/02/13 15:56:16 maya Exp $ SHA1 (ecj-4.5.jar) = 58c1d79c64c8cd718550f32a932ccfde8d1e6449 RMD160 (ecj-4.5.jar) = d3f4da657f086b6423f74e93f001132f4855368a @@ -21,6 +21,7 @@ SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a006 SHA1 (patch-gcc_config_netbsd-stdint.h) = 025fc883101a187e84ed4c0772406720d645d550 SHA1 (patch-gcc_config_netbsd.c) = 3c09521e1803633a3643cf396a03f1f433ec869b SHA1 (patch-gcc_config_netbsd.h) = 7586993f89f43de33bd0aac674e3e48c86dfe56d +SHA1 (patch-gcc_config_sparc_sparc.c) = a8c668597d70f6af52860e97a4f900b1126fae08 SHA1 (patch-gcc_config_t-netbsd) = 802ad5706aa7ca9629f8e237f08fbb1569d28846 SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3 SHA1 (patch-gcc_configure) = 15fb7af267b79965f83bc64ce8aad1279b0ea52d diff --git a/lang/gcc6/patches/patch-gcc_config_sparc_sparc.c b/lang/gcc6/patches/patch-gcc_config_sparc_sparc.c new file mode 100644 index 00000000000..fe1749ed660 --- /dev/null +++ b/lang/gcc6/patches/patch-gcc_config_sparc_sparc.c @@ -0,0 +1,18 @@ +$NetBSD: patch-gcc_config_sparc_sparc.c,v 1.1 2021/02/13 15:56:16 maya Exp $ + +Invoke subtarget-specific code for replacing builtin functions. +Causes "cabsl" to be converted to _c99_cabsl on NetBSD. +https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565290.html + +--- gcc/config/sparc/sparc.c.orig 2018-04-06 22:33:55.000000000 +0000 ++++ gcc/config/sparc/sparc.c +@@ -10208,6 +10208,9 @@ sparc_init_builtins (void) + + if (TARGET_VIS) + sparc_vis_init_builtins (); ++#ifdef SUBTARGET_INIT_BUILTINS ++ SUBTARGET_INIT_BUILTINS; ++#endif + } + + /* Create builtin functions for FPU instructions. */ diff --git a/lang/gcc7-libs/Makefile b/lang/gcc7-libs/Makefile index ece4757a167..5d9595f9179 100644 --- a/lang/gcc7-libs/Makefile +++ b/lang/gcc7-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2020/10/23 00:39:37 gutteridge Exp $ +# $NetBSD: Makefile,v 1.12 2021/02/13 15:56:16 maya Exp $ GCC_PKGNAME= gcc7 .include "../../lang/${GCC_PKGNAME}/version.mk" @@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-libs-${GCC7_DIST_VERSION} ## The PKGREVISION of this package needs to be at least 1 more than the ## PKGREVISION of the lang/gcc7 package so that with the dependence pattern ## '{gcc7,gcc7-libs}>=7.5.*' pkg_add will choose gcc7-libs over gcc7. -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= lang MASTER_SITES= # empty diff --git a/lang/gcc7/Makefile b/lang/gcc7/Makefile index ab27a462952..c813cafbd94 100644 --- a/lang/gcc7/Makefile +++ b/lang/gcc7/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.36 2020/10/23 00:45:48 gutteridge Exp $ +# $NetBSD: Makefile,v 1.37 2021/02/13 15:56:16 maya Exp $ GCC_PKGNAME= gcc7 .include "version.mk" DISTNAME= gcc-${GCC7_DIST_VERSION} PKGNAME= ${GCC_PKGNAME}-${GCC7_DIST_VERSION} -PKGREVISION= 3 +PKGREVISION= 4 ## When bumping the PKGREVISION of this package the PKGREVISION of ## lang/gcc7-libs needs to be bumped to be at least 1 more than the ## PKGREVISION of this package! diff --git a/lang/gcc7/distinfo b/lang/gcc7/distinfo index 0536d5643a6..78142db6752 100644 --- a/lang/gcc7/distinfo +++ b/lang/gcc7/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2020/04/09 12:02:14 rhialto Exp $ +$NetBSD: distinfo,v 1.19 2021/02/13 15:56:16 maya Exp $ SHA1 (gcc-7.5.0.tar.xz) = 9153345fa05adfa58b4759ccb9f37d09662dd101 RMD160 (gcc-7.5.0.tar.xz) = 91d46ec088badec75f41a2ad2a0ba228a6715107 @@ -13,7 +13,7 @@ SHA1 (patch-gcc_Makefile.in) = d96a57a098e49a2c5ea6478dd5d22aba584fc1bc SHA1 (patch-gcc_common_config_arm_arm-common.c) = 7c973cb9554a52f4b85f8fc98708f5e5cce8e8bd SHA1 (patch-gcc_config.gcc) = 20d1444cc2c031c8adc96289e1ccc6c1d29eb72f SHA1 (patch-gcc_config.host) = 1b1e11cd199eb93f49443d51c0063b09b7327858 -SHA1 (patch-gcc_config_aarch64_aarch64-builtins.c) = b10ef4b9ad39e605fc4e2a0c8dffdae677842e94 +SHA1 (patch-gcc_config_aarch64_aarch64-builtins.c) = 2ca1343216902252fab1fbc28b6bdfbf1b7f110b SHA1 (patch-gcc_config_aarch64_aarch64-netbsd.h) = ed7bc42813b33c87242f5ef0a304a621b873c9eb SHA1 (patch-gcc_config_aarch64_aarch64.h) = 5339d9c7ce9d040097c29cc3b7ec1d2fbfff811c SHA1 (patch-gcc_config_aarch64_t-aarch64-netbsd) = 0e7feb6f238b0a752ccc50e95e09b017cb368a90 @@ -27,6 +27,7 @@ SHA1 (patch-gcc_config_host-netbsd.c) = 765295f07edb8a68f1910e3a9b4dd2a7dcd491a5 SHA1 (patch-gcc_config_netbsd-elf.h) = 5a9b5ef26c03bec3cd58e2f446224aa6e94a30d5 SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633 SHA1 (patch-gcc_config_netbsd.h) = 662226f4491f94b641f78b1273a9047434d75aed +SHA1 (patch-gcc_config_sparc_sparc.c) = 7d37f33744d620faa5a2154056ba80bede0d67f6 SHA1 (patch-gcc_config_t-netbsd) = 802ad5706aa7ca9629f8e237f08fbb1569d28846 SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3 SHA1 (patch-gcc_configure) = 15fb7af267b79965f83bc64ce8aad1279b0ea52d diff --git a/lang/gcc7/patches/patch-gcc_config_aarch64_aarch64-builtins.c b/lang/gcc7/patches/patch-gcc_config_aarch64_aarch64-builtins.c index 76208c56fd5..60524547672 100644 --- a/lang/gcc7/patches/patch-gcc_config_aarch64_aarch64-builtins.c +++ b/lang/gcc7/patches/patch-gcc_config_aarch64_aarch64-builtins.c @@ -1,6 +1,7 @@ -$NetBSD: patch-gcc_config_aarch64_aarch64-builtins.c,v 1.1 2018/11/10 04:24:00 mrg Exp $ +$NetBSD: patch-gcc_config_aarch64_aarch64-builtins.c,v 1.2 2021/02/13 15:56:16 maya Exp $ initialise subtarget builtins so cabs*() are renamed. +https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565289.html --- gcc/config/aarch64/aarch64-builtins.c.orig 2017-01-20 21:03:41.000000000 +0000 +++ gcc/config/aarch64/aarch64-builtins.c 2018-11-10 00:44:41.905576216 +0000 diff --git a/lang/gcc7/patches/patch-gcc_config_sparc_sparc.c b/lang/gcc7/patches/patch-gcc_config_sparc_sparc.c new file mode 100644 index 00000000000..188e38e1384 --- /dev/null +++ b/lang/gcc7/patches/patch-gcc_config_sparc_sparc.c @@ -0,0 +1,18 @@ +$NetBSD: patch-gcc_config_sparc_sparc.c,v 1.1 2021/02/13 15:56:16 maya Exp $ + +Invoke subtarget-specific code for replacing builtin functions. +Causes "cabsl" to be converted to _c99_cabsl on NetBSD. +https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565290.html + +--- gcc/config/sparc/sparc.c.orig 2021-02-13 10:19:18.404989362 +0000 ++++ gcc/config/sparc/sparc.c +@@ -10838,6 +10838,9 @@ sparc_init_builtins (void) + + if (TARGET_VIS) + sparc_vis_init_builtins (); ++#ifdef SUBTARGET_INIT_BUILTINS ++ SUBTARGET_INIT_BUILTINS; ++#endif + } + + /* Create builtin functions for FPU instructions. */ diff --git a/lang/gcc8-libs/Makefile b/lang/gcc8-libs/Makefile index c9ce4d40231..4d121ddd041 100644 --- a/lang/gcc8-libs/Makefile +++ b/lang/gcc8-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2021/02/12 00:34:23 gutteridge Exp $ +# $NetBSD: Makefile,v 1.12 2021/02/13 15:56:17 maya Exp $ GCC_PKGNAME= gcc8 .include "../../lang/${GCC_PKGNAME}/version.mk" @@ -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= 4 +PKGREVISION= 5 CATEGORIES= lang MASTER_SITES= # empty diff --git a/lang/gcc8/Makefile b/lang/gcc8/Makefile index b7fd25f6d92..61a739a9971 100644 --- a/lang/gcc8/Makefile +++ b/lang/gcc8/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.24 2020/12/04 20:45:26 nia Exp $ +# $NetBSD: Makefile,v 1.25 2021/02/13 15:56:16 maya Exp $ GCC_PKGNAME= gcc8 -PKGREVISION= 3 .include "version.mk" DISTNAME= gcc-${GCC8_DIST_VERSION} PKGNAME= ${GCC_PKGNAME}-${GCC8_DIST_VERSION} +PKGREVISION= 4 ## 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! diff --git a/lang/gcc8/distinfo b/lang/gcc8/distinfo index d2457c54d0b..a4edf382dee 100644 --- a/lang/gcc8/distinfo +++ b/lang/gcc8/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2020/09/17 22:04:15 ryoon Exp $ +$NetBSD: distinfo,v 1.14 2021/02/13 15:56:16 maya Exp $ SHA1 (gcc-8.4.0.tar.xz) = 00ddb177b04caffd40f7af0175d5b3c8e5442545 RMD160 (gcc-8.4.0.tar.xz) = 4b3890e8865fae1d2b91166fb98e1097f5401d4a @@ -13,13 +13,14 @@ SHA1 (patch-fixincludes_fixincl.x) = f4d3504db0480f8a3443a684e0132a521a06b026 SHA1 (patch-fixincludes_inclhack.def) = 7b00974d3f52a8364190a607f52a5d7e8a6db41a SHA1 (patch-gcc_Makefile.in) = d96a57a098e49a2c5ea6478dd5d22aba584fc1bc SHA1 (patch-gcc_config.gcc) = 4a971d1df7f05cfaefdf462d1b7c6dea1e838713 -SHA1 (patch-gcc_config_aarch64_aarch64-builtins.c) = b10ef4b9ad39e605fc4e2a0c8dffdae677842e94 +SHA1 (patch-gcc_config_aarch64_aarch64-builtins.c) = 2ca1343216902252fab1fbc28b6bdfbf1b7f110b SHA1 (patch-gcc_config_aarch64_aarch64-netbsd.h) = bf45de53dfbf2cf5298cc8836996e19e2fd67274 SHA1 (patch-gcc_config_aarch64_aarch64.h) = 64e7a12701f14fea94693908ab0581677d1b9606 SHA1 (patch-gcc_config_aarch64_t-aarch64-netbsd) = 29de4fe018f7cecf740bc596d8205f8980de5bfa SHA1 (patch-gcc_config_arm_arm.h) = b668b6753e375e57bc4fbc3e5726f60f4808906e SHA1 (patch-gcc_config_netbsd-elf.h) = e392918cce01627d64d4153329775c7ad03b4a45 SHA1 (patch-gcc_config_netbsd-protos.h) = 54641de17fa2c9459497f57fd7fc1e23372b284c +SHA1 (patch-gcc_config_sparc_sparc.c) = 45e792fdef8de3d37577660c59fcbe0e05f9a494 SHA1 (patch-gcc_config_t-netbsd) = 208a90f7127ad0a6a3573670b441af56716c1b1b SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3 SHA1 (patch-gcc_configure) = 6a2d8eeeed2bf08c3c81291178e669dc91c913ce diff --git a/lang/gcc8/patches/patch-gcc_config_aarch64_aarch64-builtins.c b/lang/gcc8/patches/patch-gcc_config_aarch64_aarch64-builtins.c index 26d06383e5d..e3ff568be1c 100644 --- a/lang/gcc8/patches/patch-gcc_config_aarch64_aarch64-builtins.c +++ b/lang/gcc8/patches/patch-gcc_config_aarch64_aarch64-builtins.c @@ -1,6 +1,7 @@ -$NetBSD: patch-gcc_config_aarch64_aarch64-builtins.c,v 1.1 2018/11/10 11:45:27 mrg Exp $ +$NetBSD: patch-gcc_config_aarch64_aarch64-builtins.c,v 1.2 2021/02/13 15:56:17 maya Exp $ initialise subtarget builtins so cabs*() are renamed. +https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565289.html --- gcc/config/aarch64/aarch64-builtins.c.orig 2017-01-20 21:03:41.000000000 +0000 +++ gcc/config/aarch64/aarch64-builtins.c 2018-11-10 00:44:41.905576216 +0000 diff --git a/lang/gcc8/patches/patch-gcc_config_sparc_sparc.c b/lang/gcc8/patches/patch-gcc_config_sparc_sparc.c new file mode 100644 index 00000000000..e10b9ac1267 --- /dev/null +++ b/lang/gcc8/patches/patch-gcc_config_sparc_sparc.c @@ -0,0 +1,18 @@ +$NetBSD: patch-gcc_config_sparc_sparc.c,v 1.1 2021/02/13 15:56:17 maya Exp $ + +Invoke subtarget-specific code for replacing builtin functions. +Causes "cabsl" to be converted to _c99_cabsl on NetBSD. +https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565290.html + +--- gcc/config/sparc/sparc.c.orig 2020-03-04 08:30:00.000000000 +0000 ++++ gcc/config/sparc/sparc.c +@@ -10943,6 +10943,9 @@ sparc_init_builtins (void) + + if (TARGET_VIS) + sparc_vis_init_builtins (); ++#ifdef SUBTARGET_INIT_BUILTINS ++ SUBTARGET_INIT_BUILTINS; ++#endif + } + + /* Create builtin functions for FPU instructions. */ diff --git a/lang/gcc9-libs/Makefile b/lang/gcc9-libs/Makefile index fe1c739650f..0f25dfc0ab8 100644 --- a/lang/gcc9-libs/Makefile +++ b/lang/gcc9-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2021/02/12 00:34:23 gutteridge Exp $ +# $NetBSD: Makefile,v 1.4 2021/02/13 15:56:17 maya Exp $ GCC_PKGNAME= gcc9 .include "../../lang/${GCC_PKGNAME}/version.mk" @@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-libs-${GCC9_DIST_VERSION} ## The PKGREVISION of this package needs to be at least 1 more than the ## PKGREVISION of the lang/gcc9 package so that with the dependence pattern ## '{gcc9,gcc9-libs}>=9.2.*' pkg_add will choose gcc9-libs over gcc9. -PKGREVISION= 6 +PKGREVISION= 7 CATEGORIES= lang MASTER_SITES= # empty diff --git a/lang/gcc9/Makefile b/lang/gcc9/Makefile index 9f57dd28e4c..df1e060907d 100644 --- a/lang/gcc9/Makefile +++ b/lang/gcc9/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2021/02/12 00:42:05 gutteridge Exp $ +# $NetBSD: Makefile,v 1.29 2021/02/13 15:56:17 maya Exp $ GCC_PKGNAME= gcc9 .include "version.mk" @@ -8,7 +8,7 @@ PKGNAME= ${GCC_PKGNAME}-${GCC9_DIST_VERSION} ## When bumping the PKGREVISION of this package the PKGREVISION of ## lang/gcc9-libs needs to be bumped to be at least 1 more than the ## PKGREVISION of this package! -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC9_VERSION}/} EXTRACT_SUFX= .tar.xz diff --git a/lang/gcc9/distinfo b/lang/gcc9/distinfo index 8e026cc6a39..369e9e94652 100644 --- a/lang/gcc9/distinfo +++ b/lang/gcc9/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.6 2020/09/17 12:26:38 ryoon Exp $ +$NetBSD: distinfo,v 1.7 2021/02/13 15:56:17 maya Exp $ SHA1 (gcc-9.3.0.tar.xz) = b746688bf045a316fc92c3528138ad10d0822b6b RMD160 (gcc-9.3.0.tar.xz) = e0ade31726b8fbb1eb308e2b1383a79633aef996 SHA512 (gcc-9.3.0.tar.xz) = 4b9e3639eef6e623747a22c37a904b4750c93b6da77cf3958d5047e9b5ebddb7eebe091cc16ca0a227c0ecbd2bf3b984b221130f269a97ee4cc18f9cf6c444de Size (gcc-9.3.0.tar.xz) = 70533868 bytes SHA1 (patch-gcc_Makefile.in) = d96a57a098e49a2c5ea6478dd5d22aba584fc1bc +SHA1 (patch-gcc_config_sparc_sparc.c) = a415d1b23d6bf0c9c3c492787274929a291b78f2 SHA1 (patch-gcc_gimplify.c) = f933a033d4a6c11fa82c8c9c6785842ba7993862 SHA1 (patch-libgfortran_io_format.c) = 9bbc5e4f6277bdec785b3690fd08259939a2aa1a SHA1 (patch-libgfortran_io_list__read.c) = 589cdb8dcd180b781ededc086e8775224fca5779 diff --git a/lang/gcc9/patches/patch-gcc_config_sparc_sparc.c b/lang/gcc9/patches/patch-gcc_config_sparc_sparc.c new file mode 100644 index 00000000000..3d01aff198e --- /dev/null +++ b/lang/gcc9/patches/patch-gcc_config_sparc_sparc.c @@ -0,0 +1,18 @@ +$NetBSD: patch-gcc_config_sparc_sparc.c,v 1.1 2021/02/13 15:56:17 maya Exp $ + +Invoke subtarget-specific code for replacing builtin functions. +Causes "cabsl" to be converted to _c99_cabsl on NetBSD. +https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565290.html + +--- gcc/config/sparc/sparc.c.orig 2020-03-12 11:07:21.000000000 +0000 ++++ gcc/config/sparc/sparc.c +@@ -11010,6 +11010,9 @@ sparc_init_builtins (void) + + if (TARGET_VIS) + sparc_vis_init_builtins (); ++#ifdef SUBTARGET_INIT_BUILTINS ++ SUBTARGET_INIT_BUILTINS; ++#endif + } + + /* Create builtin functions for FPU instructions. */ |