Commit graph

30 commits

Author SHA1 Message Date
sbd
3d3af75c07 Update to GCC 4.7.2
GCC 4.7.2 is the first bug-fix release containing important fixes
  for regressions and serious bugs in GCC 4.7.1 with over 70 bugs
  fixed since the previous release.

  A notable change in GCC 4.7.2 compared to 4.7.1 are ABI bug fixes
  related to some C++11 templates (std::list and std::pair).  As a result,
  code using those templates in C++11 mode is again ABI compatible with
  code in C++03/C++98 mode or C++11 mode of GCC 4.6 and earlier, but might
  be ABI incompatible with code compiled by GCC 4.7.1 or 4.7.0 in C++11
  mode.  See http://gcc.gnu.org/gcc-4.7/changes.html for more details.

  This is the list of problem reports (PRs) from GCC's bug tracking system
  that are known to be fixed in this release. This list might not be complete
  (that is, it is possible that some PRs that have been fixed are not listed
  here).
  http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.7.2
2012-12-01 02:29:32 +00:00
jperkin
a60e55dabc Use the canonical path to GNU as.
Bump PKGREVISION.
2012-11-20 23:13:11 +00:00
joerg
cb2b2cb68d Solaris ld accepts -rpath/foo/bar, but not -rpath=/foo/bar.
GNU ld accepts -rpath=/foo/bar, but not -rpath/foo/bar.
Both accept -rpath /foo/bar, so use that.
2012-11-16 01:03:54 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
sbd
5bdfe611d6 Change comment to give the svn id where the patch was commited to the gcc tree. 2012-09-15 07:41:23 +00:00
sbd
5a39b2214b Move the setting of _USE_GCC_SHLIB=yes on SunOS from the gcc buildlink3 to
mk/compiler/gcc.mk
2012-09-13 10:17:14 +00:00
sbd
e90a856ee2 Add a note about the PKGREVISION number and lang/gcc47-libs 2012-09-13 10:11:50 +00:00
sbd
f348ada677 When buildlinking with lan/gcc47 add a build dependence on lang/gcc47 and
when needed a runtime dependence on {gcc47,gcc47-libs}.
2012-09-13 10:11:02 +00:00
sbd
9fa035a5c5 Add "$(prefix)/$(target_noncanonical)/lib/%M" to the RPATH gcc adds to
all programs and shared libraries.

Bump PKGREVISION.
2012-09-13 07:19:11 +00:00
sbd
9bd9a459da Always use dlopen and pthread. 2012-08-20 07:22:09 +00:00
sbd
49b027f60f Set BUILDLINK_PKGSRCDIR usnig '=' not '?=' and correct a comment. 2012-08-20 07:19:12 +00:00
jperkin
038e8425d3 Update binutils detection on Solaris to match current reality. 2012-07-23 12:47:55 +00:00
marino
0aad19bbd7 lang/gcc47: Fix DragonFly32 floating point handling
Like i386-FreeBSD, the i386-DragonFly floating point unit uses a 53-bit
mantissa.  GCC uses the TARGET_96_ROUND_53_LONG_DOUBLE macro to know
which platforms behave this way.

Unfortunately, setting this macro to 1 breaks precision on Ada, and
leaving it at 0 breaks precision on c/c++ long double handling.  However
lang/gcc47 likely will never support Ada, so we'll favor c/c++.  This
is only an issue for i386; the setting on x86_64 should be zero as it
uses 64-bit precision.
2012-07-12 13:47:23 +00:00
marino
8dc22a22b0 lang/gcc47: Add support for DragonFly
GCC47 was marked NOT-FOR-DRAGONFLY, so support has been added.

* DragonFly-specific files added via patch mechanism
* Some existing patches modified to add DragonFly configuration items
* dl_iterate_phdr error handling support added (FreeBSD support was altered,
  NetBSD and OpenBSD support is commented out)
* The java language is taken off as a default option

On the i386 platform, the compiler will build from a full bootstrap, but
one of the later stages fails on x86_64.  It fails to find libstdc++.so.6
even though the previous stage library was built and -B, -L flags point
to it.  The cause of the platform-specific build failure isn't clear --
The workaround is to disable the bootstrap on DragonFly so that the compiler
is built in one stage instead of three.  This workaround could have been
limited to the x86_64-DragonFly platform only, but currently is applied to
i386-DragonFly too.
2012-06-23 22:13:02 +00:00
marino
01f8ecf080 lang/gcc47: Update distinfo due to prior commit
The netbsd/ctype_base.h patch was added in the previous update without
adding a new entry to distinfo.
2012-06-22 03:52:26 +00:00
joerg
6855a2cecb Redo netbsd/ctype_base.h patch to not pollute the namespace as much with
sys/param.h.
2012-06-08 15:42:28 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
joerg
50814e8914 Fix PLIST on !Linux 2012-05-05 22:15:06 +00:00
hans
2edb9e3bc4 Make gcc-inplace-math work with new mpfr.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51935
2012-05-03 12:20:18 +00:00
sbd
2eecd30946 Disable GC_register_my_thread and GC_unregister_my_thread on NetBSD as
the version of boehm-gc bundled with gcc does not support NetBSD threads.
2012-04-30 09:12:28 +00:00
sbd
fab506b346 Remove gcc-go from PKG_SUGGESTED_OPTIONS as it seems to have some build
problems.
2012-04-30 04:17:39 +00:00
sbd
2948c1b8fa Improve the patch that adds the %M spec string to handle multilib_os_dir
being NULL.

When building a single ABI capable gcc (e.g. 32bit systems), multilib_os_dir
may be NULL and this would cause gcc to segfault when trying to link libgcc.

Thanks to Filip Hajny for isolating the problem to the %M patch.
2012-04-27 04:53:02 +00:00
wiz
27b8012a66 Fix typo. 2012-04-22 08:52:18 +00:00
sbd
3272bc14bb The 'gcc-objc++' should enable both the 'gcc-c++' and 'gcc-objc' options. 2012-04-22 08:19:59 +00:00
sbd
97055922a9 Change the way that ${MULTILIB_SUPPORTED} is used.
Three situations need it be handled:

1) Multilib support is unknowen, i.e. there is nothing in the options.mk
   file to appropriately set ${MULTILIB_SUPPORTED} (currently all platforms
   except Linux/x86_64).  In this situation nothing should be done.

2) Multilib _is_ supported, in this situation the 'gcc-multilib' option
   should be made available and the CONFIGURE_ARGS modified accordingly.

3) Multilib _is not_ supported, in this situation CONFIGURE_ARGS need to
   be modified.
2012-04-22 08:14:22 +00:00
obache
2dbf24024e fixes malformed conditional with MULTILIB_SUPPORTED. 2012-04-18 07:10:40 +00:00
sbd
d40b5b819f Add t-crtstuff to tmake_file on NetBSD amd64. 2012-04-17 04:11:11 +00:00
sbd
7926965dae Add the lang/gcc47/buildlink3.mk file 2012-04-16 04:55:17 +00:00
sbd
2572492e6f Import gcc-4.7.0 and lang/gcc47
GCC 4.7.0 is a major release, containing substantial new
functionality not available in GCC 4.6.x or previous GCC releases.

GCC 4.7 features support for software transactional memory on
selected architectures.  The C++ compiler supports a bigger
subset of the new ISO C++11 standard such as support for atomics
and the C++11 memory model, non-static data member initializers,
user-defined literals, alias-declarations, delegating constructors,
explicit override and extended friend syntax.  The C compiler adds support
for more features from the new ISO C11 standard.  GCC now supports
version 3.1 of the OpenMP specification for C, C++ and Fortran.

The link-time optimization (LTO) framework has seen improvements
with regards to scalability, stability and resource needs.  Inlining
and interprocedural constant propagation have been improved.

GCC 4.7 now supports various new GNU extensions to the DWARF debugging
information format, like entry value and call site information, a typed
DWARF stack and a more compact macro representation.

Extending the widest support for hardware architectures in the
industry, GCC 4.7 gains support for Adapteva's Epiphany processor,
National Semiconductor's CR16, and TI's C6X as well as Tilera's
TILE-Gx and TILEPro families of processors.  The x86
family support has been extended by the Intel Haswell and AMD Piledriver
architectures.  ARM has gained support for the Cortex-A7 family.

See

  http://gcc.gnu.org/gcc-4.7/changes.html

for more information about changes in GCC 4.7.
2012-04-16 04:27:18 +00:00