Commit graph

20 commits

Author SHA1 Message Date
sbd
b27c156efe Always use dlopen and pthread. 2012-08-20 07:22:09 +00:00
sbd
146e8c9cc3 Set BUILDLINK_PKGSRCDIR usnig '=' not '?=' and correct a comment. 2012-08-20 07:19:12 +00:00
jperkin
8e9233f012 Update binutils detection on Solaris to match current reality. 2012-07-23 12:47:55 +00:00
marino
cbdb81f95b 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
ea33efa679 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
8463e2ac3e 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
60932acbe7 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
0bcdacfbcf 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
b733ce6dba Fix PLIST on !Linux 2012-05-05 22:15:06 +00:00
hans
5f4bc9b6dc 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
963298674e 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
60737dcdb2 Remove gcc-go from PKG_SUGGESTED_OPTIONS as it seems to have some build
problems.
2012-04-30 04:17:39 +00:00
sbd
2de26ceba6 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
82bb3e9280 Fix typo. 2012-04-22 08:52:18 +00:00
sbd
a29a4df310 The 'gcc-objc++' should enable both the 'gcc-c++' and 'gcc-objc' options. 2012-04-22 08:19:59 +00:00
sbd
c1593c8a8d 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
b2cfa8150e fixes malformed conditional with MULTILIB_SUPPORTED. 2012-04-18 07:10:40 +00:00
sbd
ad52f9ecdc Add t-crtstuff to tmake_file on NetBSD amd64. 2012-04-17 04:11:11 +00:00
sbd
818c05736d Add the lang/gcc47/buildlink3.mk file 2012-04-16 04:55:17 +00:00
sbd
0fdb6615f0 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