Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2011 06:00:09 -0500
From:      Mark Linimon <linimon@lonesome.com>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: Compiling ports in a post-9.0-RELEASE world
Message-ID:  <20110314110009.GB4465@lonesome.com>
In-Reply-To: <4D7BED01.6000506@FreeBSD.org>
References:  <4D7BED01.6000506@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 12, 2011 at 02:00:33PM -0800, Doug Barton wrote:
> 1. Fix all ports to compile with both gcc 4.2 (for RELENG_[78]) and clang.

I do not believe we have enough time before 9.0R to accomplish this;
especially as I understand that there is pressure within the src committer
community to simply "throw the switch".

> 2. Adopt an official "ports compiler," which would likely be one of
> the gcc versions from the ports tree itself, and update all ports to
> work with it.

I think this is our only reasonable alternative medium-term.

Let me add on to this discussion the attempts to do this so far.  (Note:
I have not worked on any of them; this is all just FYI).

  PR ports/155408 [PATCH] add support for USE_GCC_BUILD to bsd.port.mk

    IMHO, necessary but insufficient.

  http://wiki.freebsd.org/PortsAndClang

    A status report on a package run vs. the clang compiler.  Some of the
    data may be stale; updates are welcome.  This is probably the best
    place to start updating data.  fwiw, it includes a link to patches
    to not only various ports, but also the infrastructure:

      http://rainbow-runner.nl/clang/patches/

  http://wiki.freebsd.org/SOC2010AndriusMorkunas

    This was a Google Summer of Code project: "making ports work with
    clang".  I do not know the status of this project.

I hope that someone will update the wiki with the latest status on the
latter two projects.

mcl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110314110009.GB4465>