136 Commits

Author SHA1 Message Date
espie
e06b8c0925 be consistent 2018-09-12 15:24:50 +00:00
naddy
1e87a41b50 bump for plist changes 6.3 -> 6.4 2018-08-11 04:58:47 +00:00
sthen
b98b6d18ae bump; plist changes now we are at 6.3-beta 2018-02-28 19:23:56 +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
naddy
e118edc8b4 bump for plist changes 6.1 -> 6.2 2017-08-21 19:25:52 +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
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
dcoppa
072959c4ea Add a "bin/gfortran" symlink pointing to "bin/egfortran"
OK pascal@ (maintainer)
2016-09-02 12:14:06 +00:00
jasper
f079a29523 more sparc leftovers 2016-09-01 11:01:32 +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
tobiasu
6331309983 Sync startfile spec, fixes egcc -static to link against rcrt0
ok stefan@ pascal@ naddy@
2016-07-14 07:20:28 +00:00
espie
1d55a231e7 add is-branch to all trivial ports that exist as multiple branches. 2016-06-29 16:14:38 +00:00
jca
4997aa0c29 Don't hardcode the most recent gcc version 2016-06-08 17:04:56 +00:00
jca
0df36adc98 Disable libffi W^X violations in gcc-4.6 too, ok sthen@ 2016-06-08 17:04:03 +00:00
naddy
a26d55a53c bump for plist changes 5.9 -> 6.0 2016-05-12 01:17:13 +00:00
naddy
c253f424ca garbage collect CONFIGURE_SHARED 2016-03-11 19:59:11 +00:00
jasper
0cece249e7 more vax patches that are no longer needed 2016-03-09 18:45:52 +00:00
naddy
98b05d7730 bump for plist changes 5.8 -> 5.9 2015-12-20 00:16:27 +00:00
sthen
97889e162c switch my distfiles mirror to https 2015-12-03 21:24:29 +00:00
zhuk
e46f7daa3f Remove extra @pkgpath markers. They were relevant for GCC 4.2, which was not
MULTI_PACKAGEd initially, but not for later ones.

Feedback and 4.9 part okay from sthen@.
2015-07-02 00:22:18 +00:00
sthen
51b3db80fc port REVISION bumps as base has moved to 5.8 2015-06-17 20:03:11 +00:00
ajacoutot
a183b75553 "/usr/local/lib/pkgconfig/" is part of mtree(8).
Packages should not own this dir to prevent its deletion or a warning that it
cannot be removed because it's not empty at pkg_delete(1) time.
2015-05-22 11:31:10 +00:00
naddy
c73cab0f0f Fold PFRAG.shared into PLIST as was done for gcc 4.8 and 4.9.
This only builds on select archs that have shared libraries anyway.
2015-03-19 20:23:57 +00:00
brad
8b283e847d Disable 4.6 on hppa.
ok pascal@ tobiasu@
2015-02-12 16:15:28 +00:00
sthen
d6a3190275 bump REVISION for 5.7 2015-01-02 14:26:12 +00:00
naddy
7652ff02cd bump for plist changes 5.5 -> 5.6 2014-07-16 14:35:38 +00:00
tobiasu
3e0322844a Add gnat for alpha. Because we can.
ok pascal@
2014-05-01 23:08:26 +00:00
tobiasu
c5c900db71 Provide hppa adastrap for GNAT. Hehe... 2014-04-27 21:50:55 +00:00
pascal
484f25ad69 Fix after gets() removal (note that this is only built on alpha and hppa).
ok landry@
2014-04-23 11:34:49 +00:00
espie
86a0a064dc document what's actually going on 2014-03-10 21:33:17 +00:00
landry
63af4a755e Only build 4.6 on alpha/hppa. Lots of cpu cycles saved on other archs! 2014-03-10 21:11:49 +00:00
tobiasu
fa5f89b880 Repair time/delay/duration time_t issues in gnat. All direct imports of
C functions have been modified to use same-size types on both sides.
There are no checks in gcc to make sure the types match, and it happily
trashes the stack or reads bogus data without this fix.

The C shim in gnatlib is still casting down to long (by design), thus
gnat is not 2038-proof on 32 bit architectures. Fixing this is an
ongoing project, but I'm running out of time for this release.

Getting the timezone offset is now supported; the unused usleep
procedure that snuck in from FreeBSD support got removed.

Tested on all supported architectures, plus new bootstraps due to the
stack trashing, just in case...

Conceptually fine with brad@
deraadt@ is unhappy with the partial solution, fixing this remains a
high priority todo
2014-02-07 01:27:21 +00:00
brad
adb9b36d26 Enable PIE by default on alpha to match the base compiler.
ok pascal@ sthen@
2014-01-15 20:16:03 +00:00
pascal
001e0489ab Switch ports gcc to PIE on i386.
ok sthen@
2014-01-12 22:16:02 +00:00
naddy
09999a5515 bump for plist changes 5.4 -> 5.5 2014-01-12 14:58:30 +00:00
zhuk
0999226a47 Make ccache work with Clang and GCC 4.6 & 4.8.
tested and okay juanfra@; also okay sthen@ for Clang part
2013-12-01 20:05:41 +00:00
zhuk
0da83f0322 Force NO_CCACHE for non-base compilers. Before that, ports system tried to
enable it through symlinks in ${WRKDIR}/bin/, which were effectively
overriden by gcc4.port.mk or clang.port.mk - thus lying that ccache was
used while it was not.

Still investigating for a good solution to actually enable ccache support
for non-base compilers.

okay juanfra@, sthen@
2013-11-27 20:42:08 +00:00
sthen
701c91e413 kill VMEM_WARNING 2013-11-25 14:16:22 +00:00
brad
19bc641c6e As was commited to the base GCC have the compiler use collect2 when
linking instead of calling the linker directly.

ok pascal@
2013-11-22 19:58:40 +00:00
tobiasu
a6e0c5595f New sparc64 adastrap 2013-09-19 21:14:56 +00:00
sthen
1ec0ac3ed5 new i386 bootstraps 2013-09-16 21:16:17 +00:00
espie
0862814d0b new adastrap for amd64 WITHOUT the fixed-includes
(and moved an rm out of a loop)
2013-09-16 10:55:00 +00:00
espie
e9a158ab37 fix gcc build, make sure it doesn't rely on bootstrapped old
fixed includes
2013-09-16 10:28:15 +00:00
tobiasu
eb47b19fef New adastraps for sparc64. 2013-08-16 07:37:18 +00:00
sthen
ebf9dd03db new bootstraps for amd64/i386, on a temporary mirror for now. 2013-08-14 07:56:25 +00:00
tobiasu
18f2e1d247 * Use SJLJ exections instead of ZCX in the hope of fixing
intermittent build problems. Exception style affects Ada only.
 * Add better tasking support and sync OpenBSD specific changes from 4.8.
 * Call __errno() from librthread when using pthreads (Tero Koskinen)
 * Enable shared library support for OpenBSD (Tero Koskinen)

bulk tested by landry@ and sthen@
ok pascal@

sorry for the delay guys
2013-07-18 16:54:08 +00:00
naddy
6b7bf0fa1b bump for plist changes 5.3 -> 5.4 2013-07-07 21:25:27 +00:00
sthen
b6cab70bad regen PLIST to unbreak following kerberosV update; com_err.h no longer
needs to be "fixed."  ok pascal@
2013-06-18 20:24:29 +00:00