472 Commits

Author SHA1 Message Date
espie
83d6481021 unbreak the tree
daniel@ is relatively new, but phessler@ and pascal@ are not.
you guys should know better
2018-09-26 17:46:51 +00:00
daniel
8a3ed0995d On alpha, build with -O1 instead of -O2 to avoid segfaults at build-time.
Tested on an AlphaServer DS10 617 MHz.

ok phessler@, pascal@ (MAINTAINER).
2018-09-25 20:59:14 +00:00
espie
e06b8c0925 be consistent 2018-09-12 15:24:50 +00:00
bcallah
4c7ef784d5 Unbreak gcc-4.9.4 on armv7 by permitting linking with lld.
There is a bug in lld that prevents the linking of libgcj.so, but on armv7
gcj isn't built so it's ok there.

ok phessler@
2018-08-11 14:11:01 +00:00
naddy
1e87a41b50 bump for plist changes 6.3 -> 6.4 2018-08-11 04:58:47 +00:00
espie
715f7c5641 fix packaging. -main has lib/gcc/*/include/ files on a lot of architecture
so it should own the directory.

Likewise, java does not need to redeclare that directory hierarchy since
it depends on main.
2018-07-23 10:05:35 +00:00
jca
d7540c0db3 Fix previous
Pointed out by s_graf at telus.net, patch from Markus Hennecke (thanks!)

While here update patch comments.
2018-04-28 16:38:25 +00:00
jca
f9f914336c Unbreak on arm, work around clang limitation triggered by an MD source file
Initial report and different fix by Markus Hennecke a while ago,
commiting pascal@'s diff on his behalf.  Agreement from landry@ and
phessler@
2018-04-25 12:56:56 +00:00
jca
f98e884185 Trivial clang6 fixes for lang/gcc/4.9
Part of a diff from Markus Hennecke, not waiting for maintainer since
p2k18 is near.
2018-04-15 23:39:26 +00:00
sthen
949ca69de4 Hack up the autoconf check for the Ada driver so that "libm.so.10.0: minor
version >= 1 expected, using it anyway" doesn't cause the port build to fail.

This problem resulted in most of the ports tree being broken on non-clang
arches and some important parts of it on clang arches too.

Similar but a bit different to a direction agreed with espie.

Really: needs new Ada bootstraps, and figuring out why base libs are
interfering with the bootstrap build environment.
2018-03-16 00:52:35 +00:00
sthen
2981f33139 sync patches 2018-03-16 00:43:48 +00:00
sthen
2ab0268b43 update amd64 Ada bootstrap, generated by espie. 2018-03-15 01:16:42 +00:00
sthen
b98b6d18ae bump; plist changes now we are at 6.3-beta 2018-02-28 19:23:56 +00:00
steven
3e906ef14b fix quoting issue in installed libtool library
(same as in gcc 4.9)

reminder by brad@
2017-11-13 23:20:49 +00:00
steven
f0279499bd fix quoting issue in installed libtool library
ok pascal@
2017-11-12 22:38:13 +00:00
espie
db5ef0b2d7 pre-emptively do the same tweak to other gccs in the ports tree 2017-11-05 09:14:28 +00:00
espie
dc5f0d9375 if the gcc4 module is just a side-effect of the clang module,
don't redefine those links.
should fix COMPILER=ports-clang on sparc64
as found out by landry@...
2017-11-05 09:11:32 +00:00
naddy
e118edc8b4 bump for plist changes 6.1 -> 6.2 2017-08-21 19:25:52 +00:00
espie
5690c3546f centralize arch compiler support so we cant teach COMPILER to
set ONLY_FOR_ARCHS
2017-08-21 09:12:47 +00:00
pascal
b793739c2a Update to GCC 6.4.0, regen bootstraps. 2017-07-19 09:23:16 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
brynet
491db75f62 Backport, or rather forward port, a fix for the broken stack-protector on amd64.
This mirrors a change made to base gcc4.2 by martynas@ in 2014.

https://marc.info/?l=openbsd-ports&m=149656580518245&w=2

Includes an independent fix from upstream for gcc6, currently unlinked
from builds

Also, stop installing libssp as it broken on OpenBSD as it tries to use gets()

pirofti@ ok'd an earlier version, suggestions from sthen@
"doesn't look dangerous" espie@
"pretty astounding" deraadt@
2017-06-07 23:34:02 +00:00
sthen
868a63b397 Write out wrapper scripts for compilers using -B to set the toolchain
search path to ${WRKDIR}/bin. Ensures that the ld wrapper script needed
for USE_WXNEEDED gets used (clang was ignoring it otherwise).

Rework ccache support and gcc4/clang MODULES to use the same wrapper
generator as above, setting up a list of command names (cc, c++, etc) and
destinations (egcc, eg++, etc) as the port is processed, and writing the
wrappers in one place in bsd.port.mk, with an optional wrapper (e.g.
ccache), and with an echo to make it clear on screen/in log which
compiler binaries were chosen (easier than inspecting the wrapper
scripts) and whether ccache is used.

Initial wrapper using -B from espie, ccache bits from me, discussed
with/ok espie.  Been through a bulk on i386.
2017-06-04 23:22:57 +00:00
espie
0747a20659 introduce the full name of the C++ pkgpath, to be used by a few ports
that run depend on it
2017-05-26 09:37:05 +00:00
espie
b3b31636a6 provide an indirection to libatomic, because at least one port depends on it
when not built with base clang
2017-05-22 08:04:07 +00:00
espie
f939bcca70 lots of stuff that conflicts with 4.9 and doesn't say so. 2017-04-06 10:26:15 +00:00
sthen
d13947c49d bump ports with openbsd version number in filenames 2017-03-04 21:59:55 +00:00
pascal
16ca621150 Regen bootstraps and re-enable ada for hppa, mips64, powerpc and sparc64. 2017-01-02 15:52:20 +00:00
pascal
893067aa11 Update to gcc 6.3.0; regen bootstraps. 2016-12-28 21:48:21 +00:00
sthen
b77a4b594d bump LIB_DEPENDS for adastrap/gmp update
from tobiasu, ok dcoppa (+ REVISION bump from me)
2016-11-15 10:04:58 +00:00
pascal
62e01e8346 Fix build after changes to our NULL definition. Noticed by naddy@. 2016-11-13 14:39:32 +00:00
naddy
410a6e618b pascal@ suggests to disable Ada on various archs until new bootstraps
are available
2016-11-11 20:13:43 +00:00
naddy
07372e2a33 new Ada bootstraps on amd64 and i386; required for gmp and mpfr update 2016-11-11 19:43:17 +00:00
visa
ef8b812211 regen mips64 adastrap
ok pascal@
2016-10-19 01:07:32 +00:00
pascal
964e2b6130 Do not install a dangling symlink to (non-existent) standard.ads.h. 2016-09-23 10:11:14 +00:00
pascal
49369b055d Switch ARM default CPU to pcore, but disallow unaligned access.
not hooked up to the build, no bump.
2016-09-20 21:51:54 +00:00
pascal
d6b137947d Add mips64 support; optimistically enable mips64el too. 2016-09-19 10:14:07 +00:00
pascal
3667ece24c Bump default -march for ARM to pcore (armv6k), but disallow unaligned access.
Required to build clang.

prompted by patrick@/kettenis@
2016-09-18 15:05:15 +00:00
pascal
d38ecb2ecc hppa 2016-09-15 10:37:03 +00:00
pascal
12db290220 Convert to arm EABI. Drop ada support for now until someone re-bootstraps it. 2016-09-15 10:22:10 +00:00
pascal
483545cca5 regen ppc adastrap 2016-09-12 09:37:09 +00:00
pascal
616563b21f +powerpc 2016-09-11 07:43:48 +00:00
pascal
e5e65a147d ONLY_FOR_ARCHS+=arm 2016-09-09 20:51:03 +00:00
pascal
b6b5cbe4ae regen i386 bootstrap 2016-09-06 10:14:24 +00:00
pascal
088a43f40e Import GCC 6.2.0.
ok espie@
2016-09-04 16:20:14 +00:00
dcoppa
072959c4ea Add a "bin/gfortran" symlink pointing to "bin/egfortran"
OK pascal@ (maintainer)
2016-09-02 12:14:06 +00:00
pascal
b2cff9e0b2 Update to GCC 4.9.4.
No fallout in naddy@'s bulk.
2016-09-01 17:30:33 +00:00
jasper
f079a29523 more sparc leftovers 2016-09-01 11:01:32 +00:00
jasper
b438691876 retire sparc support and sync distinfo accordingly 2016-09-01 10:56:58 +00:00
sthen
5f6607a993 Don't hardcode path to "ld" in ports gcc, allowing USE_WXNEEDED to override
"ld" with a wrapper script. Do the same for "as" for consistency as suggested
by naddy. Various versions of this OK'd by dcoppa and pascal.
2016-08-21 21:01:03 +00:00