vins
a1c7c9dcfb
gcc*: include missing header and unbreak build on Linux.
2023-09-05 16:54:19 +00:00
nia
c31b865cf9
gcc*: Disable FORTIFY on Linux only
2023-08-29 09:48:46 +00:00
nia
959b91ba2b
lang/gccX: switch from USE_LANGUAGES=c99 to USE_CC_FEATURES/FORCE_C_STD.
2023-08-18 10:57:58 +00:00
tnn
49bcd882f1
gcc*: replace gnarly cargo-culted extract logic with EXTRACT_ONLY
2023-08-15 13:49:17 +00:00
wiz
198d96a086
gcc10*: update to 10.5.0
...
The list of PR's fixed since 10.4.0 can be found here:
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=10.5
which includes 3 C, 25 C++, 4 debug, 17 libstdc++, and many others for the
internals.
2023-07-11 13:42:07 +00:00
riastradh
b3684b8938
lang/gcc*: USE_TOOLS+=sed, not sed:run.
...
As far as I can tell, gcc needs this at build-time, not at run-time.
https://mail-index.netbsd.org/tech-pkg/2023/06/02/msg027624.html
2023-06-03 13:22:43 +00:00
riastradh
b8cb7db241
lang/gcc*: Set CC_FOR_BUILD and CXX_FOR_BUILD if cross-compiling.
...
Verified gcc6 and gcc7 cross-compile on NetBSD, at least if the
gcc-fortran option is disabled. gcc8 and gcc9 have trouble because
of python (why do these have a full dependency on python?); gcc10 and
gcc12 are missing gcc/config/mips/netbsd64.h; gcc12 and gcc13 have a
cross-compile bug with missing __LIBGCC_*__ macros -- but in any
case, setting CC_FOR_BUILD and CXX_FOR_BUILD is obviously necessary
for cross-compilation. Conditional on USE_CROSS_COMPILE, so no harm
to native builds.
2023-06-03 13:22:04 +00:00
wiz
0c20c81bad
gcc10: set LANGS before including Makefile.common
...
that includes options.mk which may modify LANGS
2023-04-06 22:28:59 +00:00
wiz
abaf174d67
gcc10: add note that gcc10-libjit shares Makefile.common
2023-04-06 22:14:27 +00:00
wiz
1d3015ce8f
gcc10: set PATCHDIR, DISTINFO_FILE
2023-04-06 14:57:25 +00:00
wiz
515e3f7d91
gcc10: split off some parts of the Makefile into Makefile.common
2023-04-06 14:53:13 +00:00
wiz
ecd0e3c4ee
gcc10: make options.mk standalone
2023-04-06 11:40:15 +00:00
wiz
b3b233d360
gcc10: simplify opsys match
2023-04-06 11:39:26 +00:00
joerg
fe129c561f
Ignore unreadable directories when looking for libgcc_s.so
2023-03-29 20:44:52 +00:00
wiz
9f127852f1
gcc10: update to 10.4
...
GCC 10.4
60 bug reports were fixed.
Target Specific Changes
x86-64
* The x86-64 ABI of passing and returning structures with a 64-bit
integer vector changed in GCC 10.1 when MMX is disabled. Disabling
MMX no longer changes how they are passed nor returned. This ABI
change is now diagnosed with -Wpsabi.
2022-07-03 15:59:17 +00:00
wiz
8292204475
*: recursive bump for perl 5.36
2022-06-28 11:30:51 +00:00
tnn
8f81f24c2c
gcc10: disable libsanitizer on SunOS
...
It doesn't build properly for me even when using lang/gcc10 to self-host.
2022-03-27 17:01:30 +00:00
tnn
a59ee2f01c
gcc*: only use system zlib if it is native, else use bundled
...
This is the logic we have in gcc8. Replicate it to newer GCC packages.
Using pkgsrc zlib causes problems linking gcov(1) on at least Linux
and SunOS. It is not worth bend-over-backwards rpath-patching.
2022-03-27 15:06:11 +00:00
nia
7a02ce412a
gcc8: deconditionalize CHECK_RELRO_SKIP
...
as hinted by mef's recent bulk build, it appears to be more complicated
than simply a matter of bootstrapping
2022-03-10 16:43:11 +00:00
mrg
a718ec25bf
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.)
2022-02-02 22:07:28 +00:00
nia
2176cc7249
lang: Replace RMD160 checksums with BLAKE2s checksums
...
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
The following distfiles could not be fetched (possibly fetched
conditionally?):
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-linux-gnu.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-linux-musl.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-netbsd.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-armv7-unknown-netbsd-eabihf.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-i686-unknown-linux-gnu.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-powerpc-unknown-netbsd90.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-sparc64-unknown-netbsd.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-apple-darwin.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-freebsd.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-linux-gnu.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-linux-musl.tar.gz
./lang/smlnj/distinfo smlnj-110.73/boot.ppc-unix.tgz
./lang/smlnj/distinfo smlnj-110.73/boot.sparc-unix.tgz
./lang/oracle-jre8/distinfo jce_policy-8.zip
./lang/oracle-jre8/distinfo jre-8u202-linux-i586.tar.gz
./lang/oracle-jre8/distinfo jre-8u202-linux-x64.tar.gz
./lang/oracle-jre8/distinfo jre-8u202-macosx-x64.tar.gz
./lang/oracle-jre8/distinfo jre-8u202-solaris-x64.tar.gz
./lang/oracle-jdk8/distinfo jdk-8u202-linux-i586.tar.gz
./lang/oracle-jdk8/distinfo jdk-8u202-linux-x64.tar.gz
./lang/oracle-jdk8/distinfo jdk-8u202-solaris-x64.tar.gz
./lang/ghc80/distinfo ghc-7.10.3-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc80/distinfo ghc-8.0.2-boot-i386-unknown-freebsd.tar.xz
./lang/ghc80/distinfo ghc-8.0.2-boot-x86_64-unknown-freebsd.tar.xz
./lang/gcc5-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.i386.freebsd.84.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.dragonfly.41.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2
./lang/rust/distinfo rust-1.53.0-aarch64-apple-darwin.tar.gz
./lang/rust/distinfo rust-1.53.0-aarch64-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-1.53.0-aarch64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-aarch64_be-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-arm-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-1.53.0-armv7-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-1.53.0-i686-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-1.53.0-powerpc-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-powerpc-unknown-netbsd90.tar.gz
./lang/rust/distinfo rust-1.53.0-sparc64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-apple-darwin.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-unknown-freebsd.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-unknown-illumos.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64-apple-darwin.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64_be-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-arm-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-std-1.53.0-armv7-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-std-1.53.0-i686-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-std-1.53.0-powerpc-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-powerpc-unknown-netbsd90.tar.gz
./lang/rust/distinfo rust-std-1.53.0-sparc64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-x86_64-apple-darwin.tar.gz
./lang/rust/distinfo rust-std-1.53.0-x86_64-unknown-freebsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-x86_64-unknown-linux-gnu.tar.gz
./lang/smlnj11072/distinfo smlnj-110.72/boot.ppc-unix.tgz
./lang/smlnj11072/distinfo smlnj-110.72/boot.sparc-unix.tgz
./lang/ghc84/distinfo ghc-8.0.2-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc84/distinfo ghc-8.4.4-boot-i386-unknown-freebsd.tar.xz
./lang/ghc84/distinfo ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz
./lang/ghc84/distinfo ghc-8.4.4-boot-x86_64-unknown-freebsd.tar.xz
./lang/ghc7/distinfo ghc-7.10.3-boot-i386-unknown-freebsd.tar.xz
./lang/ghc7/distinfo ghc-7.6.3-boot-i386-unknown-solaris2.tar.xz
./lang/ghc7/distinfo ghc-7.6.3-boot-powerpc-apple-darwin.tar.xz
./lang/ghc7/distinfo ghc-7.6.3-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc90/distinfo ghc-8.10.4-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-aarch64-unknown-netbsd.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-i386-unknown-freebsd.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-x86_64-apple-darwin.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-x86_64-unknown-freebsd.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.8.181-netbsd-8-aarch64-20180917.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.6-amd64-20140719.tar.bz2
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
./lang/go-bin/distinfo go1.14.2.darwin-amd64.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-386.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-amd64.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-arm64.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-armv6l.tar.gz
./lang/go-bin/distinfo go1.14.2.netbsd-arm64.tar.gz
./lang/go-bin/distinfo go1.16beta1.darwin-arm64.tar.gz
./lang/gcc6-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.dragonfly.41.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2
./lang/ghc810/distinfo ghc-8.8.4-boot-x86_64-unknown-solaris2.tar.xz
./lang/sun-jre7/distinfo UnlimitedJCEPolicyJDK7.zip
./lang/sun-jre7/distinfo jre-7u80-linux-x64.tar.gz
./lang/sun-jre7/distinfo jre-7u80-solaris-i586.tar.gz
./lang/sun-jre7/distinfo jre-7u80-solaris-x64.tar.gz
./lang/ghc88/distinfo ghc-8.4.4-boot-i386-unknown-freebsd.tar.xz
./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz
./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-unknown-freebsd.tar.xz
./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-unknown-solaris2.tar.xz
./lang/gcc-aux/distinfo ada-bootstrap.i386.dragonfly.36A.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.i386.freebsd.84.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2
./lang/gcc6/distinfo ecj-4.5.jar
./lang/openjdk11/distinfo bootstrap-jdk-1.11.0.7.10-netbsd-9-aarch64-20200509.tar.xz
./lang/sun-jdk7/distinfo jdk-7u80-linux-x64.tar.gz
./lang/sun-jdk7/distinfo jdk-7u80-solaris-i586.tar.gz
./lang/sun-jdk7/distinfo jdk-7u80-solaris-x64.tar.gz
2021-10-26 10:51:29 +00:00
adam
bf9fcc44ab
gcc10: fix linking on macOS 12
2021-10-13 12:38:52 +00:00
tnn
e557fc6c76
lang/gcc*: skip some RELRO checks when --disable-boostrap
...
This relates to the case when GCC is built using clang host CC. In that
case the runtime libraries are not built with RELRO for some reason.
for the gcc*-libs/ packages, mark them as RELRO_SUPPORTED=no unconditionally.
RELRO status depends on how the parent gcc package was built so we don't
need nor care about the RELRO status here.
2021-10-12 13:46:14 +00:00
nia
1361343c24
lang: Remove SHA1 hashes for distfiles
2021-10-07 14:20:45 +00:00
nia
89f6b4a1b4
Prune gcc34, gcc44.
2021-10-01 11:56:12 +00:00
nia
e04c7879c9
gcc*: Unsafe for MKPIE. Reported by tnn.
2021-10-01 11:49:59 +00:00
adam
0259928ed8
gcc10: allow builds on Darwin 21
2021-09-23 09:53:21 +00:00
tnn
1203b50d94
gcc*: disable full bootstrap when the pkgsrc compiler is clang
...
LLVM versions >= 12 cannot currently correctly compile gcc stage 1 because
GCC assumes references to certain symbols like "ix86_isa_flags" will be
optimized away.
Details: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255760
2021-06-26 17:42:23 +00:00
wiz
6eae1297d5
*: recursive bump for perl 5.34
2021-05-24 19:49:01 +00:00
mrg
8e988a6631
pull in fixes for arm64eb from netbsd src.
2021-04-24 09:35:31 +00:00
adam
31e50eccdc
gcc10: fix building for any zlib
2021-04-22 12:08:16 +00:00
ryoon
a9ad37fb28
gcc10, gcc10-libs: Update to 10.3.0
...
Changelog:
* Bugfixes.
Target Specific Changes
AArch64
A bug with the Random Number intrinsics in the arm_acle.h header
that resulted in an incorrect status result being returned has
been fixed.
GCC now supports the Fujitsu A64FX. The associated -mcpu and
-mtune options are -mcpu=a64fx and -mtune=a64fx respectively.
In particular, -mcpu=a64fx generates code for Armv8.2-A with
SVE and tunes the code for the A64FX. This includes tuning the
SVE code, although by default the code is still length-agnostic
and so works for all SVE implementations. Adding -msve-vector-bits=512
makes the code specific to 512-bit SVE.
2021-04-16 15:03:42 +00:00
maya
d86dc32fea
lang/gcc{6,7,8,9,0}: call SUBTARGET_INIT_BUILTINS on sparc* too
...
While here point out that the aarch64 equivalent patch was sent upstream.
Bump PKGREVISION. fix gcc*-libs PKGREVISION accordingly.
Fixes PR pkg/55992: math/blas fails on NetBSD/sparc64
Fixes report by Connor McLaughlan on pkgsrc-users
2021-02-13 15:56:16 +00:00
maya
5a939d44b4
gcc10: avoid picking up zstd.
...
we probably want to enable this, but that's a less backport-appropriate
patch, and I want the fix in 2020Q4.
2021-02-05 18:32:11 +00:00
gutteridge
a3c7568d26
Fix grammar in a comment in gcc* Makefiles
2020-10-23 00:45:47 +00:00
jperkin
1f6712bc8a
gcc*: Skip CTF for gengtype, causes hangs.
2020-10-22 11:15:04 +00:00
tnn
c2633c49ed
gcc10: add some missing configure bits for aarch64*-*-netbsd*
2020-10-20 18:37:36 +00:00
wiz
00da7815c0
*: bump PKGREVISION for perl-5.32.
2020-08-31 18:06:29 +00:00
wiz
24e2188e09
gcc10: update to 10.2.0.
...
Bugfix release. The fixed bugs are listed here:
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=10.2
2020-08-24 11:58:38 +00:00
rillig
2e2b1baad3
lang/gcc10: fix patch checksums to include the bug report URL
2020-05-17 19:49:18 +00:00
rillig
fe114d7919
lang/gcc10: fix build with -Werror=char-subscripts
2020-05-17 19:47:19 +00:00
maya
e87261ad01
add gcc10 GCC version 10.1.0
...
Release notes: https://gcc.gnu.org/gcc-10/changes.html
2020-05-10 15:02:44 +00:00