Commit graph

47 commits

Author SHA1 Message Date
khorben
be9f50bad7 gcc5: also record the checksum for ecj-4.5.jar
This fixes building lang/gcc5 with the "gcc-java" option enabled.
2020-03-03 09:18:30 +00:00
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
abs
5c41b5c818 Set GCC_TARGET_MACHINE so RPATH set correctly to pickup libs from gcc5-libs
Bump PKGREVISION
2018-11-28 16:08:41 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
maya
689977ef54 gcc5: 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.

PR pkg/53436
2018-07-18 22:42:57 +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
wiz
58a2a977a7 recursive bump after mpfr shlib major bump 2018-01-28 16:24:10 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
jperkin
c1e44a0735 gcc{5,6,7}: Disable fixincludes on SmartOS like gcc49. 2017-12-13 10:54:53 +00:00
maya
063d2481d3 reset maintainer 2017-11-13 19:36:26 +00:00
maya
53d8e8b65e gcc5: update to 5.5.0
Changes:
IA-32/x86-64
    Support for the deprecated pcommit instruction has been removed.
see: https://software.intel.com/en-us/blogs/2016/09/12/deprecate-pcommit-instruction

Incomplete list of bug fixes:
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=5.5
2017-10-20 23:49:47 +00:00
maya
dbc31063e4 remove pkgdiff leftovers, improve patch comment, fix build 2017-08-28 18:26:38 +00:00
he
537de248ff Add fixes for powerpc and alpha on NetBSD: ensure we have the
correct order of the include files, and use this also for i386 and
amd64 as well.  For alpha, move the Linux-specific settings into the
alpha/linux.h file.
Verified that this package now builds on powerpc.
This is largely the patches posted by maya@ on Jul 23, I just mirrored
the changes to include order to NetBSD/powerpc as well.  Thanks!
Bump PKGREVISION, bump to gcc5-libs to follow shortly.
2017-08-25 16:33:53 +00:00
maya
324450b1ac gcc5: 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-29 00:42:35 +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
jperkin
073328b36f Explicitly disable mkostemp on SunOS. It was shipped as part of libc for
a while without the corresponding entry in stdlib.h, thus falling foul of
-Werror=implicit-function-declaration checks.
2017-07-07 14:52:30 +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
f65124a7fb gcc5: remove wip package leftover. fix typo in patch.
from Kai-Uwe Eckhardt

on netbsd, always link against libgcc.

bump PKGREVISION.
2017-05-28 01:36:11 +00:00
adam
1a2707f48b Fix building on macOS: disable multilib (it requires fat-binaries); now builds without Command Line Tools. 2017-01-25 15:17:41 +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
maya
9812853479 lang/gcc5: add patch to avoid declaring a prototype of host_detect_local_cpu
on platforms which do not include driver-arm.o in gcc/config.host, and do
not have this function. such as netbsd/arm.

an alternative would be to add driver-arm.o for the netbsd/arm case too, but
it would be diverging from netbsd base gcc, and /proc/cpuinfo which is needed
for this function to do anything useful is empty at least on my machine.

(I still can't complete a build on ARM)
2016-09-30 04:06:07 +00:00
maya
867aa790b8 lang/gcc{5,6}: avoid overwriting previous extra_objs in gcc/config.gcc
No change for i386/amd64, but arm needs additional extra_objs to build.
Mistake was in a netbsd-specific part of configure as well.

Thanks to Richard Earnshaw and ktkachov at GCC for finding the problem.
2016-09-28 14:39:00 +00:00
jperkin
d8496a14f4 Fix path to elfdump on SmartOS. 2016-09-08 09:55:32 +00:00
maya
3a5706610e gcc5: netbsd-only: unconditionally disable libssp, use a saner specfile.
because we unconditionally disable libssp, we don't need the workaround
for ssp.h not found, so we can remove that part of that makefile.

bump gcc5 PKGREVISION
bump gcc5-libs PKGREVISION further than gcc5.
2016-09-06 05:08:48 +00:00
wiz
2b0a009d0e Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:37:46 +00:00
wiz
f610340a43 Restore PKGSRC_USE_SSP test to the version before the update to 5.4.0,
so it works again (at least for me; if it doesn't for you, please
let me know).
2016-07-06 07:21:41 +00:00
ryoon
83343b8334 Update gcc5 to 5.4.0 and gcc5-libs to 5.4.0nb1
Changelog:
* Many bugs are fixed
2016-07-05 18:55:08 +00:00
jperkin
db1332a441 Use OPSYSVARS. 2016-02-25 14:42:55 +00:00
ryoon
2ef472abaa Do not generate fixed include files under NetBSD. Bump PKGREVISION
Fix graphics/cairo build failure (ssp.h not found error) as outer compiler.
2016-02-06 22:19:55 +00:00
ryoon
00ce3eb3bf Update gcc5 to 5.3.0 and gcc-libs to 5.3.0nb1
Changelog:
Target Specific Changes
IA-32/x86-64

    GCC now supports the Intel CPU named Skylake with AVX-512 extensions
    through -march=skylake-avx512. The switch enables the following ISA
    extensions: AVX-512F, AVX512VL, AVX-512CD, AVX-512BW, AVX-512DQ.
2015-12-11 12:31:03 +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
wiz
5f26f8d912 Add upstream bug report URL. 2015-11-17 11:21:15 +00:00
wiz
5acd61730f Fix build on NetBSD with PKGSRC_USE_SSP.
Thanks to mrg for hints.

Some pkglint cleanup while here.
2015-11-17 10:19:40 +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
ryoon
86e264467c Fix stall during build under NetBSD/i386. Bump PKGREVISION. 2015-10-14 20:17:39 +00:00
ryoon
5b120615a1 Add upstream bug report URL. 2015-09-28 16:37:55 +00:00
sevan
a29050fb45 Unbreak on OS X Tiger
- remove the space between flags and path passed to linker as it's not supported
- force the use of Dwarf2
2015-08-25 12:23:13 +00:00
bsiegert
fae3b812fd Add "tar:build" to TOOLS. From Matthias Ferdinand via mail to pkgsrc-users. 2015-08-22 16:38:10 +00:00
martin
f20f1f2678 Make precompiled headers work on NetBSD hosts 2015-08-06 07:21:29 +00:00
ryoon
86c698e98b Update to 5.2.0
Changelog:
GCC 5.2

   This is the [42]list of problem reports (PRs) from GCC's bug tracking
   system that are known to be fixed in the 5.2 release. This list might
   not be complete (that is, it is possible that some PRs that have been
   fixed are not listed here).

Target Specific Changes

  IA-32/x86-64

     * Support for new AMD instructions monitorx and mwaitx has been
       added. This includes new intrinsic and built-in support. It is
       enabled through option -mmwaitx. The instructions monitorx and
       mwaitx implement the same functionality as the old monitor and
       mwait instructions. In addition mwaitx adds a configurable timer.
       The timer value is received as third argument and stored in
       register %ebx.


    For questions related to the use of GCC, please consult these web
    pages and the [43]GCC manuals. If that fails, the
    [44]gcc-help@gcc.gnu.org mailing list might help. Comments on these
    web pages and the development of GCC are welcome on our developer
    list at [45]gcc@gcc.gnu.org. All of [46]our lists have public
    archives.

   Copyright (C) [47]Free Software Foundation, Inc. Verbatim copying and
   distribution of this entire article is permitted in any medium,
   provided this notice is preserved.

   These pages are [48]maintained by the GCC team. Last modified
   2015-07-16[49].

References

  42. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=5.2.0
  43. https://gcc.gnu.org/onlinedocs/
  44. mailto:gcc-help@gcc.gnu.org
  45. mailto:gcc@gcc.gnu.org
  46. https://gcc.gnu.org/lists.html
  47. http://www.fsf.org/
  48. https://gcc.gnu.org/about.html
  49. http://validator.w3.org/check/referer
2015-07-25 03:46:02 +00:00
ryoon
520d354235 Import gcc5-5.1.0 as lang/gcc5.
The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
Fortran, Java, and Go, as well as libraries for these languages (libstdc++,
libgcj,...). This package provides the snapshot release of version 5.

On NetBSD a working cabsl function must be present in libm to build gfortran.
This has been added to -current on 2014/10/10 and to NetBSD7 on 2014/10/13.
2015-07-16 12:03:36 +00:00