head 1.4; access; symbols pkgsrc-2021Q1:1.3.0.44 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.42 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.40 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.36 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.16 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.38 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.34 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.32 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.30 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.28 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.26 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.24 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.22 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.20 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.18 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.14 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.12 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.10 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.8 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.6 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.4 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.2 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.1.0.2 pkgsrc-2015Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2021.04.06.12.15.24; author nia; state dead; branches; next 1.3; commitid WXXWEdIOpFWieeOC; 1.3 date 2015.11.17.11.21.15; author wiz; state Exp; branches; next 1.2; commitid NZpPRwaG6ZhFarJy; 1.2 date 2015.11.17.10.19.40; author wiz; state Exp; branches; next 1.1; commitid O16X7silRKRrPqJy; 1.1 date 2015.07.16.12.03.36; author ryoon; state Exp; branches; next ; commitid dSn6SllG8W8kovty; desc @@ 1.4 log @remove gcc5, gcc5-libs these were disabled in the pkgsrc infrastructure some time ago because they cannot be built cleanly with older compilers while gcc6 can. this all seems to be separate from the ada bits in gcc-5-aux which may still be useful. @ text @$NetBSD: patch-gcc_configure,v 1.3 2015/11/17 11:21:15 wiz Exp $ First chunk: SSP is in libc on NetBSD https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68380 Second chunk: XXX --- gcc/configure.orig 2015-07-03 17:00:49.000000000 +0000 +++ gcc/configure @@@@ -27775,7 +27775,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 @@@@ -27870,6 +27870,13 @@@@ case "$target" in gcc_cv_target_dl_iterate_phdr=no fi ;; + *-*-netbsd* | *-*-openbsd*) + 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 + ;; esac if test x$gcc_cv_target_dl_iterate_phdr = xyes; then @ 1.3 log @Add upstream bug report URL. @ text @d1 1 a1 1 $NetBSD: patch-gcc_configure,v 1.2 2015/11/17 10:19:40 wiz Exp $ @ 1.2 log @Fix build on NetBSD with PKGSRC_USE_SSP. Thanks to mrg for hints. Some pkglint cleanup while here. @ text @d1 6 a6 1 $NetBSD: patch-gcc_configure,v 1.1 2015/07/16 12:03:36 ryoon Exp $ @ 1.1 log @Import gcc5-5.1.0 as lang/gcc5. The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C, Fortran, Java, and Go, as well as libraries for these languages (libstdc++, libgcj,...). This package provides the snapshot release of version 5. On NetBSD a working cabsl function must be present in libm to build gfortran. This has been added to -current on 2014/10/10 and to NetBSD7 on 2014/10/13. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- gcc/configure.orig 2014-05-21 11:08:58.000000000 +0000 d5 10 a14 1 @@@@ -27332,6 +27332,13 @@@@ case "$target" in @