367 Commits

Author SHA1 Message Date
sthen
2e8d423c2b whitespace commit, test cvsync 2014-06-26 21:01:37 +00:00
pascal
34eebf0b92 sync 2014-06-26 16:32:50 +00:00
pascal
2670d3e4e1 Import GCC 4.9, sparc64 test and ok tobiasu@ 2014-06-26 16:30:15 +00:00
pascal
3dacafb463 infrastructure glue for gcc 4.9 2014-06-26 16:26:59 +00:00
brad
ef24a6a81c Add stack protector strong support and enable it by default.
ok pascal@
2014-06-08 18:55:36 +00:00
pascal
0b40b0fa0a Update to gcc 4.8.3. Tested on sparc64 and adastraps hosted by tobiasu@.
"rein damit" tobiasu@
2014-05-25 21:45:39 +00:00
tobiasu
ecf0f2dbc7 Add mostly finished mips64/mips64el backend. Marked BROKEN for now.
Can build xgcc, but then chokes on our ancient binutils with:

ld: not enough GOT space for local GOT entries

ok brad@ sthen@ bcallah@ pascal@
2014-05-14 09:32:55 +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
naddy
a097501e8a fix the quick hack to unbreak gcc/4.8 after gets() removal
ok nigel@ sthen@
2014-03-30 19:30:28 +00:00
naddy
303d8f364a fix quoting 2014-03-29 15:01:51 +00:00
naddy
02cb051d12 escape for make 2014-03-29 13:30:26 +00:00
sthen
f42034f7e9 quick hack to unbreak gcc/4.8 after gets removal; bootstraps will be
updated later. ok pascal@
2014-03-29 10:09:27 +00:00
pascal
5d3f42f1b1 Switch GCC in ports to PIE by default on powerpc. 2014-03-23 17:30:19 +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
7085bc916f Disable PIE by deault on powerpc to match the base compiler.
ok pascal@ sthen@
2014-01-15 20:18:36 +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
sthen
c379d21732 mark for parallel builds; ok pascal 2013-12-03 10:38:52 +00:00
pascal
016e4e0bed Update to 4.8.2; adastraps hosted by/testing/ok tobiasu@ 2013-12-02 22:34:55 +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
brad
c5a0b5c6c8 Match base GCC and the GCC 4.6 port and only enable -Wpointer-sign
when using the -pedantic command line option.

ok pascal@
2013-11-15 17:37:50 +00:00
sthen
27f03b1c52 bump REVISION for any ports using route messages. regen some distinfos and
remove unnecessary USE_GROFFs while there.
2013-10-31 21:12:12 +00:00
ajacoutot
539eeef333 distfiles.bsdfrog.org: http -> https 2013-10-01 09:07:14 +00:00
tobiasu
a6e0c5595f New sparc64 adastrap 2013-09-19 21:14:56 +00:00
naddy
b47bcc9ecf keep the included libtool from picking up GNU sed; ok pascal@ 2013-09-19 18:33:25 +00:00
sthen
1ec0ac3ed5 new i386 bootstraps 2013-09-16 21:16:17 +00:00
espie
2116dffc7c new adastrap for amd64 2013-09-16 12:45:07 +00:00
espie
5a5e8f0cf6 avoid old fixed-includes there too 2013-09-16 11:49:20 +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
7a6faecac7 new bootstraps from myself and naddy 2013-08-14 12:26:01 +00:00
sthen
ebf9dd03db new bootstraps for amd64/i386, on a temporary mirror for now. 2013-08-14 07:56:25 +00:00
tobiasu
6c04befd5a * Enable -rdynamic option, from pascal@
* Use SJLJ exections instead of ZCX in the hope of fixing
  intermittent build problems. Exception style affects Ada only.
* Add better tasking support and use our own backend files instead
  of pretending to be FreeBSD.
* 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@
2013-07-18 17:04:06 +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
espie
950cb16b34 bye bye 2013-06-18 21:06:53 +00:00
espie
fcb1d59de1 unlink 4.7 by popular consensus 2013-06-18 21:03:36 +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
landry
42351afa43 Fix gcc's on sparc64 by using a regen'ed ada boostrap. From tobiasu@ 2013-06-13 06:44:08 +00:00
pascal
859fec53d7 Revert USE_LIBTOOL=gnu; it does not help. 2013-06-11 07:46:33 +00:00
pascal
15cd230e35 Update to GCC 4.8.1, tested and adastrap-sparc64 built by tobiasu@. 2013-06-07 07:55:22 +00:00