head 1.5; access; symbols pkgsrc-2021Q1:1.4.0.30 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.28 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.26 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.22 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.24 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.20 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.18 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.16 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.14 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.12 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.10 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.8 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.6 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.4 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.3.0.22 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.20 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.18 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.16 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.14 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.12 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.10 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.8 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.6 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.4 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.2 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.2.0.4 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.2 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.1.0.8 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.6 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.4 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.2 pkgsrc-2013Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2021.04.02.11.56.15; author nia; state dead; branches; next 1.4; commitid vW3eTMQ4818FeINC; 1.4 date 2017.07.10.15.55.40; author maya; state Exp; branches; next 1.3; commitid xGZ5bP2obYWCmHYz; 1.3 date 2014.11.28.09.57.32; author obache; state Exp; branches; next 1.2; commitid eFnk5hXYJjvB3WZx; 1.2 date 2014.05.31.13.06.25; author ryoon; state Exp; branches; next 1.1; commitid hE3nXFhwB5nKWGCx; 1.1 date 2013.04.01.21.06.17; author wiz; state Exp; branches; next ; desc @@ 1.5 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.4 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-04-28 10:05:29.000000000 +0000 +++ gcc/configure @@@@ -26886,7 +26886,7 @@@@ else # 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 @@@@ -26895,6 +26895,7 @@@@ else fi ;; + *-*-openbsd*) gcc_cv_libc_provides_ssp=yes ;; *) gcc_cv_libc_provides_ssp=no ;; esac fi @@@@ -26967,6 +26968,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.4 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.3 2014/11/28 09:57:32 obache Exp $ @ 1.3 log @Bump PKGREVISION. * Fixes regressions, revive parts removed at "Fix build under OpenBSD/amd64 5.5" * Drop default behaviour changes and local features from OpenBSD ports, it break other platforms, at least, NetBSD-6.0/i386. * Remove needless patches after "Restore monolithic gcc48 and gcc48-libs". @ text @d1 1 a1 1 $NetBSD: patch-gcc_configure,v 1.2 2014/05/31 13:06:25 ryoon Exp $ d7 3 d12 10 a21 1 @@@@ -26864,6 +26864,7 @@@@ else d29 1 a29 1 @@@@ -26936,6 +26937,20 @@@@ case "$target" in @ 1.2 log @Update to 4.8.3 * Convert gcc48 to simple meta-pkg * Potentially fix non-NetBSD packaging * Fix gcc48-libs/gcc48-cc++ build under OpenBSD/amd64 5.5 * Enable graphite option, from wip/gcc48snapshot via Xiyue Deng * Tweak nls option Changelog: GCC 4.8.3 This is the [35]list of problem reports (PRs) from GCC's bug tracking system that are known to be fixed in the 4.8.3 release. This list might not be complete (that is, it is possible that some PRs that have been fixed are not listed here). Support for the new powerpc64le-linux platform has been added. It defaults to generating code that conforms to the ELFV2 @ text @d1 1 a1 1 $NetBSD: patch-gcc_configure,v 1.1 2013/04/01 21:06:17 wiz Exp $ d17 21 @ 1.1 log @Add gcc48 packages, provided by Kai-Uwe Eckhardt . New major version of gcc, lots of changes. For details, look here: http://gcc.gnu.org/gcc-4.8/changes.html @ text @d1 1 a1 1 $NetBSD: patch-gcc_configure,v 1.1 2012/06/23 22:13:02 marino Exp $ d7 1 a7 1 --- gcc/configure.orig 2012-03-08 13:54:54.000000000 +0000 d9 2 a10 19 @@@@ -26802,6 +26802,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 d12 5 a16 1 if test x$gcc_cv_target_dl_iterate_phdr = xyes; then @