537 Commits

Author SHA1 Message Date
sthen
350ae20cdd update lang/gcc to 8.4.0, from Brad, ok pascal@
has been through bulk builds on i386 sparc64
2020-09-04 09:55:34 +00:00
naddy
c552ea72f3 bump for plist changes 6.7 -> 6.8 2020-08-31 22:20:49 +00:00
sthen
153872479b following the lead of base-clang, switch ports-gcc default to i586
from Brad, ok pascal@ (maintainer)
2020-08-08 16:48:48 +00:00
naddy
e8092ac1dd bump for plist changes 6.6 -> 6.7 2020-04-05 15:44:52 +00:00
cwen
c60fe1d7f8 gcc: move comment about syncing bsd.port.mk(5) when the ports-gcc major
version changes from gcc/8/Makefile to gcc/Makefile.

Proposed by and OK sthen@
2020-01-12 11:37:28 +00:00
cwen
452ca04d9e gcc/8: add a comment about syncing bsd.port.mk(5) when ports-gcc version
changes.

Reworded by and OK espie@, OK pascal@ (maintainer)
2020-01-11 12:49:46 +00:00
cwen
3e5c90e3dd gcc/8: re-enable Ada on powerpc by providing a new bootstrap.
Thanks and OK naddy@
2019-12-03 21:18:26 +00:00
naddy
2e247d1fa7 disable Ada on powerpc; the required new bootstrap has not become
available in three weeks
2019-11-30 18:20:53 +00:00
naddy
8ab80b6257 new adastraps that include all required shared libs 2019-11-30 18:16:47 +00:00
visa
1585d5409e Update mips64 adastrap. 2019-11-20 14:19:12 +00:00
naddy
dd2ea01f65 Revise the adastrap build such that it extracts the list of required
shared libraries directly from the cc1 binary and includes all of
them in the new bootstrap.
ok sthen@ pascal@
2019-11-09 10:50:12 +00:00
naddy
41b4ee2be3 REVISION must not go back 2019-09-07 23:32:43 +00:00
daniel
26438191d5 Minor cleanups:
- remove no-longer needed g77 and java subpackages.
- remove an outdated patch comment
- move HOMEPAGE from http -> https
- bump all subpackages due to HOMEPAGE change

ok pascal@ (MAINTAINER)
2019-09-07 19:32:44 +00:00
cwen
46732a64cc gcc/8: add crt* symbols on powerpc
These symbols are needed at least for php-7.3.

Tips (thanks a lot!) and OK pascal@
2019-08-11 20:53:07 +00:00
naddy
15934c06f0 bump for plist changes 6.5 -> 6.6 2019-08-10 19:41:07 +00:00
naddy
c48e5fa246 remove gcc 4.9, no longer hooked up to the build; ok sthen@ 2019-08-10 17:58:17 +00:00
visa
63897ab705 Update mips64 adastrap. 2019-08-04 12:54:10 +00:00
landry
d1a16a728e New adastrap for powerpc to go over the realpath bump, unbreaks 5k+
ports requiring gcc8 for c++.
2019-08-01 08:49:04 +00:00
sthen
2efb30d240 regen i386 ada bootstrap, I think I had messed up patching previously because
it was still not working on a new-realpath system.
2019-07-30 22:17:59 +00:00
naddy
106ab15aa0 Fix the Ada build now that realpath(3) conforms to POSIX and returns
an error if the last component of the path does not exist.

This is a bug in libgnat.  The System.File_IO.Open function calls
full_name -> __gnat_full_name -> realpath on files that have not
yet been created.  The Linux realpath was considered lacking, so a
different approach is used there.  We now remove OpenBSD from the
#ifdef of operating systems supporting realpath and follow the Linux
code path.

New Ada bootstraps are required.

ok sthen@ pascal@
2019-07-23 21:17:47 +00:00
sthen
485792605b replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 21:02:12 +00:00
sthen
a1e533281d sync WANTLIB 2019-06-13 17:00:47 +00:00
pascal
2b209d94f9 Adjust gcc specs to not pass -dynamic-linker to ld if -shared is given on
the command line.  This resulted in shared libraries with an .interp section,
confusing plist generation tools.

Discussed with espie@, guenther@ and kettenis@; initial patch from espie@.

ok espie@
2019-05-20 14:59:05 +00:00
sthen
42dc443195 Use ld.bfd to link math/py-scipy and telephony/asterisk on i386, like gcc/8
itself they fail with "has non-ABS relocation R_386_GOTOFF against symbol XXX"
with LLD.

Mention these ports in the comment in lang/gcc/8/Makefile.
2019-05-01 12:12:24 +00:00
sthen
2c27dd61de remove the znotext suggestion from the i386 comment, same issue with
"ld: error: XX: has non-ABS relocation R_386_GOTOFF against symbol 'XX'"
is seen on other ports (telephony/asterisk, math/py-scipy) when built
with gcc 8 and znotext does not help there, so is unlikely to help here
either.
2019-05-01 11:53:03 +00:00
sthen
a2d7c33b2a use ld.bfd to link gcc/8 on i386 to unbreak; I haven't figured out how to
pass notext across yet and having this broken knocks out getting on for
a quarter of the ports tree on i386 (mostly via fortran).
2019-04-30 13:15:33 +00:00
naddy
fd7bddaad3 stop special handling of MODGCC4_LANGS=java; it's gone from the tree 2019-04-29 15:27:01 +00:00
naddy
b7e8ac93a7 Switch ports-gcc to GCC 8.3.0:
* switch gcc4 module to gcc/8
* register the gcc/8 subpackages as updates for their gcc/4.9 counterparts
* sync the gcc version in devel/llvm
* add a quirk entry that gcj is obsolete
* unhook 4.9 from the build

Preparatory work by many.
ok sthen@
2019-04-27 21:26:34 +00:00
naddy
e26af033ba Remove GCC 6. Never connected to the build, now obsoleted by GCC 8.
ok pascal@
2019-04-25 15:25:15 +00:00
naddy
c7ccad6525 take ownership of a directory that had accidentally been omitted; ok sthen@ 2019-04-22 20:50:34 +00:00
naddy
305d688b62 fix warning and future error about unescaped left brace in perl regex 2019-04-16 15:35:30 +00:00
pascal
d5c575b948 Update to GCC 8.3.0, and regenerate bootstrap on amd64, hppa and powerpc.
Also tested on armv7, arm64 and sparc64.

Earlier diff from Brad.
2019-03-25 20:17:46 +00:00
jca
c5859b7f0c Our stddef.h provides max_align_t, let cstddef provide std::max_align_t
This unbreaks www/webkitgtk4 on sparc64.  ok pascal@ (maintainer)
2019-03-24 16:47:48 +00:00
naddy
b1eb1d48fd bump for plist changes 6.4 -> 6.5 2019-02-28 01:52:37 +00:00
otto
74e6bb8161 Apply stackghost stack unwinding fix for sparc64 here as well; ok jca@ 2019-02-12 18:37:17 +00:00
phessler
30ba489a94 instead of erroring out, mark BROKEN for languages that are known to
a different gcc4 module version but not this one.

OK sthen@
2019-02-08 11:16:25 +00:00
sthen
afeaf12d3b mark BROKEN-i386: non-ABS relocation R_386_GOTOFF against symbol .LC60 2019-02-06 23:09:53 +00:00
otto
750fe2e79e Fix stack unwinding for sparc64; makes C++ exceptions work; ok kettenis@ sthen@ 2019-02-06 06:48:02 +00:00
pascal
823d8d28c3 Hook up gcc 8.
ok sthen@ phessler@
2019-02-02 18:44:03 +00:00
pascal
3181717f80 Fix TEST_DEPENDS on arm and arm64. From Brad. 2019-01-13 11:59:18 +00:00
pascal
7df1e069cd Properly set RUN_DEPENDS{,-main} for the case where devel/gas is needed.
found by phessler@
2019-01-06 14:36:47 +00:00
pascal
fa22bb31f4 Update powerpc bootstrap and plist. 2019-01-05 22:08:11 +00:00
pascal
a2a036b0ec Provide MODGCC4_FORTRAN* variables.
ok jca@
2019-01-04 17:29:53 +00:00
pascal
8564459c11 Import GCC 8.2.0. ok espie@ 2019-01-04 15:50:38 +00:00
pascal
10d3d0b9d1 Update mips64 bootstrap. 2018-12-29 10:11:20 +00:00
pascal
93a8385d3f * merge kprintf format update from gcc 4.9
* fix ABI break in libestdc++ introduced in GCC 6.5.0

From Brad.
2018-12-27 15:49:44 +00:00
pascal
bb1e666987 Update to GCC 6.5.0. Earlier diffs from Brad.
mips64 bootstrap update still pending.
2018-12-26 17:09:59 +00:00
pascal
9dbe16a422 Update sparc64 adastrap. 2018-12-24 09:17:36 +00:00
pascal
00880ed6f9 Update hppa bootstrap. 2018-12-21 11:44:09 +00:00
pascal
3177854e5e Update powerpc bootstrap. 2018-12-19 21:10:52 +00:00