Re: -Current built with clang as default + ports

2012-11-21 Thread Mark Linimon
This is all good advice.  Note, however:

On Wed, Nov 14, 2012 at 10:59:49AM +0100, Dimitry Andric wrote:
 Of special interest are the results from the build cluster, where you
 can get a quick overview of which ports don't build, and how many other
 ports depend on them.

Unfortunately those web pages are offline right now and will not be
back online in the next few days.

mcl
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: -Current built with clang as default + ports

2012-11-21 Thread Steve Wills
On 11/13/12 18:51, AN wrote:
 Can anyone comment on current built with clang as default compiler and
 ports?  Are there any major problems, programs that don't run? 
 Specifically, I am interested in how Gnome and Xorg (Gnome and Xorg
 built with default system gcc) work on world built with clang.

I can't comment on Gnome, but I run current on my desktop and use KDE4.
I had to patch a few ports to build. Those patches have been sent in as PRs.

Overall, the switch to ports built with clang was amazingly uneventful.
So far, I haven't noticed anything that built but didn't work properly.

 I believe the work around for ports that don't build with clang is to
 put USE_GCC=4.7+ in the port makefile, is this correct?  Any comments
 would be appreciated, thanks in advance.

A good bit of fixing for clang has already been done. I was able to fix
pretty much everything I encountered that didn't build with clang, so
didn't have to set USE_GCC anywhere, but it's there as a last resort.

Of course, those are just my experiences, YMMV.

Steve

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: -Current built with clang as default + ports

2012-11-14 Thread Dimitry Andric

On 2012-11-14 00:51, AN wrote:

Can anyone comment on current built with clang as default compiler and
ports?  Are there any major problems, programs that don't run?


There are some ports that don't compile, and obviously there will be a
few that do compile, but fail to run correctly.  Diagnosing the causes
is always an interesting venture, you encounter the most diverse
problems.

See https://wiki.freebsd.org/PortsAndClang for an overview, though some
of the instructions are outdated, now clang is the default compiler.

Of special interest are the results from the build cluster, where you
can get a quick overview of which ports don't build, and how many other
ports depend on them.



Specifically, I am
interested in how Gnome and Xorg (Gnome and Xorg built with default
system gcc) work on world built with clang.


I don't use Gnome, but Xorg builds just fine with clang, and runs
without problems for me.  Regarding Gnome, and/or other big frameworks,
it is probably best to ask around on the freebsd-ports mailing list,
though.



I believe the work around for ports that don't build with clang is to put
USE_GCC=4.7+ in the port makefile, is this correct?  Any comments would be
appreciated, thanks in advance.


That depends, if the port is easy to fix (borked configure scripts are
VERY common), then just fix it.  Only if the port is extremely tightly
coupled to gcc, or even a very specific gcc version, then use USE_GCC.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


-Current built with clang as default + ports

2012-11-13 Thread AN
Can anyone comment on current built with clang as default compiler and 
ports?  Are there any major problems, programs that don't run?  Specifically, I am 
interested in how Gnome and Xorg (Gnome and Xorg built with default 
system gcc) work on world built with clang.



I believe the work around for ports that don't build with clang is to put 
USE_GCC=4.7+ in the port makefile, is this correct?  Any comments would be 
appreciated, thanks in advance.


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org