Commit graph

10 commits

Author SHA1 Message Date
maya
9812853479 lang/gcc5: add patch to avoid declaring a prototype of host_detect_local_cpu
on platforms which do not include driver-arm.o in gcc/config.host, and do
not have this function. such as netbsd/arm.

an alternative would be to add driver-arm.o for the netbsd/arm case too, but
it would be diverging from netbsd base gcc, and /proc/cpuinfo which is needed
for this function to do anything useful is empty at least on my machine.

(I still can't complete a build on ARM)
2016-09-30 04:06:07 +00:00
maya
867aa790b8 lang/gcc{5,6}: avoid overwriting previous extra_objs in gcc/config.gcc
No change for i386/amd64, but arm needs additional extra_objs to build.
Mistake was in a netbsd-specific part of configure as well.

Thanks to Richard Earnshaw and ktkachov at GCC for finding the problem.
2016-09-28 14:39:00 +00:00
maya
3a5706610e gcc5: netbsd-only: unconditionally disable libssp, use a saner specfile.
because we unconditionally disable libssp, we don't need the workaround
for ssp.h not found, so we can remove that part of that makefile.

bump gcc5 PKGREVISION
bump gcc5-libs PKGREVISION further than gcc5.
2016-09-06 05:08:48 +00:00
ryoon
83343b8334 Update gcc5 to 5.4.0 and gcc5-libs to 5.4.0nb1
Changelog:
* Many bugs are fixed
2016-07-05 18:55:08 +00:00
wiz
5f26f8d912 Add upstream bug report URL. 2015-11-17 11:21:15 +00:00
wiz
5acd61730f Fix build on NetBSD with PKGSRC_USE_SSP.
Thanks to mrg for hints.

Some pkglint cleanup while here.
2015-11-17 10:19:40 +00:00
ryoon
5b120615a1 Add upstream bug report URL. 2015-09-28 16:37:55 +00:00
sevan
a29050fb45 Unbreak on OS X Tiger
- remove the space between flags and path passed to linker as it's not supported
- force the use of Dwarf2
2015-08-25 12:23:13 +00:00
martin
f20f1f2678 Make precompiled headers work on NetBSD hosts 2015-08-06 07:21:29 +00:00
ryoon
520d354235 Import gcc5-5.1.0 as lang/gcc5.
The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
Fortran, Java, and Go, as well as libraries for these languages (libstdc++,
libgcj,...). This package provides the snapshot release of version 5.

On NetBSD a working cabsl function must be present in libm to build gfortran.
This has been added to -current on 2014/10/10 and to NetBSD7 on 2014/10/13.
2015-07-16 12:03:36 +00:00