Commit graph

23 commits

Author SHA1 Message Date
jperkin
4fb813d82e gcc7: Fix LINK_LIBGCC_SPEC patch. 2018-05-23 08:11:16 +00:00
minskim
f81efc8555 lang/gcc7: Refine the condition to enable multilib 2018-05-02 18:38:30 +00:00
wiz
58a2a977a7 recursive bump after mpfr shlib major bump 2018-01-28 16:24:10 +00:00
maya
b61e82ce7f gcc7: update to 7.3.0
Local changes:
Remove patch hunks merged upstream (non-c99 compatibility cabs workaround,
linking to libc by default on netbsd).

GCC changes:
Added code generation options to mitigate Spectre variant 2 (CVE-2017-5715)
for the powerpc and x86 targets.

RTEMS: Support has been added for Epiphany target.

List of bugs fixed:
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=199567&resolution=FIXED&target_milestone=7.3
2018-01-25 23:27:30 +00:00
jperkin
c1e44a0735 gcc{5,6,7}: Disable fixincludes on SmartOS like gcc49. 2017-12-13 10:54:53 +00:00
maya
063d2481d3 reset maintainer 2017-11-13 19:36:26 +00:00
maya
0ffb16f69d gcc7: update to 7.2.0
SPARC
    Support for the SPARC M8 processor has been added.
    The switches -mfix-ut700 and -mfix-gr712rc have been added to work around an erratum in LEON3FT processors.
    Use of the Floating-point Multiply Single to Double (FsMULd) instruction can now be controlled by the -mfsmuld and -fno-fsmuld options.

RTEMS
    The Ada run-time support uses now thread-local storage (TLS).
    Support for RISC-V has been added.
    Support for 64-bit PowerPC using the ELFv2 ABI with 64-bit long double has been added.

Bug fixes: https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=7.2
2017-09-26 06:10:27 +00:00
wiz
37e92bf6f7 Pass relro linker flags.
Fixes RELRO for most binaries, except for libgcc_s.so.
2017-07-25 13:19:00 +00:00
brook
35efa550c8 Fix a typo (an extra S) in the make variable GCC7_DIST_VERSION. This makes
it consistent with all other analogous variables, which are used in the
process of selecting an appropriate version of gcc.
2017-07-18 18:19:35 +00:00
maya
d722e2e4d8 gcc{48,49,5,7}: on netbsd only, bump libstdc++ major to 7.
bump pkgrevision.

while here, synchronize libssp comment to a clearer one.

bump gcc*-lib revision to be one higher.
2017-07-09 05:30:41 +00:00
jperkin
073328b36f Explicitly disable mkostemp on SunOS. It was shipped as part of libc for
a while without the corresponding entry in stdlib.h, thus falling foul of
-Werror=implicit-function-declaration checks.
2017-07-07 14:52:30 +00:00
adam
7f89b18574 On Darwin you must not have duplicate symbols 2017-07-05 10:17:01 +00:00
adam
b276d4deda Added CONFIGURE_ARGS.Darwin 2017-07-04 12:46:52 +00:00
maya
5c0a1ab0b6 Restrict gcc gsed usage to NetBSD
(NetBSD/mips64 progress further with gsed)

Adding gsed as a tool creates circular dependencies if pkgsrc gcc is used
as the bootstrap compiler.

Pointed out by jperkin, sorry.
2017-06-22 21:44:49 +00:00
maya
482e3d0bc7 Use gsed when building GCC.
This is a somewhat blind commit. I've long had issues on various platforms
with libgcc getting misconfigured (on netbsd/mips,arm,powerpc), for example
build failures see:
http://mail-index.netbsd.org/port-mips/2017/06/21/msg000832.html

testing GCC 7.1 with netbsd/mips64el I got a lot further using it, but
still didn't complete the build. It took hours to reach this failure,
so I'd rather blindly commit the same change in the hopes it might help
other architectures.
2017-06-21 21:16:35 +00:00
maya
d76ec1bb61 Take maintainership of all (recent-ish) GCC packages
I have gone into the depths of GCC and came back alive, so feel free
to ask me about it.
2017-06-08 09:52:47 +00:00
maya
f6431d6701 gcc7: correct typo in patch, from Kai-Uwe Eckhardt
Reportedly fixes a bunch of tests.
make our cpuinfo patch possibly less harmful to glibc by using
the same macro as the symver logic

bump pkgrevision
2017-05-14 02:38:02 +00:00
jperkin
c8eb23ce73 Restrict patch to specific circumstances on SunOS. 2017-05-12 18:10:56 +00:00
jperkin
c25c333248 Remove leftovers from the gcc-java option which were bringing in more
dependencies than required and causing the build to fail due to being
unable to find zlib.

Bump PKGREVISION.
2017-05-10 15:02:29 +00:00
jperkin
1c08c8b60b Ensure we can find std::aligned_alloc if using it. 2017-05-10 15:00:09 +00:00
maya
1ce23f1f4e gcc7: unbreak non-linux after GCC r243219.
GCC target/80600. Thanks joerg.
Fix wip package reference, thanks Kai-Uwe Eckhardt.

Bump PKGREVISION
2017-05-04 17:38:23 +00:00
maya
eb4508f6c6 gcc7: cleanup some accidential wip package and gcc-java leftovers 2017-05-03 00:54:59 +00:00
maya
15a894d9f2 Add GCC 7.1.0
GCC Java removed, package now uses ISL 0.16.1

Release notes:

We are proud to announce the next, major release of the
GNU Compiler Collection, 7.1.  This year we celebrated the 30th
anniversary of the first GCC beta release and this month
we will celebrate 30 years since the GCC 1.0 release.

GCC 7.1 is a major release containing substantial new
functionality not available in GCC 6.x or previous GCC releases.

The C++ frontend now has experimental support for all of the current C++17
draft, with the -std=c++1z and -std=gnu++1z options, and the libstdc++
library has most of the C++17 draft library features implemented too.

This releases features various improvements in the emitted diagnostics,
including improved locations, location ranges, suggestions for misspelled
identifiers, option names, fix-it hints and various new warnings
have been added.

The optimizers have been improved, with improvements appearing in all of
intra- and inter-procedural optimizations, link time optimizations and
various target backends, including, but not limited to, additions of store
merging pass, code hoisting optimization, loop splitting, and
shrink wrapping improvements.

The Address Sanitizer can now report uses of variables after leaving their
scope.  GCC now can be configured for OpenMP 4.5 offloading to NVidia PTX
GPGPUs.

Some code that compiled successfully with older GCC versions might require
some code adjustments, see http://gcc.gnu.org/gcc-7/porting_to.html for
details.

See

  https://gcc.gnu.org/gcc-7/changes.html

for more information about changes in GCC 7.1.
2017-05-03 00:21:03 +00:00