407 Commits

Author SHA1 Message Date
tobiasu
9e10d5027a Ada support for mips64, powerpc and sparc
- mips64el bits included, need access to bootstrap machine
- sync system-openbsd-*.ads, remove obsolete stuff

Building on sparc requires a recent (21/09) kernel
Tested on hppa mips64 powerpc sparc and sparc64

ok pascal@
2015-09-24 22:29:58 +00:00
sthen
6ec5a88ed7 Move gcc's .la files into the gcc-libs package, they are required for linking.
Build problem noticed with epiphany which doesn't itself need gcc4 but uses
libraries which do.  ok ajacoutot@ pascal@
2015-09-24 08:51:48 +00:00
pascal
de7bd3a30a Enable secure PLT by default on PowerPC in ports GCC. 2015-09-16 10:59:25 +00:00
pascal
0ff7bec648 Let's unlock some more ports failures on obscure architectures.
mips64(el) support for gcc 4.9.  Thanks to kettenis@ for fixing binutils bugs!
no ada support yet though, sorry.
2015-09-11 08:07:44 +00:00
pascal
d2e5b30aba tedu gcc 4.8
ok sthen@ tobiasu@
2015-09-10 08:23:54 +00:00
pascal
db847a3539 Clean up PSEUDO_FLAVORS: c++ hasn't been optional in a long time, objc and
fortran are required since the gcc-libs conversion (and don't need much time
to build anyway).  Finally, go will never be supported in 4.9.

prompted by sthen@ a while ago
2015-09-09 16:05:29 +00:00
sthen
e07fec811f add a comment pointing out that NO_xx flavours are broken, to avoid people
trying to do a quick build by disabling things they don't need, only to have
it fail when packaging -libs
2015-08-18 10:16:55 +00:00
sthen
5f0d137420 tweak WANTLIB again; build problem reported by ajacoutot.
quadmath is used by -f95 (WANTLIB), however the lib is also present in GCC 4.9
which is required all over the place for bulk builds. So bodge around it by
removing the WANTLIB and at least specifying a RUN_DEPENDS-f95 instead.

This is pretty much academic anyway as you can't install gcc-4.8 on a typical
workstation as it will conflict with gcc-4.9 libs that are a common dependency.
2015-08-18 10:14:06 +00:00
sthen
d8e24bbded sync WANTLIB 2015-08-17 19:52:39 +00:00
sthen
f01f130905 Disable code added in GCC 4.9.3 which passes ".machine ppc" to the assembler;
this breaks builds when -maltivec is used, including Mozilla ports.

Borrowed from a commit to the Amiga development tools project,
b24ae06571

ok landry@ mpi@ naddy@
2015-08-06 18:38:34 +00:00
pascal
0a6288ef05 Bugfix update to 4.9.3. 2015-07-19 21:22:49 +00:00
sthen
3a4c3144c9 copy the ccache handling from gcc/4.8/gcc4.port.mk and apply it to gcc/4.9 2015-07-17 22:42:12 +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
pascal
bcffeabd0b In the fortran part of the gcc4 module, also add quadmath to WANTLIB on archs
where it is used.
2015-05-28 08:05:12 +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
pascal
fd11d35de6 remove 4.2. long unused, doesn't build, tobiasu@ doesn't need it any more.
prompted by naddy@, ok tobiasu@
2015-03-19 16:56:02 +00:00
tobiasu
834e10de3f Add memcpy() workaround and reenable Ada support
Rename all egnat* binaries back to gnat*, sync with 4.8
Add hppa Ada support
Delete debug patch for a linker issue solved some time ago

funktioniert pascal@
2015-02-17 12:04:44 +00:00
tobiasu
738e608832 Add Ada support on hppa
ok pascal@
2015-02-15 11:18:14 +00:00
brad
8b283e847d Disable 4.6 on hppa.
ok pascal@ tobiasu@
2015-02-12 16:15:28 +00:00
brad
c51d908cf0 Copy over from 4.8.. Stop running the fixincludes script.
ok pascal@
2015-02-10 22:04:54 +00:00
brad
7ab725c95f Add -rdynamic handling for hppa.
ok pascal@
2015-02-10 22:02:44 +00:00
pascal
bd1eb7a20a Same thing for 4.8: Kill --disable-checking, merge PFRAG.ATOMIC into PLIST.
Unbreaks hppa.

also tested by and ok tobiasu@
2015-02-04 10:41:27 +00:00
pascal
ff49d042c0 Finally fix newer GCC on hppa by removing --disable-checking from
CONFIGURE_ARGS.  While it may have had some value in the past, nowadays it's
just another (essentially untested) deviation from the mainstream.

Also:
* Restore -fstrict-aliasing and -fstrict-overflow behaviour
* Support -rdynamic on hppa
* libatomic is actually supported on every POSIX system, so remove useless
  PFRAGs.

Tested on amd64, hppa and sparc64; ok tobiasu@
2015-02-03 20:32:12 +00:00
pascal
36900731cd Update to GCC 4.8.4.
Additionally, from tobiasu@:

Disable the optimized shared Ada.Strings.Unbounded implementation until
overlapping memcpy() is fixed. Requires fresh adastrap's.

Rename all binaries starting with "egnat" back to "gnat". Reduces the
amount of workarounds needed to build various Ada software - including
GNAT itself.

Stop running the fixincludes script - saves time and pain. If our
headers are broken, we want to know and fix them ourselves, thank you
very much.

Drop gnat debug patch for a linker issue that was fixed some time ago.

ok tobiasu@
2015-01-08 20:23:21 +00:00
sthen
d6a3190275 bump REVISION for 5.7 2015-01-02 14:26:12 +00:00
landry
e7df1f7194 Mark BROKEN-alpha a bunch of ports that reliably failed (!) to build in
the past 3 bulks, or forever.

Various reasons: no d^Hrecent compiler available, base gcc generating
nice internal compiler errors, no atomic ops, etc, etc.

While here, mark all webkits as BROKEN-hppa, since this also requires
clang or g++ 4.7. Our g++ 4.8 port only builds on
i386|amd64|powerpc|sparc64 anyway...

if you're interested^Wbored to death, full past logs at
http://build-failures.rhaalovely.net/alpha/...
2014-12-30 21:50:24 +00:00
naddy
27900aa769 temporarily disable Ada: it is broken with a strict memcpy that
checks for overlap; ok pascal@
2014-11-27 17:23:08 +00:00
espie
1cb3951cf1 ada bootstrap missing. not sure it's gonna get fixed. No matter, just
disable the subpackage (minimizes diffs to other gccs)
2014-11-22 17:00:13 +00:00
pascal
7ac95f3a95 Update to 4.9.2. Finally gets rid of gfortran patches.
Tested on everything except sparc, adastraps mirrored by and ok tobiasu@
2014-11-20 19:54:40 +00:00
daniel
e8f0baec37 Update to cope with gets(3) removal. Still doesn't build so no bump.
ok espie@
2014-11-18 02:07:17 +00:00
tobiasu
0dc2906b12 Add ARM support to gcc 4.9
Marked broken because it uses instructions the default binutils don't
understand. The port itself seems to work.

I will probably post the update instructions to arm@ for those that are
interested in playing with this.

ok pascal@ a long time ago
2014-11-12 10:56:59 +00:00
tobiasu
2a41d625f8 Add missing PLIST fragment for sparc
ok pascal@
2014-09-29 20:29:29 +00:00
tobiasu
c9d36af054 Add sparc backend to gcc 4.9.1
Build time: 3.5 days @ 150MHz
I do take 200MHz HyperSPARC and memory donations :-)

OK pascal@
2014-08-25 09:57:04 +00:00
pascal
d2e15f0694 Update to GCC 4.9.1 + fix for CVE-2014-5044. As usual, sparc64 adastrap
generated by tobiasu@, thanks!
2014-08-18 07:42:11 +00:00
kili
91a0cb8298 Fix a bunch of patches that were recersed by accident.
ok pascal@
2014-08-15 22:07:43 +00:00
pascal
d91857b837 SECURITY fix for CVE-2014-5044. Upstream commit:
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=213313
2014-08-15 08:19:29 +00:00
naddy
7652ff02cd bump for plist changes 5.5 -> 5.6 2014-07-16 14:35:38 +00:00
espie
6e2a628745 more 5.6 bumps 2014-07-16 12:35:23 +00:00
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