Commit graph

83 commits

Author SHA1 Message Date
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
rillig
8c6aee8563 lang: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 19:03:56 +00:00
maya
3659de2832 gcc{48,49,5,6,7,8}: In the case of a "system GCC", detect if the system
libgcc is newer than the one about to be installed. If so, don't install
the libgcc.

Having an older libgcc appear in the lookup may result in binaries not
running, as they need symbols from the newer libgcc.
Such a case is PR pkg/54506.

Leaves SunOS unchanged, by request from jperkin.
2019-09-08 14:47:52 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
maya
dbb92af837 gcc{48,49,5,6}: add patch to avoid fragile include guard logic
for ansi.h on netbsd.
gcc{7,8}: document same patch that already existed was upstreamed.

This patch is necessary to build GCC on NetBSD >= 9.0, since changes
to ansi.h resulted in not using the same include guards.

Fixes PR toolchain/54362
2019-08-06 06:16:14 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
maya
646c408f70 gcc48: don't try to make references to stack_chk_fail_local on netbsd/sun
sun was added as joyent is patching for the same.

this code is only reached if compiling for i386 (or some variation of ppc)
netbsd's stack_chk_fail_local won't work for this.

bump gcc48-libs PKGREVISION above gcc48

PR pkg/53436.
2018-07-18 23:15:42 +00:00
joerg
a19083df44 Mark packages that require C++03 (or the GNU variants) if they fail with
C++14 default language.
2018-07-18 00:06:10 +00:00
maya
0e1a375bd4 gcc48: fix build when building with newer GCC by backporting
an upstream commit.

PR pkg/53402, PR pkg/53403, PR pkg/53404, PR pkg/53231
2018-06-27 10:07:07 +00:00
wiz
58a2a977a7 recursive bump after mpfr shlib major bump 2018-01-28 16:24:10 +00:00
maya
063d2481d3 reset maintainer 2017-11-13 19:36:26 +00:00
maya
f33154bfc9 gcc48: backport upstream security fix
Incorrect codegen from rdseed intrinsic use (CVE-2017-11671)

We should not expand call arguments in between flags reg setting and
flags reg using instructions, as it may expand with flags reg
clobbering insn (ADD in this case).

Attached patch moves expansion out of the link. Also, change
zero-extension to non-flags reg clobbering sequence in case we perform
zero-extension with and.

2017-03-25  Uros Bizjak
2017-07-28 23:40:07 +00:00
maya
89633e9c48 gcc{48,49}: netbsd also provides libssp in libc, adjust LINK_SSP_SPEC accordingly.
already done for newer versions of gcc.

Now on netbsd all gcc packages can successfully build with -fstack-protector.

bump pkgrevision (sorry)
2017-07-10 15:55:40 +00:00
maya
d722e2e4d8 gcc{48,49,5,7}: on netbsd only, bump libstdc++ major to 7.
bump pkgrevision.

while here, synchronize libssp comment to a clearer one.

bump gcc*-lib revision to be one higher.
2017-07-09 05:30:41 +00:00
maya
5c0a1ab0b6 Restrict gcc gsed usage to NetBSD
(NetBSD/mips64 progress further with gsed)

Adding gsed as a tool creates circular dependencies if pkgsrc gcc is used
as the bootstrap compiler.

Pointed out by jperkin, sorry.
2017-06-22 21:44:49 +00:00
maya
482e3d0bc7 Use gsed when building GCC.
This is a somewhat blind commit. I've long had issues on various platforms
with libgcc getting misconfigured (on netbsd/mips,arm,powerpc), for example
build failures see:
http://mail-index.netbsd.org/port-mips/2017/06/21/msg000832.html

testing GCC 7.1 with netbsd/mips64el I got a lot further using it, but
still didn't complete the build. It took hours to reach this failure,
so I'd rather blindly commit the same change in the hopes it might help
other architectures.
2017-06-21 21:16:35 +00:00
maya
d76ec1bb61 Take maintainership of all (recent-ish) GCC packages
I have gone into the depths of GCC and came back alive, so feel free
to ask me about it.
2017-06-08 09:52:47 +00:00
maya
62200a9e9f gcc48: always link libgcc on netbsd (GCC r248037,
applied to GCC 8 and above - thanks Krister Walfridsson)

libstdc++: if it thinks vswprintf is broken, don't block the
entire definition of to_string, just that of to_wstring. backport
of GCC r223830 already applied to GCC 4.9. this applies to netbsd-6-0.

Doesn't fix any build I wanted to fix, but it does get the build
of LLVM4.x further on netbsd-6-0. maybe there's an odd package that
could benefit from it.

bump PKGREVISION.
2017-05-28 01:00:20 +00:00
maya
568ec0972c gcc48: fix build with newer (e.g. pkgsrc version) gtexinfo.
should help failing CentOS builds.
2017-01-22 12:22:46 +00:00
maya
5b8bf1415a provide a consistent description across gcc packages.
don't mention netbsd things, development snapshots, etc.
2017-01-14 10:51:09 +00:00
sevan
48b17812da Do not build with the gcc-java enabled by default.
Add a comment to note the removal of option.
Discussed on pkgsrc-users@
http://mail-index.netbsd.org/pkgsrc-users/2016/09/29/msg023796.html
2016-09-30 13:16:59 +00:00
maya
166f9b9792 gcc48: fix build error on netbsd/arm
configs for gcc on netbsd don't build -march=native support, but this
stray prototype was left, causing build errors:

gcc.o:(.rodata+0x58c4): undefined reference to
`host_detect_local_cpu(int, char const**)'
2016-09-25 23:09:34 +00:00
maya
59873625d0 gcc48: restore distinfo for file grabbed only when building gcc-java
pointed out by jperkin, thanks

fix netbsd gcc-java option build
netbsd has gethostbyname_r in libc, but not in any headers.
configure test succeeds, but compilation fails.
workaround with passing ac_cv_func_gethostbyname_r=no to autoconf
thanks joerg for the suggestion.
2016-09-15 17:56:23 +00:00
maya
65f3f42a3d gcc48: update to 4.8.5
Reset PKGREVISION, set gcc48-libs PKGREVISION to 1 (+1 of gcc48)

The following list of 74 PRs have been resolved in the 4.8.5 release
(non-exhaustive list):

64557 get_addr in true_dependence_1 cannot handle VALUE inside an expr
66215 [4.8/4.9/5/6 Regression] Wrong after label NOP emission for -mhotpatch
66233 [4.8/4.9 Regression] internal compiler error: in expand_fix
65550 [4.8/4.9 Regression] ICE (segfault) with pch
62642 [4.8/4.9 Regression] x86 rdtsc is moved through barrier
63608 [4.8/4.9 Regression] error: type mismatch in binary expression
59626 [4.8 Regression] /usr/include/bits/unistd.h:173:1: error: inlining failed in call to always_inline 'readlinkat': recursive inlining
65549 [4.9 Regression] crash in htab_hash_string with -flto -g
59990 [4.8 regression] incorrect memcpy optimization
60656 [4.8 regression] x86 vectorization produces wrong code
66470 [4.8/4.9/5/6 Regression] TLS ICE due to ix86_split_long_move
66481 Implicit lambda capture of variable named ""closure"" causes crash
66275 __attribute__((sysv_abi)) with x86_64-w64-mingw32-gcc generates incorrect code
65680 [4.8/4.9 Regression] ICE at -O1 and above on x86_64-linux-gnu in expand_assignment
65368 [4.8/4.9 Regression]_bzhi_u32 intrinsic generates incorrect code when -O1 or above is specified and index is an immediate
64634 [4.8/4.9 Regression] gcov reports catch(...) as not executed
66123 [4.8 Regression] Array of labels as values + ternary operator + pointer arithmetic = internal compiler error
65518 [4.8 Regression] gcc consumes all memory with -O3
66140 ICE at extract_insn
65721 [4.8/4.9/5/6 Regression] Internal compiler error segmentation fault
65727 [4.8/4.9/5/6 Regression] Segfault With Decltype In Lambda Expression Used To Initialize Static Class Member
59016 f951: internal compiler error: Segmentation fault
65693 [4.8/4.9 Regression] ICE in assign_by_spills
61977 [4.8/4.9/5 Regression] powerpc preprocessor breaks on lines that end with ""vector
59513 [4.8/4.9/5 Regression] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker
65279 [4.8/4.9 Regression] std::scoped_allocator_adaptor is not assignable
65543 rvalue stream insertion and extraction operators incorrectly implemented
61138 [4.8/4.9/5 Regression] Wrong code with pointer-bounds remapping
65072 Segfault when parsing dectlype in trailing return type
65327 GCC rejects ""constexpr volatile int i = 5;
65409 [4.8/4.9/5 Regression] ICE in store_field
52579 [4.8/4.9/5 regression] i386_w32_fallback_frame_state should care ffi raw-closure stub function
60898 [4.8/4.9/5 Regression] model compile error with gfortran 4.7 and gcc 4.9
57059 [4.8/4.9/5 Regression] Host configuration of loose_warn breaks for build components for Canadian crosses
52664 [4.8 Regression]: gcc.dg/tree-ssa/pr31261.c fails
65220 [4.8/4.9/5 Regression] integer division in stack alignment for VLA allocation
43701 [4.8/4.9/5 Regression] ICE: SIGSEGV (too deep recursion) with -mno-sse and __float128
35330 [4.8/4.9/5 regression] ICE with invalid pragma weak
46102 [4.8/4.9/5 Regression] ICE: SIGSEGV in dwarf2out_finish (dwarf2out.c:8490) with -feliminate-dwarf2-dups when using precompiled headers
61634 [4.8 Regression] ICE in in vect_get_vec_def_for_operand
65063 [4.8 Regression] gcc.dg/vect/vect-double-reduc-6.c FAILs with -O3 -fno-tree-loop-ivcanon -fno-tree-vectorize
63593 ICE: verify_gimple failed: incompatible types in PHI argument 0 with -O3 -fno-tree-vectorize
63844 [4.8 Regression] open mp parallelization prevents vectorization
64493 [4.8 Regression] ICE at -O3 on x86_64-linux-gnu
64495 [4.8 Regression] ICE at -O3 for trunk and wrong code for 4.8/4.9 on x86_64-linux-gnu
64199 [4.8 Regression] ICE: tree check: expected class 'constant'
56273 [4.8 regression] Bogus -Warray-bounds warning
58123 [4.8/4.9/5 Regression] debug line not tracked for last autovariable dtor
45402 [4.8/4.9/5 Regression]  ICE in extract_insn
64768 [4.8/4.9/5 Regression] internal compiler error: tree check: expected tree that contains ‘decl with RTL’ structure
63744 [4.8/4.9/5 Regression] Duplicate use-statement causes error
64979 [4.8 Regression] stdarg optimization not able to find escape sites in phi nodes
57653 [4.8/4.9 Regression] filename information discarded when using -imacros
60718 [4.8/4.9 regression] Test case gfortran.dg/select_type_4.f90 fails on ARM
64479 [4.8 Regression][SH] wrong optimization delayed-branch
39722 [4.8/4.9 Regression][cond-optab] worse code with bitfields on v850
64882 ICE on valid code at -O3 with -g enabled in simplify_subreg
61058 [4.8/4.9 Regression] ICE: RTL check: expected elt 3 type 'B'
64513 [4.8/4.9 Regression] ICE: in maybe_record_trace_start
64766 [4.8/4.9 Regression] internal compiler error: tree check: expected block
64487 [4.8/4.9 Regression] internal compiler error: in fold_offsetof_1
62044 [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type
57748 [4.8 Regression] ICE when expanding assignment to unaligned zero-sized array
57023 [4.8 Regression] Not packing arrays with changing variable used for size
52306 [4.8 regression] ICE in cselib_record_set
52714 [4.8 regression] ICE in fixup_reorder_chain
58369 [4.8 regression] ICE in subreg_get_info when compiling boost for m68k-linux
63733 [4.8/4.9/5 Regression] [OOP]  wrong resolution for OPERATOR generic
2016-09-12 18:42:04 +00:00
maya
89ff85ecf2 gcc48: simplify comment in Makefile 2016-09-06 16:29:19 +00:00
maya
03b95ff2e5 gcc48: limit disabling of libssp to netbsd only, requested by jperkin
other platforms supporting _FORTIFY_SOURCE will likely want to disable it too

bump PKGREVISION
2016-09-05 10:02:45 +00:00
maya
e6f35aefcd lang/gcc48: disable libssp
netbsd only: link against libc when building shared.

libssp is broken as it has headers like ssp/stdio.h which include
<ssp.h>, when only ssp/ssp.h exists.
simply building hello world (including stdio.h) with -D_FORTIFY_SOURCE
will fail.

netbsd building of shared was broken as it did not link against libc when
making shared. adjust the spec file so it will do this.

bump PKGREVISION

XXX - all the other versions of GCC likely need the same

thanks joerg for the help
2016-09-04 18:29:39 +00:00
wiz
2b0a009d0e Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:37:46 +00:00
jperkin
d9c077209c Set CHECK_SHLIBS_SUPPORTED=no when gcc-java is enabled, for whatever reason
the recent change to include libiconv causes a bunch of failures.
2016-04-19 12:44:40 +00:00
dbj
3555fb3c89 add libiconv buildlink3 dependency, bump PKGREVISION 2016-03-14 05:49:51 +00:00
jperkin
db1332a441 Use OPSYSVARS. 2016-02-25 14:42:55 +00:00
jperkin
842c8f3479 Remove mk/find-prefix.mk usage from the lang category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 12:51:16 +00:00
agc
54622f28e2 Add SHA512 digests for distfiles for lang category
Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 22:50:31 +00:00
jperkin
533c94cd6d Various fixes to get this working on El Capitan / Xcode 7:
* Pull in patch from MacPorts to handle 10.11 SDK header issue
   with fixincludes.

 * Backport upstream bugfix for GCC bug 66523, fixing an issue
   with Xcode 7.

 * Pull in --with-build-config=bootstrap-debug change from FreeBSD
   ports to fix bootstrap compare issue seen with clang / Xcode 7.
2015-11-03 13:59:10 +00:00
jperkin
748be05da7 Skip shlibs check for libgcj_bc.so, a "fake" library used at link time
only.  Fixes build on Linux.
2015-10-09 11:27:23 +00:00
jperkin
284a21eaa2 Expand _GCC_REQD to avoid impossible constraints. 2015-09-11 15:16:07 +00:00
wiedi
da4f3802b7 bring back ecj-4.5.jar checksums 2015-08-25 19:57:00 +00:00
martin
d95c4e7c53 Adjust the precompiled header changes to the latest version used in the
NetBSD tree
2015-08-05 18:14:27 +00:00
dsainty
a968e5a241 The ${PREFIX}/include/ansidecl.h installed by devel/binutils is not
necessarily compatible (E.g. binutils-2.25 does not define PARAMS).  Adjust
the include path priority so the internal ansidecl.h gets precedence, allowing
cp-demangle.c to use libiberty.h without compilation errors.
2015-06-19 00:44:46 +00:00
dsainty
463496f59a Fix build on Linux by removing erroneous patching.
The removed hunk is definitely wrong, but I can't figure out what it was
trying to do.  I think the patch hunk was accidentally reintroduced in r1.4
after being correctly removed in r1.3.

The reason it is wrong is because it breaks later tests by introducing code
into confdefs.h.  The following tests always break, because they have
duplicate main() definitions.

Build test on NetBSD works because the java support isn't in the suggested
options anyway.
2015-06-03 06:48:54 +00:00
rodent
5e95cf88ad GCC_REQD+=4.4, because 4.2 can't build it due to the package needing
omp_lock_t.
2015-04-10 00:32:08 +00:00
ryoon
05d8254902 Update to 4.8.4
* Reset gcc48-libs' PKGREVISION to 1

Changelog:
* Bugfixes.
2015-03-12 14:56:13 +00:00
dbj
d75e16317e Fix build issues on Darwin 2015-01-27 04:46:06 +00:00
jperkin
e16ea7d0b3 Restore PLIST.java, fixes Darwin (and others) build. 2015-01-15 11:07:01 +00:00
jperkin
74d67c539b Add back missing ecj-4.5.jar 2015-01-14 10:36:17 +00:00
obache
24efdc1fe4 Bump PKGREVISION.
* Fixes regressions, revive parts removed at "Fix build under OpenBSD/amd64 5.5"
* Drop default behaviour changes and local features from OpenBSD ports,
  it break other platforms, at least, NetBSD-6.0/i386.
* Remove needless patches after "Restore monolithic gcc48 and gcc48-libs".
2014-11-28 09:57:32 +00:00
obache
2e56ebefcf fixes dependency pattern, PKGBASE is "gcc48", not "gcc". 2014-11-26 10:35:49 +00:00
ryoon
e470b7e219 Restore monolithic gcc48 and gcc48-libs.
* No objection on tech-pkg@ mailing list.
2014-10-31 14:22:20 +00:00
wiz
8b765c474f Fix ``Please add a line "# used by foo/bar/Makefile" here.'' warnings. 2014-10-05 16:41:05 +00:00
ryoon
a5f44e488e Remove unused buildlink3.mk 2014-06-01 08:17:33 +00:00