432 Commits

Author SHA1 Message Date
pascal
483545cca5 regen ppc adastrap 2016-09-12 09:37:09 +00:00
pascal
616563b21f +powerpc 2016-09-11 07:43:48 +00:00
pascal
e5e65a147d ONLY_FOR_ARCHS+=arm 2016-09-09 20:51:03 +00:00
pascal
b6b5cbe4ae regen i386 bootstrap 2016-09-06 10:14:24 +00:00
pascal
088a43f40e Import GCC 6.2.0.
ok espie@
2016-09-04 16:20:14 +00:00
dcoppa
072959c4ea Add a "bin/gfortran" symlink pointing to "bin/egfortran"
OK pascal@ (maintainer)
2016-09-02 12:14:06 +00:00
pascal
b2cff9e0b2 Update to GCC 4.9.4.
No fallout in naddy@'s bulk.
2016-09-01 17:30:33 +00:00
jasper
f079a29523 more sparc leftovers 2016-09-01 11:01:32 +00:00
jasper
b438691876 retire sparc support and sync distinfo accordingly 2016-09-01 10:56:58 +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
1a681052d6 Sync startfile spec, fixes egcc -static to link against rcrt0
ok stefan@ pascal@ naddy@
2016-07-14 07:22:31 +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
sthen
ac9f45d75b Apply the libffi patch to avoid PROT_WRITE | PROT_EXEC mappings to the
copy of libffi in lang/gcc/4.9. Bump -java REVISION (this is only used for
java and gccgo, and we don't build gccgo).  ok jca@ pascal@
2016-05-28 16:06:14 +00:00
naddy
a26d55a53c bump for plist changes 5.9 -> 6.0 2016-05-12 01:17:13 +00:00
pascal
b01174ae9b Update my mail address. 2016-05-07 12:40:56 +00:00
jsg
2bc786660f Change the default gcc arm arch target from strongarm (armv4) to
arm9e (armv5te w/o xscale extensions).  We no longer support anything
less than armv5te and this allows some additional instructions.

-mthumb-interwork remains off by default.

Same change made to base gcc works here as well.

ok pascal@
2016-03-24 13:16:32 +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
pascal
0c86aa8b50 Preparation for LLVM update: export variables related to estdc++ WANTLIB and
LIB_DEPENDS unconditionally, not just if MODGCC4_LANGS=c++.
2016-03-05 15:27:27 +00:00
naddy
98b05d7730 bump for plist changes 5.8 -> 5.9 2015-12-20 00:16:27 +00:00
tobiasu
23db50ac76 Finally activate ARM support in gcc 4.9, includes Ada of course..
Remember to update binutils first

ok pascal
2015-12-05 22:00:29 +00:00
sthen
97889e162c switch my distfiles mirror to https 2015-12-03 21:24:29 +00:00
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