head 1.2; access; symbols pkgsrc-2021Q1:1.1.0.54 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.52 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.50 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.46 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.26 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.48 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.44 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.42 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.40 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.38 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.36 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.34 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.32 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.30 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.28 pkgsrc-2017Q3-base:1.1 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.2 date 2021.04.02.11.56.16; author nia; state dead; branches; next 1.1; commitid vW3eTMQ4818FeINC; 1.1 date 2014.09.04.18.43.11; author jperkin; state Exp; branches; next ; commitid OMnC49fIGt41I3Px; desc @@ 1.2 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_config.gcc,v 1.1 2014/09/04 18:43:11 jperkin Exp $ * Add t-crtstuff to tmake_file on NetBSD. * Add netbsd-stdint.h to tm_file on NetBSD. * wrap the system stdint.h on NetBSD. * Add DragonFly support. --- gcc/config.gcc.orig 2014-06-16 08:15:35.000000000 +0000 +++ gcc/config.gcc @@@@ -687,6 +687,26 @@@@ case ${target} in # need_64bit_hwint=yes # system compiler has this for all arch! use_gcc_stdint=wrap ;; +*-*-dragonfly*) + gas=yes + gnu_ld=yes + tmake_file="t-slibgcc" + case ${enable_threads} in + "" | yes | posix) + thread_file='posix' + ;; + no | gnat | single) + # Let these non-posix thread selections fall through if requested + ;; + *) + echo 'Unknown thread configuration for DragonFly BSD' + exit 1 + ;; + esac + extra_options="$extra_options rpath.opt dragonfly.opt" + default_use_cxa_atexit=yes + use_gcc_stdint=wrap + ;; *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) extra_options="$extra_options gnu-user.opt" gas=yes @@@@ -743,6 +763,7 @@@@ case ${target} in target_has_targetcm=yes ;; *-*-netbsd*) + use_gcc_stdint=wrap tmake_file="t-slibgcc" gas=yes gnu_ld=yes @@@@ -1352,6 +1373,14 @@@@ x86_64-*-rdos*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h i386/rdos.h i386/rdos64.h" tmake_file="i386/t-i386elf t-svr4" ;; +i[34567]86-*-dragonfly*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h dragonfly.h dragonfly-stdint.h i386/dragonfly.h" + tmake_file="${tmake_file} i386/t-crtstuff" + ;; +x86_64-*-dragonfly*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h dragonfly.h dragonfly-stdint.h i386/x86-64.h i386/dragonfly.h" + tmake_file="${tmake_file} i386/t-crtstuff" + ;; i[34567]86-*-freebsd*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h" ;; @@@@ -1359,12 +1388,14 @@@@ x86_64-*-freebsd*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h" ;; i[34567]86-*-netbsdelf*) - tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h" + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h netbsd-stdint.h" extra_options="${extra_options} netbsd.opt netbsd-elf.opt" + tmake_file="${tmake_file} i386/t-crtstuff" ;; x86_64-*-netbsd*) - tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h" + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h netbsd-stdint.h" extra_options="${extra_options} netbsd.opt netbsd-elf.opt" + tmake_file="${tmake_file} i386/t-crtstuff" ;; i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123]) tm_file="i386/i386.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h openbsd-oldgas.h openbsd.h i386/openbsd.h" @@@@ -4108,6 +4139,8 @@@@ case ${target} in ;; i[34567]86-*-mingw* | x86_64-*-mingw*) ;; + i[34567]86-*-dragonfly* | x86_64-*-dragonfly*) + ;; i[34567]86-*-freebsd* | x86_64-*-freebsd*) ;; ia64*-*-linux*) @ 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$ @