GCC, the GNU Compiler Collection, supports a number of languages. This
port installs the C and C++ front ends as gcc42 and g++42, respectively.
WWW: http://gcc.gnu.org/
Gerald Pfeifer <gerald@FreeBSD.org>
Bye, bye lang/gcc42 aka GCC 4.2. As a port you have served us well,
but six-and-a-half years after the upstream release of GCC 4.2.0 and
exactly two years after the removal of lang/gcc45 the time has come.
This reduces package name collisions around GCC related ports by 12.5%. [1]
Reported by: bapt [1]
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
(Only the first 15 lines of the commit message are shown above )
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
Work around a bug in libcpp that pulls in the optional system iconv
if present (even if the libiconv port is present) and fails using that.
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.
libstdc++ does not seem to require adjustments, so PR 161417 may not
be relevant in full.
PR: 161417
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)
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
Force numerous ports that fail to build with clang over to instead always
rely on gcc. The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.
The ports chosen were ports that blocked 2 or more ports from building with
clang. (There are several hundred other ports that still fail to build with
clang, even with this patch. This is merely one step along the way.)
Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.
For those who have gcc as their default compiler, this change is believed
to cause no change.
Hat: portmgr
Tested with: multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
combinations of patch/no-patch and flag settings.
Just build, do not bootstrap, this version of GCC in our ports tree.
This speeds up a full port/package test cycle by 50% on a 4-core
system; a simple build/install will benefit even more.
On the way, have he compiler report itself as "FreeBSD Ports Collection".
Deprecate lang/gcc42 in favor of lang/gcc46 which has been the default
for USE_GCC=X.Y+ for a while with an expiration date of 2012-04-18.
Feature safe: yes
Remove the lang/gcc42 port (GCC 4.2) which does not have any user in
the tree any more and has been obsoleted by several newer versions of
GCC -- ones that actually build on FreeBSD 10.x out of the box and
provide better support for newer CPUs, better optimizations overall,
and more advanced language support.
GCC 4.6 aka lang/gcc or lang/gcc46 is the new default version of GCC
in ports.
The system compiler version of GCC 4.2 is still available up to and
including FreeBSD 9.x and users of USE_GCC=4.2+ will be transparently
redirected to lang/gcc if, or rather when, this changes.
PR: 163103
Feature safe: yes
Fix the post-patch target to properly report this as a FreeBSD Ports
Collection variant of GCC. [1]
Strip down distinfo on the way.
Reported by: Bjoern Koenig <bkoenig@alpha-tierchen.de> [1]
Remove support for the Java frontend. The purpose of this port at this
point is only to support FreeBSD 6.x systems who have an older system
compiler than FreeBSD 7 and beyond.
Force the use of system as and ld. This makes building and using this
port consistent across installations and avoids confusing error modes
for users who may have others flavors of these tools earlier in PATH.
On the way, sort CONFIGURE_ARGS.
Triggered by: glarkin
- Moved fetching of ecj.jar from the post-patch target using the
contrib/download_ecj script to the fetch phase using extra MASTER_SITES
and DISTFILES. Pointyhat does not allow fetching outside of the
fetch phase, and the size and checksums of ecj.jar need to be recorded
in distinfo.
Reported by: pointyhat (pav)
Approved by: gerald (via private email)
- Re-enabled the Java (gcj) frontend to support print/pdftk
- Added support for gcj on amd64
- Added call to contrib/download_ecj so gcj executable doesn't die with
a "file not found" error after it's built
Submitted by: glarkin
Approved by: gerald (via email)
Remove support for the Java frontend and library where users are better
served using GCC 4.4 or later. This makes this port a whole lot cheaper
and also allows us to remove the (somewhat bogus) check for lang/gcc295
as well as WANT_GNOME.
No longer download Objective-C related files which we don't actually use.
Set MAINTAINER unconditionally.
Move the snapshot date from PORTREVISION to being a part of PORTVERSION
to allow for PORTREVISION bumps.
Simplify pre-everything and adjust PLIST_SUB accordingly.
Extract SUFFIX from PORTVERSION. Use SUFFIX for TARGLIB (and thus for
the library path used by this port). Also use SUFFIX for the libexec
directory instead of the full port version and flatten the directory
structure and simplify the logic along the way.
Move VERSIONSTRING down to pacify portlint after all those years and
extract it from PORTVERSION, too.
Make the determination of CONFIGURE_SCRIPT more robust.
Address a long term FIXME related to older versions of FreeBSD by
removing NOMANCOMPRESS=yes.
Adjust Makefile header; nothing really left from the original.
Update to the 20090325 snapshot of GCC 4.2.5 which should conclude
this GCC branch (I disabled further snapshots upstream).
Set MAKE_JOBS_SAFE to allow for parallel builds.
Update to the 20090311 snapshot of GCC 4.2.5.
Remove obsolete code to create (empty) man pages in case regular man
pages cannot be created. This catches four dummy man pages we are now
able to remove: grepjar42, jar42, rmic42, and rmiregistry42.
Set PORTNAME, COMMENT, and LATEST_LINK unconditionally as opposed to
using ?=.
Add powerpc to NOT_FOR_ARCHS. [1]
No longer include the Fortran frontend. This version has been super-
seded by later ports, and the main purpose of lang/gcc42 is being on
par with the GCC 4.2-based system compiler recent versions of FreeBSD
feature.
Remove gcc-testsuite from DISTFILES, along with the post-build and
check targets. This reduces disk and bandwidth consumptions for a
feature (apparently) never used.
PR: 130964 [1]
Replace CONFLICTS=gcc-2.95.*, which actually is too late to prevent
us running into build problems, by an earlier check (pre-extract).
Suggested by: pav
Remove alpha from NOT_FOR_ARCHS based on a report and request by
Anton Shterenlikht <mexas@bristol.ac.uk> and no objections from
the freebsd-alpha@ list.
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
Move everything related to the WITH_JAVA_AWT knob into a single block
and make this a subset of the general Java-specific section.[1]
Submitted by: alepulver[1]
Update to the 20070214 snapshot of GCC 4.2.0.
This has a patch of mine to account for the removal of /usr/bin/objformat
on 7-CURRENT and defaults to elf instead of aout in this case.
Update to the 20070207 snapshot of GCC 4.2.0.
Properly set INFO for those cases where we actually do not build libgomp,
and thus not libgomp.info either.
Update to the 20070131 snapshot of GCC 4.2.0.
Move ia64 to NOT_FOR_ARCHS from BROKEN, like we did with lang/gcc43.
Remove the cklatest target and files/patch-gengtype-yacc.y.
Always build with JAR=no to avoid locating an already installed copy of jar
and thus not laying down our own in $PREFIX/bin/jar42.
Update to the 20070124 snapshot of GCC 4.2.0 on the way.
PR: 108174
Debugged with: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Tested by: Stephen Montgomery-Smith <stephen@math.missouri.edu>, db
Update to the 20070102 snapshot of GCC 4.2.0.
On the way, make building Fortran the (unconditional) default now.
This adds new dependencies on math/libgmp4 and math/mpfr which are
always required by lang/gcc43 and later anyways, though.
Update to the 20070102 snapshot of GCC 4.2.0.
On the way, make building Fortran the (unconditional) default now.
This adds new dependencies on math/libgmp4 and math/mpfr which are
always required by lang/gcc43 and later anyways, though.
Update lang/gcc42 to the 20061014 snapshot of GCC 4.2.0, which appends a
version number to libdata/pkgconfig/libgcj.pc. Fix packaging on amd64
on the way (enabling Java actually was a noop, except for pkg-plist).
Update lang/gcc41 to the 20061013 snapshot of GCC 4.1.2.
These changes allow us to remove the CONFLICT between lang/gcc41 and
lang/gcc42 when building with Java support (the default on i386).
Approved by: portmgr (erwin)
Update to the 20060915 of GCC 4.1.2. This fixes the namespace pollution
caused by include/ffi.h.
Enable libgcj on amd64 in addition to i386.
Remove the hack we had used to rename man pages to match the actual
names of binaries (back when GCCs configure mechanism failed to do so).
Update to the 20060906 snapshot of GCC 4.2.0. This is getting pretty close
to the start of the GCC 4.2 release branch, and removes another namespace
pollution issue.
Number of commits found: 146 (showing only 100 on this page)