Commit graph

614 commits

Author SHA1 Message Date
Gerald Pfeifer
cc59ec0739 Update to the 20131026 snapshot of GCC 4.7.4.
Remove a (long) obsolete dependency on bison. [1]

Migrate to the new LIB_DEPENDS standard.

STAGEify.

Reported by:	marino [1]
2013-10-27 21:49:56 +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
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
9f48528e6e Convert to new perl framework
Convert from USE_GMAKE to USES=gmake
2013-09-17 06:51:04 +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
f4ecd3423a Update to the 20130831 snapshot of GCC 4.7.4.
Work around a bug in libcpp that pulls in the optional system iconv
if present instead of relying on the port we actually depend on. [1]

The issue is that /usr/include/iconv.h has #include <stdbool.h> which
in turn, since both are included very late in the game, conflicts with
similar definintions by libcpp itself.

Interestingly enough, lang/gcc46 and lang/gcc48 did not fail under the
same test scenarios and libstdc++ does not seem to require adjustments,
so PR 161417 may not be relevant in full.

PR:		161417 [1]
2013-09-04 16:54:13 +00:00
Gerald Pfeifer
a6c44cfa9c Replace USE_GMAKE by USES=gmake.
Update to the 20130817 snapshot of GCC 4.7.4.
2013-08-18 09:19:29 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Gerald Pfeifer
de7fed42b4 Update to the 20130810 snapshot of GCC 4.7.4.
Rename VERSIONSTRING to the standard DISTVERSION. [1]

Add more notes on the various variables carrying version information.

Suggested by:	crees [1]
~
2013-08-11 12:02:10 +00:00
Gerald Pfeifer
93aaf15fa2 Update to the 20130803 snapshot of GCC 4.7.4. 2013-08-04 19:59:53 +00:00
Gerald Pfeifer
2037588235 Update to the 20130706 snapshot of GCC 4.7.4. 2013-07-07 19:25:51 +00:00
Gerald Pfeifer
7f513a07e9 Update to the 20130518 snapshot of GCC 4.7.4.
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.
2013-06-02 01:17:49 +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
4b01b06283 Update to the 20130413 snapshot of GCC 4.7.4. This encompasses all
those fixes in the GCC 4.7.3 release.

Feature safe:	yes
2013-04-19 17:37:13 +00:00
Gerald Pfeifer
64808829b3 Update to the 20130323 snapshot of GCC 4.7.3. 2013-03-24 12:26:49 +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
db9343fd24 Update to the 20130302 snapshot of GCC 4.7.3. This should now also
build with texinfo 5.0 more or less.
2013-03-03 14:19:08 +00:00
Gerald Pfeifer
43b7459981 Replace the use of DISTFILES by DISTNAME, since we are now down to
one in all cases.

On the way, update to the 20130216 snapshot of GCC 4.7.3.
2013-02-17 14:22:56 +00:00
Gerald Pfeifer
5ca04fcdfb Update to the 20130202 snapshot of 4.7.3. 2013-02-09 15:37:54 +00:00
Gerald Pfeifer
fd4f741776 Remove stray entry from packaging list.
Reported by:	Paul Reynold <preynold@redcom.com>
2013-01-25 20:40:46 +00:00
Gerald Pfeifer
cfa2046814 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 20130119 snapshot of GCC 4.7.3.

PR:		175072 [1]
2013-01-20 22:32:38 +00:00
Gerald Pfeifer
dc15a356ea Update to the 20121208 snapshot of GCC 4.7.3. 2012-12-12 19:17:37 +00:00
Gerald Pfeifer
c054a606c0 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 20121124 snapshot of 4.7.3.

Feature safe:	yes
2012-12-02 14:44:13 +00:00
Gerald Pfeifer
e3ef08eb37 Update to the 20121103 snapshot of GCC 4.7.3.
Feature safe:	yes
2012-11-04 21:48:37 +00:00
Gerald Pfeifer
ad4450acf9 Update to the 20121027 snapshot of GCC 4.7.3.
Feature safe:	yes
2012-11-01 22:32:01 +00:00
Gerald Pfeifer
39c2059092 Forward port inclusion and use of the Eclipse Java compiler. [1]
Update to the 20121013 snapshot of GCC 4.7.3.

Submitted by:	jkim [1]
Feature safe:	yes
2012-10-21 18:21:18 +00:00
Gerald Pfeifer
8fbf5398c1 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 20120929 snapshot of GCC 4.7.3.

Submitted by:	jkim [1]
2012-09-30 12:27:33 +00:00
Gerald Pfeifer
07ebde802e Update to the 20120922 snapshot of GCC 4.7.3, which is pretty close
to the GCC 4.7.2 release.  It also fixes an ABI problem introduced
with earlier GCC 4.7 releases.

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-28 14:15:51 +00:00
Gerald Pfeifer
a14b57b774 Update to the 20120908 snapshot of GCC 4.7.2. 2012-09-09 18:36:39 +00:00
Gerald Pfeifer
e399a9f1af Update to the 20120825 snapshot of GCC 4.7.2. 2012-08-26 00:40:13 +00:00
Gerald Pfeifer
b1872fb339 Update to the 20120818 snapshot of GCC 4.7.2. 2012-08-21 21:01:21 +00:00
Gerald Pfeifer
7f91a85774 Update to the 20120804 snapshot of GCC 4.7.2. 2012-08-05 15:41:15 +00:00
Gerald Pfeifer
449f804913 Convert to the new options framework.
On the way update to the 20120728 snapshot of GCC 4.7.2.
2012-07-30 14:39:58 +00:00
Gerald Pfeifer
18e5bb668a Update to the 20120721 snapshot of GCC 4.7.2.
Remove ABI version numbers for all library dependencies.
2012-07-25 08:47:55 +00:00
Gerald Pfeifer
126db86dfe Update to the 20120714 snapshot of GCC 4.7.2. 2012-07-15 23:54:52 +00:00
Gerald Pfeifer
860a3efb69 Update to the 20120707 snapshot of GCC 4.7.2. 2012-07-11 05:28:26 +00:00
Gerald Pfeifer
23f1145703 Update to the 20120630 snapshot of GCC 4.7.2. 2012-07-03 09:49:20 +00:00
Gerald Pfeifer
3e789ffe9e Update to the 20120616 snapshot of GCC 4.7.2, very close to the GCC 4.7.1
release.

Fix a portlint warning (tab vs space).
2012-06-19 22:50:45 +00:00
Andreas Tobler
e3d4cd154f Add powerpc64 support.
Approved by:	gerald
2012-06-16 04:36:47 +00:00
Gerald Pfeifer
7f22b9fc40 Update to the 20120609 snapshot of GCC 4.7.1. 2012-06-10 21:21:09 +00:00
Gerald Pfeifer
3a3edb9fdc Update to the 20120602 snapshot of GCC 4.7.1. 2012-06-04 13:35:32 +00:00
Gerald Pfeifer
5ab7d00220 Update to the 20120526 snapshot of GCC 4.7.1. 2012-05-28 10:57:44 +00:00
Gerald Pfeifer
97776a9562 Update to the 20120512 snapshot of GCC 4.7.1. 2012-05-16 22:54:08 +00:00
Gerald Pfeifer
155dee0f90 Update to the 20120505 snapshot of GCC 4.7.1. 2012-05-08 04:11:56 +00:00
Gerald Pfeifer
d2db583235 Update to the 20120428 snapshot of GCC 4.7.1. 2012-05-01 01:08:28 +00:00
Gerald Pfeifer
8ff1f4a992 Update to the 20120414 snapshot of GCC 4.7.1. 2012-04-15 22:33:12 +00:00
Gerald Pfeifer
061d7f066d Update to the 20120407 snapshot of GCC 4.7.1.
Feature safe:	yes
2012-04-08 00:08:07 +00:00
Gerald Pfeifer
54945408c9 Update to the 20120324 snapshot of GCC 4.7.1.
Feature safe:	yes
2012-04-03 22:13:15 +00:00