head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.16 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.14 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.12 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.10 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.8 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.6 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.4 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.2 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.2.0.18 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.16 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.14 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.12 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.10 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.8 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.6 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.4 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.2 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.1.0.10 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.8 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.6 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.4 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.2 pkgsrc-2020Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2024.04.01.14.33.57; author js; state Exp; branches; next 1.2; commitid l1phzwYDi0JhWr4F; 1.2 date 2022.02.02.22.07.28; author mrg; state Exp; branches; next 1.1; commitid TGGQsEIqnaEYN5rD; 1.1 date 2020.10.20.18.37.37; author tnn; state Exp; branches; next ; commitid 1T55wVX6zDrLKFsC; desc @@ 1.3 log @Port lang/gcc10 to QNX With this, there is finally a somewhat modern compiler for QNX. @ text @$NetBSD$ This is needed for arm64 to get Out-of-line LSE atomics linked into libgcc. libsupc++ fails to link without this, and for arm to build. Fix build on QNX. --- libgcc/config.host.orig 2023-07-07 07:08:21.000000000 +0000 +++ libgcc/config.host @@@@ -405,6 +405,7 @@@@ aarch64*-*-freebsd*) aarch64*-*-netbsd*) extra_parts="$extra_parts crtfastmath.o" tmake_file="${tmake_file} ${cpu_type}/t-aarch64" + tmake_file="${tmake_file} ${cpu_type}/t-lse" tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" md_unwind_header=aarch64/aarch64-unwind.h ;; @@@@ -491,7 +492,8 @@@@ arm*-*-netbsdelf*) case ${host} in arm*-*-netbsdelf-*eabi*) tmake_file="${tmake_file} arm/t-netbsd-eabi" - unwind_header=config/arm/unwind-arm.h + # GCC 7 vs NetBSD/eabi -> avoid arm unwinder + #unwind_header=config/arm/unwind-arm.h ;; *) tmake_file="${tmake_file} arm/t-netbsd t-slibgcc-gld-nover" @@@@ -797,7 +799,7 @@@@ i[34567]86-pc-msdosdjgpp*) ;; i[34567]86-*-lynxos*) ;; -i[34567]86-*-nto-qnx*) +i[34567]86-*-qnx*) tmake_file="$tmake_file i386/t-nto t-libgcc-pic" extra_parts=crtbegin.o ;; @ 1.2 log @pull over the rest of netbsd arm32 configuration from -current. fixes PR#56679. (tested in armv7hf-el chroot on armv8, and also tested doesn't break amd64 version.) @ text @d1 1 a1 1 $NetBSD: patch-libgcc_config.host,v 1.1 2020/10/20 18:37:37 tnn Exp $ d6 5 a10 3 --- libgcc/config.host.orig 2021-04-08 04:56:29.805761640 -0700 +++ libgcc/config.host 2022-02-02 04:08:51.653635705 -0800 @@@@ -377,6 +377,7 @@@@ d18 1 a18 1 @@@@ -463,7 +464,8 @@@@ d28 9 @ 1.1 log @gcc10: add some missing configure bits for aarch64*-*-netbsd* @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 This is needed to get Out-of-line LSE atomics linked into libgcc. libsupc++ fails to link without this. d6 3 a8 3 --- libgcc/config.host.orig 2020-07-23 06:35:18.752400064 +0000 +++ libgcc/config.host @@@@ -377,6 +377,7 @@@@ aarch64*-*-freebsd*) d16 10 @