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 _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"