Commit Graph

102 Commits

Author SHA1 Message Date
landry
5b823cb084 Sync the config/openbsd.h and config/sparc/openbsd64.h patches with
respectively r1.9 and r1.6 of base gcc ones adding #define
NO_IMPLICIT_EXTERN_C. While here add the missing #define
NO_UNSAFE_BUILTINS to gfortran/gcc 4.2, Bump all REVISIONs.
ok sthen@
2012-10-07 20:09:44 +00:00
pascal
a2552ed7a7 Unify MASTER_SITES for adastrap; they're now all hosted by Tobias Ulmer on
tmux.org.  Makes gnat bootstrapping work a little easier for him.
2012-09-28 15:02:28 +00:00
naddy
b59373b722 Add DPB_PROPERTIES=parallel for some big ports.
Required to make full use of the amd64 package building cluster.
2012-09-26 17:36:46 +00:00
espie
19a7a697da fix parallel builds. fixincludes doesn't own that directory, so don't
clean it up.

More recent gcc have a cleaner fix, where fixincludes has been moved to
another directory that it truly owns, but in our case, we do not need to
clean up the fake directory as it's just been created.

okay pascal@, naddy@
2012-09-23 10:32:16 +00:00
pascal
13f6a15732 Patch GCC and derived ports to use PIE by default on the same architectures it
is enabled on in base; except for gcc 3.3, which does not have PIE support and
therefore needs to pass -nopie to the linker.

Also, sync powerpc pthread specs with base.  From Brad.

ok naddy@
2012-09-01 00:00:32 +00:00
sthen
a1154fc621 missing bump, pointed out by nigel@
adjust comment about bundled libc for adastrap while there
2012-08-29 20:51:41 +00:00
sthen
c8cbedb21c sync OBSD_LIB_SPEC in the ports tree compilers with the updated one
in base; from Brad
2012-08-28 23:39:12 +00:00
pascal
e27ffe7e0c Sync -pthread semantics with base gcc. From Brad.
ok matthew@
2012-08-20 12:35:41 +00:00
sthen
49a55c3e0f bump for plist changes 5.1 -> 5.2 2012-06-21 13:56:57 +00:00
pascal
21fda32a64 Don't hardcode GC_nprocs to 1 in boehm-gc, but get it from sysconf instead,
following a similar change in devel/boehm-gc.
From Brad.

ok kurt@
2012-05-07 10:34:33 +00:00
pascal
46702013ca Do not let different versions of libstdc++ conflict with each other. At the
same time, make sure that g++ is never installed alongside a higher version
of libstdc++, so that stuff will always link to the correct library.

feedback espie@ and kurt@, ok kurt@
2012-05-04 08:47:55 +00:00
pascal
7db97b1c58 Define _REENTRANT, not _POSIX_THREADS for -pthread; ok kurt@ 2012-04-23 14:12:18 +00:00
kurt
1805bc8d2b Port boehm-gc rthread support from boehm-gc port. Tested in bulk by espie@ 2012-02-22 12:40:04 +00:00
ajacoutot
546de5306a Now that the system headers provide a proper definition of NULL we
can remove all these NULL patches.

from Brad
ok espie@
2012-02-22 07:48:10 +00:00
espie
022f1ce588 same dance as for 4.6: stop at stage2, oh and use CONFIG_SITE everywhere 2012-01-23 22:20:34 +00:00
espie
da7ac90093 switch to a new way of bundling bootstrap: this bundles the official
libc.so from OpenBSD 5.0, and tweaks the ada scripts to LD_LIBRARY_PATH
the bundled library.

That way, we should be able to get away by providing a new bootstrap ways
less often (preferably every release, but things won't break if we do it
even LESS often).
2012-01-23 14:59:57 +00:00
espie
280d2bc38a tweak infra to be able to bundle libc in adastrap 2012-01-23 14:47:37 +00:00
naddy
6ad7a26783 bump revision for plist changes 5.0 -> 5.1 2012-01-13 00:55:14 +00:00
sthen
5370b8f32d - update adastrap to a newer version built by kili@ against libc.so.60.1
(from OpenBSD 5.0-release), thanks ajacoutot@ for hosting the distfile.

- check that the bootstrap egcc can actually run; the reason for failure
due to missing libs is now clear (previously it was a cryptic "C compiler
cannot create executables" type message during configure).
2012-01-04 12:29:01 +00:00
naddy
ec58a1093d Merge in fixes for alpha from base (miod@):
builtins.c:
Allow MD backend to prevent the optimization of a bcopy() or memmove() of
size 1 (the size being known at compile-time) into an inline mempcpy()
expansion, which will in turn expand into a byte load and store operation.
This expansion loses precious address alignment information at some point
(because everybody knows that you can read a byte from any address, right?),
and this loses bigtime on strict alignment platforms which lack the ability
to accesse bytes directly, such as alpha (unless compiling with -mbwx and
runnning on a BWX-capable cpu).

config/alpha:
Require alignment of local arrays on word boundaries, and enable
the builtins.c `one-byte memcpy' workaround.

ok espie@
2011-12-03 15:54:05 +00:00
nigel
14c3e5cc31 Add zip and unzip used by ejar script to RUN_DEPENDS-java and bump.
Ok espie@ (Maintainer)
2011-11-24 17:55:58 +00:00
sthen
5749b5be10 rename MODGCC{3,4}_ARCHES to MODGCC{3,4}_ARCHS, suggested by naddy,
phessler and jasper agree
2011-11-17 18:03:43 +00:00
espie
de328a0db8 synch with recent changes in src.
mostly from brad@
2011-11-16 12:32:49 +00:00
espie
74484a587e use BUILD_PKGPATH 2011-10-04 07:08:54 +00:00
espie
707fbd6212 put ada at the end, so if it doesn't package, it's not such a bummer... 2011-09-25 14:12:10 +00:00
espie
7d0a0c4644 use bsd.port.arch.mk 2011-09-25 12:19:23 +00:00
espie
e820071495 normalize pkgpath 2011-09-16 10:31:20 +00:00
espie
340195f8f9 modernize gcc build: pseudo-flavors, multi-packages, and ONLY_FOR_ARCHS-*
(prevent bulk from building gcc 4 twice, once for java, once for objc)
2011-09-15 17:25:34 +00:00
naddy
65bc5aa607 bump revision for plist changes 4.9 -> 5.0 2011-07-18 19:06:36 +00:00
sthen
2f4780a0dc add MODGCC4_GCJWANTLIB and MODGCC4_GCJLIBDEP, pdftk will need these.
ok landry@
2011-05-20 08:12:53 +00:00
naddy
0c47e7e2bf tighten BUILD_DEPENDS, so gcc3 won't be accepted where gcc4 is required and
vice versa
2011-03-26 19:13:28 +00:00
espie
2d6d25ab59 add PRAGMA_POP_PUSH_PACK support on i386 and amd64, to allow chromium9 to
work.
Limit it to i386 and amd64 so that it has minimal impact.
As discussed with naddy@/jasper@/sthen@/miod@
2011-02-08 09:37:51 +00:00
naddy
4cb3e73f03 bump revision for plist changes 4.8 -> 4.9 2011-01-15 01:09:42 +00:00
jasper
3f398591c9 - add missing conflict markers between g95 and (lib)gfortran.
ok steven@
2010-11-28 21:30:37 +00:00
espie
f9827a98ad zap autoconf-N: part, since it's now default 2010-11-26 14:17:17 +00:00
espie
f7466761c3 missed some 2010-11-22 09:20:34 +00:00
espie
88d20077a4 new depends 2010-11-17 08:05:12 +00:00
naddy
b224600a29 enable on alpha 2010-11-13 16:26:41 +00:00
espie
5e243a5257 convert WANTLIB on geo/lang 2010-11-07 19:12:42 +00:00
kurt
c9c6b32dfc Correct UTHREAD_SP_OFFSET on i386 after layout change in struct
_machdep_state (last release). Fixes classpath build on i386.
2010-10-31 22:38:42 +00:00
naddy
8c7fcd5467 add the bits to actually support the alpha arch, but don't enable yet 2010-10-29 08:50:38 +00:00
espie
88dd25abf4 USE_GROFF=Yes 2010-10-18 19:20:41 +00:00
naddy
34837b39ea bump PKGNAME for PLIST changes 4.7 -> 4.8 2010-07-24 23:05:08 +00:00
naddy
c9bff7c8b8 use REVISION/EPOCH 2010-07-10 13:33:46 +00:00
espie
f4b1d677f3 clean-up, after the recent mess on i386. stevens@ and naddy@ agree.
(in case of minimal breakage, this should be ways easier to fix)
2010-06-27 21:37:24 +00:00
espie
84cd314a57 auto-detect gcc4 in base 2010-05-11 07:34:47 +00:00
pirofti
1d5f525373 Use -f for ln(1). Okay espie@. 2010-05-07 20:04:23 +00:00
pirofti
ac3efd2751 Check for v0. Okay espie@. 2010-05-07 19:41:40 +00:00
naddy
72b44c5513 bump PKGNAME for PLIST changes 4.6 -> 4.7 2010-01-27 21:43:27 +00:00
landry
21bb46b201 Add an #XXX mentioning that libc.so.53.0 is needed to build gcc4 on
i386, as it's required by ada bootstrap. Should save some head
scratching to ppl not using packages, as advised.
2009-12-20 10:40:05 +00:00