Commit graph

11 commits

Author SHA1 Message Date
maya
ec2787f6ad gcc7: don't try to make references to stack_chk_fail_local on netbsd/sun
sun was added as joyent is patching for the same.

this code is only reached if compiling for i386 (or some variation of ppc)
netbsd's stack_chk_fail_local won't work for this.

PR pkg/53436.
2018-07-18 22:55:07 +00:00
maya
37e41c8801 gcc7: fix many netbsd targets.
add netbsd/arm EABI target. recognise dwarf2 unwinding in the common arm code.

switch convoluted stddef.h logic from relying on include guards having certain
names to only applying for netbsd, which should be the sole remaining user.
(necessary for netbsd/arm, which uses different include guards for ansi.h)

move linux/alpha code out of shared alpha+ELF header.

make all netbsd targets include netbsd-stdint.h.

Fixes PR pkg/52951.

Bump PKGREVISION. bump gcc7-libs PKGREVISION above this one.
2018-06-17 19:50:52 +00:00
jperkin
4fb813d82e gcc7: Fix LINK_LIBGCC_SPEC patch. 2018-05-23 08:11:16 +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
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
adam
7f89b18574 On Darwin you must not have duplicate symbols 2017-07-05 10:17:01 +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
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
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