Commit graph

45 commits

Author SHA1 Message Date
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
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
e04c7879c9 gcc*: Unsafe for MKPIE. Reported by tnn. 2021-10-01 11:49:59 +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
gson
c6781e976d GCC does not support Darwin-*-aarch64. 2021-04-18 11:52:16 +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
gutteridge
207a34f286 gcc9: add comment about gcc9-libs PKGREVISION rule 2021-02-12 00:42:05 +00:00
wiz
ea99a05878 gcc9: fix typo in GENERATE_PLIST to fix packaging
Fix indentation.
2021-02-09 10:37:18 +00:00
maya
05e43bece2 lang/gcc9: return to generated PLIST, we don't have an answer to include-fixed
Remove workaround for RHEL 7. This workaround resulted in gcc/configure
failing to find dlfcn.h. The build doesn't appear to need it.

Fixes install on both Fedora 33 and CentOS 7 (the docker image, at least).
2021-02-05 10:28:40 +00:00
nia
f6dd9d2f87 Revbump packages with a runtime Python dep but no version prefix.
For the Python 3.8 default switch.
2020-12-04 20:44:57 +00:00
ryoon
ded894581f gcc9: Add the patch, fix previous 2020-09-17 12:31:24 +00:00
ryoon
a4ac373fbe gcc9: Pass correct RPATH, bump PKGREVISION
* Use gcc7's patch, suggested by jperkin@.
* Fix build of math/blas for example.
2020-09-17 12:26:38 +00:00
ryoon
d1cec0821a gcc9: Add buidlink3.mk to select GCC with GCC_REQD
* And for gcc9-libs, introduce version.mk.
* A part of PR pkg/55637.
2020-09-02 16:11:28 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
rillig
74ce7da148 lang/gcc9: fix build with -Werror=char-subscripts 2020-05-17 22:36:07 +00:00
joerg
a9be2fbf85 Fix PLIST for libgcc handling. 2020-05-14 19:19:13 +00:00
rillig
21f3a65861 lang/gcc9: fix build in strict environment 2020-05-09 18:03:58 +00:00
rillig
deb9fa15f2 lang/gcc9: remove no-op SUBST block
As noted in the comment, this has been fixed upstream.
2020-04-27 03:51:04 +00:00
bsiegert
be84607bb0 gcc9: start fixing gccgo build under NetBSD.
This fixes the build of the "runtime" package, now the compilation is
stuck in the "syscall" package instead.

Submitted upstream as https://go-review.googlesource.com/c/gofrontend/+/228918/.
Upstream bug report at https://github.com/golang/go/issues/38538.
2020-04-20 14:25:52 +00:00
wiz
583b1263b8 gcc9: update to 9.3.0.
GCC 9.3 is a bug-fix release from the GCC 9 branch containing
important fixes for regressions and serious bugs in GCC 9.2 with
more than 157 bugs fixed since the previous release.

Fix RELRO build while here.
Adapt PLIST.Linux by guessing.
2020-04-08 16:35:59 +00:00
rillig
a8d5c2c203 lang/gcc9: drop maintainership
Everyone is free again to modify this package to their needs, such as
having an auto-generated PLIST or custom patches from the previous GCC
versions.
2020-03-08 23:52:54 +00:00
adam
4784d663db gcc9: better PLIST for Darwin 2020-02-29 19:30:19 +00:00
rillig
add111b419 lang/gcc9: add options handling for C++ and Objective C to Darwin PLIST
Based on PLIST.NetBSD-x86_64.
2020-02-23 19:24:01 +00:00
rillig
48981401c5 lang/gcc9: remove no-op SUBST class
The word GCC_TARGET_MACHINE doesn't appear in the whole GCC source tree.
2020-02-23 19:10:08 +00:00
rillig
afa40ccfab lang/gcc9: document that NetBSD-*-aarch64 is not supported 2020-02-12 04:28:35 +00:00
rillig
6d0d99c756 lang/gcc9: clean up section on Linux build failures 2020-02-12 04:26:12 +00:00
rillig
d813de8d75 lang/gcc9: fix build on Debian unstable 2020-01-28 21:33:39 +00:00
rillig
0d3c019fdc lang/gcc9: try once more to make the Linux build succeed 2020-01-28 04:39:55 +00:00
rillig
4dd8072377 lang/gcc9: add myself as maintainer
I created the package (based on lang/gcc8) and made the PLIST check
intentionally strict, to document which files are installed under which
circumstances. Therefore it's only fair that I get all the bug reports
directly.
2020-01-28 04:02:34 +00:00
rillig
491810de67 lang/gcc9: use BROKEN_ON_PLATFORM instead of NOT_FOR_PLATFORM 2020-01-28 03:58:26 +00:00
rillig
97d6115c14 lang/gcc9: try to build on Linux 2020-01-25 20:31:39 +00:00
rillig
2b05872ffe lang/gcc9: broken on SunOS-*-x86_64 2020-01-25 20:29:11 +00:00
rillig
de26138c44 lang/gcc9: broken on Linux-*-x86_64 2020-01-25 20:20:45 +00:00
rillig
795f18732a lang/gcc9: inline GCC9_PKGBASE, for consistency 2020-01-18 22:41:30 +00:00
rillig
c668b88e94 lang/gcc9: enable nls on all platforms by default
Having nls enabled on some platforms and not on others doesn't make sense
since the code for doing that didn't provide any rationale. If some
platforms don't support nls, it's better to blacklist them explicitly.
2020-01-11 09:48:11 +00:00
rillig
2295736fe6 lang/gcc9: remove reference to nonexisting gcc9-libs 2020-01-10 07:50:25 +00:00
rillig
accd753c94 lang/gcc9: fix build problem on CentOS 6
There may still be follow-up problems. This fix is just based on the bulk
build logs.
2020-01-10 07:49:48 +00:00
rillig
6b935294a1 lang/gcc9: make PLIST entries conditional on NetBSD-*-x86_64
This allows to install gcc9 with all its PKG_OPTIONS disabled. This still
installs the C++ compiler. The C++ include files end up in the private
directory though.
2020-01-10 07:46:43 +00:00
rillig
162dbe4f7b lang/gcc9: split PLIST into platform-specific files
The PLISTs differ a lot between the platforms. For gathering the initial
data it is easier to just list the files per platform than trying to get
all the conditions right in the first place.

There will be conditions for operating systems, for platforms, for
features, for version-specific include files to be fixed, for installed
programming languages, for nls, and several more.
2020-01-10 00:28:03 +00:00
minskim
573184de53 lang/gcc9: Remove redundant '/' in PLIST 2020-01-08 17:02:53 +00:00
minskim
842ad8279e lang/gcc9: fix build on NetBSD-9.0_RC1-amd64
gcc9 needs to install the fixed malloc.h in that configuration.
On NetBSD-8.0-amd64 this was not necessary though.
2020-01-08 17:00:06 +00:00
rillig
34df5ec0fc lang/gcc9: fix build on NetBSD-9.0_RC1-amd64
gcc9 needs to install the fixed malloc.h in that configuration.
On NetBSD-8.0-amd64 this was not necessary though.
2020-01-06 15:43:51 +00:00
rillig
48171fba34 lang/gcc9: add gcc-9.2.0
The GNU Compiler Collection includes front ends for C, C++, Objective-C,
Fortran, Ada, Go, and D, as well as libraries for these languages
(libstdc++,...).

This is the 2019 version, initially released in April 2019.

pkgsrc-specific changes to lang/gcc8:

The PLIST file is fixed, to guarantee that all expected files are
installed properly. In lang/gcc8 it had been autogenerated.

Only those patches have been kept that were strictly necessary to build
GCC on NetBSD-amd64. The others may be added from lang/gcc8 as necessary.

Tested by bootstrapping pkgsrc using CC=$PREFIX/gcc9/bin/gcc.
2020-01-05 21:15:45 +00:00