head 1.3; access; symbols pkgsrc-2021Q1:1.2.0.30 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.28 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.26 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.22 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.24 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.20 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.18 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.16 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.14 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.12 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.10 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.8 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.6 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.4 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.1.0.24 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.22 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.20 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.18 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.16 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.14 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.12 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.10 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.8 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.6 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.4 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.2 pkgsrc-2014Q3-base:1.1; locks; strict; comment @# @; 1.3 date 2021.04.02.11.56.16; author nia; state dead; branches; next 1.2; commitid vW3eTMQ4818FeINC; 1.2 date 2017.07.10.15.55.40; author maya; state Exp; branches; next 1.1; commitid xGZ5bP2obYWCmHYz; 1.1 date 2014.09.04.18.43.11; author jperkin; state Exp; branches; next ; commitid OMnC49fIGt41I3Px; desc @@ 1.3 log @remove gcc48/gcc49. use of these packages was disabled in the pkgsrc infrastructure in january because they were causing problems on platforms with older compilers that can build gcc6 just fine: glibc + FORTIFY + gcc48,gcc49,gcc5 = build failures. gcc48 and newer require a c++98 compiler, same as all gcc versions up to 11, so are not useful for bootstrapping. gcc5 has additional Ada bits, someone needs to determine if they're useful before it can go. @ text @$NetBSD: patch-gcc_configure,v 1.2 2017/07/10 15:55:40 maya Exp $ Add dl_iterate_phdr detection for FreeBSD and DragonFly. Detection for NetBSD and OpenBSD is added but commented out in case this error handling mechanism is activated for these platforms later. netbsd provides ssp in libc and doesn't build libssp, adjust ssp spec fragment for it too --- gcc/configure.orig 2014-05-28 11:37:50.000000000 +0000 +++ gcc/configure @@@@ -27513,7 +27513,7 @@@@ fi # simply assert that glibc does provide this, which is true for all # realistically usable GNU/Hurd configurations. gcc_cv_libc_provides_ssp=yes;; - *-*-darwin* | *-*-freebsd*) + *-*-darwin* | *-*-freebsd* | *-*-netbsd*) ac_fn_c_check_func "$LINENO" "__stack_chk_fail" "ac_cv_func___stack_chk_fail" if test "x$ac_cv_func___stack_chk_fail" = x""yes; then : gcc_cv_libc_provides_ssp=yes @@@@ -27601,6 +27601,20 @@@@ case "$target" in gcc_cv_target_dl_iterate_phdr=no fi ;; + *-*-dragonfly* | *-*-freebsd*) + if grep dl_iterate_phdr $target_header_dir/sys/link_elf.h > /dev/null 2>&1; then + gcc_cv_target_dl_iterate_phdr=yes + else + gcc_cv_target_dl_iterate_phdr=no + fi + ;; +# *-*-netbsd* | *-*-openbsd*) +# if grep dl_iterate_phdr $target_header_dir/link_elf.h > /dev/null 2>&1; then +# gcc_cv_target_dl_iterate_phdr=yes +# else +# gcc_cv_target_dl_iterate_phdr=no +# fi +# ;; esac if test x$gcc_cv_target_dl_iterate_phdr = xyes; then @ 1.2 log @gcc{48,49}: netbsd also provides libssp in libc, adjust LINK_SSP_SPEC accordingly. already done for newer versions of gcc. Now on netbsd all gcc packages can successfully build with -fstack-protector. bump pkgrevision (sorry) @ text @d1 1 a1 1 $NetBSD: patch-gcc_configure,v 1.1 2014/09/04 18:43:11 jperkin Exp $ @ 1.1 log @Initial import of gcc49-4.9.1 as lang/gcc49. Changes, New Features, and Fixes in GCC 4.9 can be found here: https://gcc.gnu.org/gcc-4.9/changes.html This is based heavily on lang/gcc47 but updated for GCC 4.9.1. Tested on SmartOS (32-bit and 64-bit) and NetBSD 6.1.4/amd64. @ text @d1 1 a1 1 $NetBSD$ d7 3 d12 10 a21 1 @@@@ -27449,6 +27449,20 @@@@ case "$target" in @