Compiling ports in a post-9.0-RELEASE world

Doug Barton dougb at
Sat Mar 12 22:00:44 UTC 2011


As many of you are no doubt already aware, much work has been undertaken 
to make clang the default compiler for the src tree starting with 
9.0-RELEASE. It is not 100% certain that this change will be made, but 
it's looking more likely every day.

This raises an interesting question for how to deal with compiling ports 
after 9.0 is released. So far there are 2 main ideas for how to deal 
with this:

1. Fix all ports to compile with both gcc 4.2 (for RELENG_[78]) and clang.
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.

Both options have pros and cons, but rather than front-load the 
conversation about them I'd like to throw open the topic for discussion 
and see what people think about these options, and whether someone has a 
better idea.



	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)

More information about the freebsd-ports mailing list