Commit Graph

279 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
a76571c1ee Bugfix update to 4.7.2. Also, remove sparc from ONLY_FOR_ARCHS and put myself
as MAINTAINER.

no objection from espie@
2012-09-28 18:45:42 +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
402ab6593a adapt a sparc64 patch; still not enough because it decides to segfault in
libgcc.

found by landry@ in a bulk.  fuck gcc.
2012-09-04 10:11:56 +00:00
pascal
f080554be1 Make gcc 4.[67] use __guard_local instead of __guard. From Brad.
ok matthew@
2012-09-03 13:24:58 +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
pascal
5eeb506019 tedu gcc 3.4. unused, incomplete, nobody working on it.
ok naddy@, "don't care" espie@
2012-08-31 18:37:47 +00:00
sthen
757b73bc31 missing bump, pointed out by nigel@ 2012-08-29 20:53: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
sthen
c44d5938af oops, lost "m" in WANTLIB-estdc in wantlib sync commit; fix and bump REVISION. 2012-08-27 20:06:16 +00:00
pascal
3dd48630d4 missing .endif, found by and ok aja@ 2012-08-26 10:19:48 +00:00
pascal
081a373d7b Set PKGSPEC-main to be more strict about versions (>=4.6,<4.7) of the -main
package.  g++ et alii should always depend on a matching gcc.  Same solution as
for 4.7 by espie@.

found by and ok aja@
2012-08-25 18:22:54 +00:00
sthen
701ea4d98f sync wantlib 2012-08-23 19:19:16 +00:00
pascal
e27ffe7e0c Sync -pthread semantics with base gcc. From Brad.
ok matthew@
2012-08-20 12:35:41 +00:00
pascal
ec96a5487f Build fixes for powerpc.
ok aja@
2012-08-19 15:11:21 +00:00
pascal
002cee8638 Enable gcc 4.7 for release.
ok espie@
2012-07-15 08:56:55 +00:00
pascal
f2e4c82f69 Disable -java until I get around to fixing it.
ok espie@
2012-07-15 08:56:26 +00:00
pascal
3c23183a62 Update to gcc 4.7.1.
- add some fixes for hppa, though it still isn't ready for prime time yet.
  Chances are it will only work with -O1, pending testing.  Many optimisations
  lead to broken code and segfaults on hppa.  Joint work with jsg@.
- fix libstdc++ upgrade path
- bring in recent fixes for execinfo/magic.h from 4.6

ok espie@
2012-07-01 18:56:45 +00:00
pascal
c648bb387c Deal with hidden dependencies libmagic and libexecinfo, found by Mikolaj
Kucharski:
- disable detection of magic.h
- record build dependency on devel/libexecinfo.  Note that this affects only
  profiling features of libstdc++, enabled by defining _GLIBCXX_PROFILE.

ok espie@
2012-07-01 18:28:40 +00:00
sthen
49a55c3e0f bump for plist changes 5.1 -> 5.2 2012-06-21 13:56:57 +00:00
pascal
a51e30b3c9 Fix build with Brad's sysconf(3) diff, found by naddy@ in his bulk build. 2012-05-14 23:39:39 +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
espie
5189f3d2f9 g++ 4.7 doesn't really work with gcc 3.3.6, since it won't find -lgcc 2012-05-03 11:49:14 +00:00
espie
863d932489 give C++ a chance to work... 2012-05-03 11:22:29 +00:00
sthen
977a5cf9a6 missing bump -estdc 2012-04-24 09:47:31 +00:00
pascal
90cf7ab585 s/_POSIX_THREADS/_REENTRANT/, noticed by Brad. 2012-04-24 07:05:34 +00:00
pascal
1f2db171c7 sync WANTLIB version 2012-04-23 21:32:29 +00:00
espie
a046747283 well, void distfile names are a bad idea. 2012-04-23 21:22:09 +00:00
pascal
6382574149 aja is mirroring adastrap; thanks! 2012-04-23 16:30:48 +00:00
pascal
f2b393605c Import gcc 4.7.
ok espie@
2012-04-23 15:56:40 +00:00
pascal
ffe09c8f33 tedu old versions of gcc
ok kurt@ espie@ sthen@
2012-04-23 15:17:56 +00:00
pascal
b15c7fe082 - define _REENTRANT, not _POSIX_THREADS for -pthread
- sync kprintf formats with base

looks ok to kurt@
2012-04-23 14:16:34 +00:00
pascal
7db97b1c58 Define _REENTRANT, not _POSIX_THREADS for -pthread; ok kurt@ 2012-04-23 14:12:18 +00:00
pascal
83058afc05 - define _REENTRANT, not _POSIX_THREADS for -pthread
- enable thread model posix; bump estdc++ major
- fix manpages: install cpp.1 and gcov.1 with an 'e' prefix, and install
  another copy of gcc.1 as eg++.1 instead of an effectively empty page.

feedback and ok kurt@
2012-04-23 14:06:42 +00:00
pascal
3f726ecffb Enhance this module to provide ${MODGCC4_CPPLIBDEP} and ${MODGCC4_CPPWANTLIB}.
ok robert@
2012-04-18 18:41:22 +00:00
pascal
0e321f98b8 Defaulting to march=i486 in the compiler doesn't help much if the driver
overrides that setting.  Sync both to use i486.  Fixes libreoffice and chromium
on i386, tested by both me and naddy@.
2012-04-09 11:55:53 +00:00
pascal
589e02ed65 Fix previous to work when building java, but not go. Noticed and patch by
Andre Zepezauer on ports@ (thanks).

ok sthen@
2012-04-08 12:40:51 +00:00
pascal
52678a89c6 Also build libffi on arches where java isn't supported, it's needed for libgo.
tested on powerpc and ok aja@
2012-04-06 07:50:32 +00:00
pascal
826b4aa211 Apply the same fix as to base gcc wrt -fident.
ok espie@
2012-04-02 15:28:04 +00:00
pascal
c263e2ec14 Previous commit actually fixed gcc 4.6 on sparc64; just fix one stupid typo.
Tested on one of weerd@'s machines (thanks).

Also, update TODO.

ok espie@
2012-04-02 08:51:30 +00:00
pascal
7b9d7a0837 forgot to cvs rm 2012-03-31 20:06:40 +00:00
pascal
e7f261aa15 Update to gcc 4.6.3.
Also, sync a bit with base gcc:
- disable unsafe builtins
- disable -Wpointer-sign in -Wall
- move -fstrict-aliasing to -O3, disable -fstrict-overflow and
  -fdelete-null-pointer-checks
- enable -Wsystem-headers
- default to march=i486 on i386
- fix crtsavres on powerpc
- sync sparc64 config
- implement -Wvariable-decl, -Wstack-larger-than-N (alpha, amd64, i386, sparc,
  sparc64), -Wtrampolines, -ftrampolines
- default to -fno-ident
- fix -rdynamic by passing -export-dynamic to ld(1)

some bits from Brad, others from me.

tested by myself and jsg@, adastrap now hosted by sthen@ (thanks).

ok jsg@ sthen@
2012-03-31 20:02:03 +00:00
sthen
88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00
kurt
d4c1807932 enable __cxa_atexit. okay pascal@ 2012-03-07 20:39:37 +00:00
pascal
bdd5b86d65 fix boehm-gc with rthreads for gcc 4.6. based on kurt@'s work.
ok espie@
2012-02-28 20:00:16 +00:00
pascal
fe79b79bb5 Fix build of libgo on powerpc by:
- backporting a fix for the ppc backend from upstream
- telling libgo configure not to try to link to libffi_convenience on ppc

issue brought up and fix tested by ajacoutot@, "go ahead" kettenis@
2012-02-26 22:32:36 +00:00