Commit graph

672 commits

Author SHA1 Message Date
Gerald Pfeifer
73ecb3a194 Update to the 20140116 snapshot of GCC 4.8.3. 2014-01-20 01:36:18 +00:00
Gerald Pfeifer
9111836c05 Update to the 20131212 snapshot of GCC 4.8.3. 2013-12-16 03:31:10 +00:00
Gerald Pfeifer
4260ab280e Update to the 20131121 snapshot of GCC 4.8.3.
No longer add -I${LOCALBASE}/include to CFLAGS.

Since we now configure with --with-gmp=${LOCALBASE} this is no longer
necessary, and due to bugs in binutils (which should not install ansidecl.h
into ${PREFIX}/include) and GCC (which should search its own include
directories with higher priority) can lead to build failures.
2013-12-01 21:22:44 +00:00
Gerald Pfeifer
63e7b1828a Change PORTNAME from gcc to gcc48 to match the actual name of this
port and avoid a package name collision with other GCC ports.  This
also allows us to remove LATEST_LINK.

On the way update to the 20131121 snapshot of GCC 4.8.3.
2013-11-24 20:55:35 +00:00
Gerald Pfeifer
89cc5ee5e3 Update to the 20131114 snapshot of GCC 4.8.3. 2013-11-18 03:04:05 +00:00
Gerald Pfeifer
e81f2abed2 Update to the 20131024 snapshot of GCC 4.8.3, which pretty much
coincides with the release of GCC 4.8.2.

Remove a (long) obsolete dependency on bison. [1]

STAGEify.

Reported by:	marino [1]
2013-10-27 01:15:33 +00:00
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Gerald Pfeifer
74f2919779 Update to the 20131010 snapshot of GCC 4.8.2. [1]
Migrate to the new LIB_DEPENDS standard.

Reported by:	portscout [1]
2013-10-13 19:08:37 +00:00
Gerald Pfeifer
507691028c Update to the 20130919 snapshot of GCC 4.8.2. 2013-09-24 07:53:54 +00:00
Baptiste Daroussin
888ab73a81 Add NO_STAGE all over the place in preparation for the staging support (cat: lang) 2013-09-20 19:53:09 +00:00
Bryan Drewery
c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
Baptiste Daroussin
6adf864b81 Convert to new perl framework
Convert from USE_GMAKE to USES=gmake
2013-09-17 06:40:21 +00:00
John Marino
9518965c21 lang/gcc*: define CONFIGURE_TARGET genericly (8 ports)
Instead of hardcoding the compiler target as FreeBSD, use the OPSYS
variable to it.  This makes no practical difference for FreeBSD, but
it helps DragonFly get properly configured.

Approved by:	gerald
2013-09-12 10:20:45 +00:00
Boris Samorodov
9f7e7e1326 Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems
before 100043 with ports libiconv and to use at systems post
100043 with base iconv it's value is "" (NULL).

Co-authors:	bapt, madpilot and bsam (me)
2013-09-04 20:01:05 +00:00
Gerald Pfeifer
3f7e4615cf Introduce a new option BOOTSTRAP that allows switching between a
full bootstrap of GCC and just running a simple build.

Bootstrapping is the default upstream, and for very stable and old
flavors of GCC we disable this by default since that is a huge win
in terms of build time of the port.  No change in default behavior
for this port -- for the time being we continue to bootstrap.

Update to the 20130822 snapshot of GCC 4.8.2.
2013-08-25 01:38:39 +00:00
Gerald Pfeifer
f9abdb22c7 Replace USE_GMAKE by USES=gmake.
Update to the 20130815 snapshot of GCC 4.8.2.
2013-08-17 19:23:44 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Gerald Pfeifer
da9dde7f02 Upgrade to the 20130808 snapshot of GCC 4.8.2.
Adjust the scheme used for PORTVERSION such that snapshots compare
less than the actual release (and no EPOCH bump becomes necessary
at end of life of a release series). [1]

Rename VERSIONSTRING to the standard DISTVERSION. [2]

Add more notes on the various variables carrying version information.

Suggested by:	tijl [1], crees [2]
2013-08-11 14:58:18 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Gerald Pfeifer
8bce3183f7 Remove unnecessary MAN3 settings in the case of Java being enabled.
Feature safe:	yes
2013-04-20 15:36:33 +00:00
Gerald Pfeifer
e077a0a508 Update to the 20130418 snapshot of GCC 4.8.1. This no longer installs
libffi and its info and man pages which was always meant to remain for
internal use only.

Feature safe:	yes
2013-04-19 23:45:27 +00:00
Gerald Pfeifer
b0eba5c7b5 Update to the 20130328 snapshot of GCC 4.8.1, first backport fixes
from mainline.
2013-03-29 18:24:07 +00:00
Gerald Pfeifer
cdc5cd2051 Update to the 20130321 snapshot of GCC 4.8.0, which basically
coincides with that release.

Details can be found at http://gcc.gnu.org/gcc-4.8/changes.html .
2013-03-24 12:48:55 +00:00
Gerald Pfeifer
b374d07225 Update to the 20130310 snapshot of GCC 4.8.0, approaching release branch. 2013-03-13 12:24:52 +00:00
Baptiste Daroussin
9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00
Gerald Pfeifer
79164d6d10 Update to the 20130303 snapshot of GCC 4.8.0. This should now build
with texinfo 5.0 just fine.
2013-03-06 03:42:44 +00:00
Gerald Pfeifer
2879eb5cea Update to the 20130217 snapshot of GCC 4.8.0. Lots of release
stabilization fixes.
2013-03-02 15:02:41 +00:00
Gerald Pfeifer
fa7f46ed48 Replace the use of DISTFILES by DISTNAME, since we are now down to
one in all cases.

On the way, update to the 20130210 snapshot of GCC 4.8.0.
2013-02-16 16:43:41 +00:00
Gerald Pfeifer
fd586bce8b Update to the 20130203 snapshot of GCC 4.8.0. 2013-02-10 06:03:06 +00:00
Gerald Pfeifer
8b12fade52 Use the new lang/gcc-ecj45 port when building the Java frontend
instead of including a pre-built version of the Eclipse Java Compiler
(ECJ) ourselves. [1]

On the way, update to the 20130113 snapshot of GCC 4.8.0.

PR:		175072
2013-01-20 16:44:04 +00:00
Gerald Pfeifer
5cde3656fc Update to the 20130106 snapshot of GCC 4.8.0.
This brings a new merge with upstream libffi and a new info
document (libffi.info) as well as a new man page.
2013-01-11 13:36:02 +00:00
Gerald Pfeifer
ac60120ca5 Reintroduce, adjusted to current upstream changes, my hack to get
to the unwinder interface to get FreeBSD/ia64 build. [1]

Update to the 20121216 snapshot of GCC 4.8.0.

Submitted by:	Anton Shterenlikht <mexas@bristol.ac.uk> [1]
2012-12-18 04:47:15 +00:00
Gerald Pfeifer
2847cdf824 Make binutils a build dependency as well (not just a run-time dependency).
Without this, the libiberty build fails locating ar.

Also update to the 20121209 snapshot of 4.8.0.
2012-12-12 17:42:27 +00:00
Gerald Pfeifer
da9125ed2d Update to the 20121125 snapshot of GCC 4.8.0.
This enables support for libbacktrace and thus nicer backtraces
should the compiler fail on FreeBSD.

Feature safe:	yes
2012-12-05 00:27:21 +00:00
Gerald Pfeifer
e9257c094d Forward port inclusion and use of the Eclipse Java compiler. [1]
Update to the 20121014 snapshot of GCC 4.8.0.

Submitted by:	jkim [1]
Feature safe:	yes
2012-11-01 19:12:06 +00:00
Gerald Pfeifer
c0a0ba288e Forward port revision 282369 [1] which carried the following description:
On the way rename %%GCC_VER%% in pkg-plist to %%GCC_VERSION%% and
  make the Makefile machinery a bit more generic to minimize differences
  between lang/gcc ports based on releases and those based on snapshots.

On the way, update to the 20120930 snapshot of GCC 4.8.0.

Submitted by:	jkim [1]
2012-10-01 03:46:21 +00:00
Gerald Pfeifer
753bc68a05 Update to the 20120909 snapshot of GCC 4.8.0. (Later versions have
an issue that is being in the works right now.)

Cut down the comments at the top of Makefile per recent guidance.

Revamp the handling of different languages (frontends, run-times)
by GCC to allow for orthogonal setting them in the future. [1]

Print the list of languages being built as part of pre-everything
and shorten the output of operating system and version there.

Inspired by:	jkim [1]
2012-09-29 03:20:08 +00:00
Gerald Pfeifer
a6e3ad55b2 Update to the 20120902 snapshot of GCC 4.8.0 (where I committed
support for OpenBSD/x86_64 if anyone is interested in building
for that).
2012-09-04 17:33:28 +00:00
Gerald Pfeifer
1de64f8f94 Update to the 20120826 snapshot of GCC 4.8.0. 2012-08-27 08:11:33 +00:00
Gerald Pfeifer
3d0a6e81c9 Update to the 20120819 snapshot of GCC 4.8.0. 2012-08-21 15:53:22 +00:00
Gerald Pfeifer
5c0bda5094 Update to the 20120819 snapshot of GCC 4.8.0. 2012-08-21 15:38:53 +00:00
Gerald Pfeifer
b1f0064a5d Update to the 20120805 snapshot of GCC 4.8.0. 2012-08-08 23:57:31 +00:00
Gerald Pfeifer
1e86b5a214 Convert to the new options framework.
On the way update to the 20120729 snapshot of GCC 4.8.0.
2012-07-30 12:47:27 +00:00
Gerald Pfeifer
a778e97c28 Update to the 20120722 snapshot of GCC 4.8.0.
Remove ABI version numbers for all library dependencies.
2012-07-25 09:53:04 +00:00
Gerald Pfeifer
df65ca5b07 Update to the 20120715 snapshot of GCC 4.8.0. 2012-07-16 09:01:48 +00:00
Gerald Pfeifer
74babfd2cf Update to the 20120708 snapshot of GCC 4.8.0. 2012-07-12 08:37:49 +00:00
Gerald Pfeifer
8c1dd1ec98 Update to the 20120701 snapshot of GCC 4.8.0.
Address a minor formatting issue introduced with revision 1.536.
2012-07-03 09:48:33 +00:00
Gerald Pfeifer
bc0ec67303 Update to the 20120617 snapshot of GCC 4.8.0. 2012-06-19 19:52:44 +00:00
Andreas Tobler
e3d4cd154f Add powerpc64 support.
Approved by:	gerald
2012-06-16 04:36:47 +00:00
Gerald Pfeifer
6c01726442 Update to the 20120603 snapshot of GCC 4.8.0. 2012-06-04 14:06:28 +00:00
Gerald Pfeifer
6a6012f4ea Update to the 20120527 snapshot of GCC 4.8.0. 2012-05-28 11:44:50 +00:00
Gerald Pfeifer
177a5ac850 Update to the 20120513 snapshot of GCC 4.8.0. 2012-05-16 21:25:42 +00:00
Gerald Pfeifer
419dfeefbc Update to the 20120506 snapshot of GCC 4.8.0. 2012-05-08 03:00:39 +00:00
Gerald Pfeifer
85e30b39ae Update to the 20120429 snapshot of GCC 4.8.0. 2012-05-01 01:26:59 +00:00
Gerald Pfeifer
dafeb2361e Update to the 20120415 snapshot of GCC 4.8.0. 2012-04-16 01:06:17 +00:00
Gerald Pfeifer
d889913b8d Update to the 20120408 snapshot of GCC 4.8.0.
Feature safe:	yes
2012-04-09 13:41:43 +00:00
Gerald Pfeifer
1383f135ed Update to the 20120401 snapshot of GCC 4.8.0.
Feature safe:	yes
2012-04-03 22:14:26 +00:00
Gerald Pfeifer
2820a99869 Welcome GCC 4.8! For the next couple of months this is going to be
a rougher ride, as this release series -- just branched off GCC 4.7
-- is going to see a lot of active and often invasive development.
This port is for early exposure and not production use at all.

Feature safe:	yes
2012-03-17 11:22:17 +00:00
Gerald Pfeifer
e34f428021 Update to the 20120225 snapshot of GCC 4.7.0. 2012-02-26 17:07:03 +00:00
Gerald Pfeifer
f24f6d080c Update to the 20120204 snapshot of GCC 4.7.0. 2012-02-11 21:40:00 +00:00
Gerald Pfeifer
00b8a0db25 Update to the 20120128 snapshot of GCC 4.7.0. This fixes
-fstack-protector-all on FreeBSD (thanks to tijl).
2012-02-04 11:06:28 +00:00
Gerald Pfeifer
d9dac2c50c Update to the 20120121 snapshot of GCC 4.7.0.
This fixes a bootstrap comparison failure rearing its ugly head in
some cases, plus GNU/kFreeBSD.
2012-01-22 00:56:24 +00:00
Gerald Pfeifer
b68a866302 Update to the 20120114 snapshot of GCC 4.7.0. Re-enable the Objective-C
front end and accordingly also the run-time.
2012-01-15 19:34:28 +00:00
Gerald Pfeifer
073c1ba410 Update to the 20120107 snapshot of GCC 4.7.0. 2012-01-13 21:57:31 +00:00
Gerald Pfeifer
9a50baf4ce Update to the 20111231 snapshot of GCC 4.7.0. 2012-01-06 19:52:09 +00:00
Gerald Pfeifer
c0de1a9c64 Update to the 20111217 snapshot of GCC 4.7.0. 2011-12-19 07:14:13 +00:00
Gerald Pfeifer
47507b21cb Update to the 20111210 snapshot of GCC 4.7.0.
Feature safe:	yes
2011-12-13 13:46:48 +00:00
Gerald Pfeifer
2a503e93aa Update to the 20111203 snapshot of GCC 4.7.0. This addresses an
incorrectly named library (libjavamath.so.0.0) introduced by the
fixes for FreeBSD 10 support.

Feature safe:	yes
2011-12-04 18:56:29 +00:00
Gerald Pfeifer
13f4d30e45 Update to the 20111126 snapshot of GCC 4.7.0. This now builds on
FreeBSD 10 without problems and any additional tweaks.

Feature safe:	yes
2011-11-27 02:15:24 +00:00
Gerald Pfeifer
2ed4454fe9 Update to the 20111119 snapshot of GCC 4.7.0 which brings support
for transactional memory on i386, amd64 and alpha.

We handle the corresponding info file inclusively by listing all
supported architecture and move the libquadmath info file to the
same schema.

Feature safe:	yes
2011-11-26 20:41:05 +00:00
Gerald Pfeifer
c0c63e22c1 Remove ia64 from the list of supported platforms. It's broken and
now developer, only a sole user, ever cared for the last many years.

Feature safe:	yes
2011-11-15 11:46:26 +00:00
Gerald Pfeifer
802d7301dd Update to the 20111105 snapshot of GCC 4.7.0. This allows us to remove
a hack of mine for libgcc on ia64.

Feature safe:	yes
2011-11-10 11:42:21 +00:00
Gerald Pfeifer
207d9f6cfc Update to the 20111029 snapshot of GCC 4.7.0.
This adds new programs gcc-ar47, gcc-nm47, and gcc-ranlib47.
2011-10-30 01:51:57 +00:00
Gerald Pfeifer
2347ec7fb1 Update to the 20111022 snapshot of GCC 4.7.0. 2011-10-23 16:23:30 +00:00
Gerald Pfeifer
05e4428704 Update to the 20111015 snapshot of GCC 4.7.0. 2011-10-16 00:56:59 +00:00
Gerald Pfeifer
3c5e5cf76e Update to the 20111008 snapshot of GCC 4.7.0. 2011-10-09 21:24:11 +00:00
Gerald Pfeifer
b7461ea7ee Update to the 20111001 snapshot of GCC 4.7.0. 2011-10-02 15:20:08 +00:00
Gerald Pfeifer
4d5912871b Update to the 20110924 snapshot of GCC 4.7.0. 2011-09-25 09:27:03 +00:00
Gerald Pfeifer
2d54d4d83e Update to the 20110917 snapshot of GCC 4.7.0. 2011-09-18 00:01:08 +00:00
Gerald Pfeifer
c08942b8f2 Update to the 20110910 snapshot of GCC 4.7.0. 2011-09-11 12:12:53 +00:00
Gerald Pfeifer
08ed001346 Update to the 20110903 snapshot of GCC 4.7.
On the way update ccache links (when appropriate) when installing
and deinstalling this port/package. [1]

PR:		155568 [1]
Submitted by:	ehaupt [1]
2011-09-10 20:03:45 +00:00
Gerald Pfeifer
1b358ee9b2 Update to the 20110827 snapshot of GCC 4.7.0 (which apparently requires
the newer version of binutils that we are using).

Remove a patch for ia64 that was not accepted upstream and where the are
in question was restructured recently.
2011-09-04 19:51:15 +00:00
Gerald Pfeifer
d1c50ef74b Update to the 20110730 snapshot of GCC 4.7.0. 2011-07-31 17:01:34 +00:00
Gerald Pfeifer
bbb482b28f Update to the 20110723 snapshot of GCC 4.7.0, which addresses bootstrap
issues on ia64.
2011-07-24 09:31:40 +00:00
Gerald Pfeifer
7ea2a37e9a Update to the 20110716 snapshot of GCC 4.7.0. 2011-07-19 22:01:04 +00:00
Gerald Pfeifer
c438d8da78 Update to the 20110709 snapshot of GCC 4.7.0. 2011-07-11 08:21:04 +00:00
Gerald Pfeifer
f6d0606899 Update to the 20110702 snapshot of GCC 4.7.0. 2011-07-04 10:55:27 +00:00
Gerald Pfeifer
cbda48dbde Update to the 20110611 snapshot of GCC 4.7.0. 2011-06-12 13:08:15 +00:00
Gerald Pfeifer
ccfd276efc Update to the 20110604 snapshot of GCC 4.7.0. Upstream now only provides
a single tarball and this update brings a number of changes around that.

Enable c, c++, and fortran (and only these) explicitly by default, and
Java when/where available. [1]

Reported by:	Scott Allendorf <scott-allendorf@uiowa.edu> [1]
2011-06-05 22:15:08 +00:00
Gerald Pfeifer
d76be0ecb1 Update to the 20110521 snapshot of GCC 4.7.0. 2011-05-22 13:28:47 +00:00
Gerald Pfeifer
b6131938c1 Update to the 20110514 snapshot of GCC 4.7.0. 2011-05-15 16:44:44 +00:00
Gerald Pfeifer
64f7b1f070 Update to the 20110507 snapshot of GCC 4.7.0. 2011-05-08 01:06:25 +00:00
Gerald Pfeifer
61737975a4 Update to the 20110430 snapshot of GCC 4.7.0. 2011-05-06 15:18:41 +00:00
Gerald Pfeifer
5f6923d97b Update to the 20110423 snapshot of GCC 4.7.0.
Replace the, now dysfunctional, post-patch target with a configure
option that marks this build of GCC as "FreeBSD Ports Collection". [1]

Reported by:	Bjoern Koenig <bkoenig@alpha-tierchen.de> [1]
2011-04-27 11:22:15 +00:00
Gerald Pfeifer
cdb77a0830 Update to the 20110416 alpha snapshot of GCC 4.7.0. 2011-04-17 00:45:24 +00:00
Gerald Pfeifer
4faf4b9282 Update to the 20110409 alpha snapshot of GCC 4.6.0. 2011-04-15 18:16:05 +00:00
Gerald Pfeifer
006aaf4da5 Update to the 20110326 snapshot of GCC 4.7.0.
On SPARC the target CPU type may now be set via -mcpu instead of being
limited to the hardcoded equivalent of -mcpu=ultrasparc and TLS support
is enabled if available.
2011-03-27 13:22:18 +00:00
Gerald Pfeifer
dd2ef2ffea Add support for 32-bit powerpc.
Submitted by:	andreast
2011-03-23 00:26:29 +00:00
Gerald Pfeifer
b95e977b0d Welcome the GCC 4.7 series which at this point is just a few days after
the GCC 4.6 branch has been carved, thus quite similar to that.  Over
the next months this will see a lot of active and partially invasive
development.  Accordingly this port is for early exposure and not yet
production use.
2011-03-20 22:39:12 +00:00
Gerald Pfeifer
d2ad6064f7 Update to the 20110318 snapshot of GCC 4.6.0.
Make the full-regression-test target conditional on MAINTAINER_MODE. [1]

Reported by:	andreast, marius [1]
2011-03-19 14:50:55 +00:00