On Fri, Jun 21, 2013 at 10:50:42AM +0200, Landry Breuil wrote:
> On Fri, Jun 21, 2013 at 10:20:01AM +0200, Mark Kettenis wrote:
> > > Date: Fri, 21 Jun 2013 17:31:39 +1000
> > > From: Jonathan Gray <[email protected]>
> > > 
> > > Both gcc and clang have an extension for binary integer constants.
> > > In gcc's case this has been around since 4.3.
> > > 
> > > The mesa backend for newer intel parts (i965) assumes this extension
> > > is present in recent versions.
> > 
> > Sigh...  Can't these people just write portable C?
> > 
> > > Below is a diff to add support for this to our in tree gcc4.  While the
> > > i965 backend is only built on gcc4 archs the concern is that abuse
> > > of this extension in ports or other places may make gcc3/gcc2 archs
> > > worse off unless similiar patches can be done...
> > 
> > Well, lots of ports stuff is compiled with newer gcc versions anyway.
> 
> Actually, not so many:
> 
> $echo "select count(*) from modules where value='gcc4';" | 
> sqlite3/usr/local/share/sqlports 
> 34
> 
> And if you rip out all the subpackages, the actual list is:
> 
> audio/mscore
> editors/libreoffice
> lang/classpath
> lang/luajit
> net/rtorrent
> print/cups-filters
> textproc/pdftk
> www/mozilla-firefox
> www/seamonkey
> www/squid

Oh and of course as soon as we enable webkit2 api, www/webkit will also need
recent gcc/clang for c++11 stuff. And mail/mozilla-thunderbird too in 3
months when the 24 branch is released.

Landry

Reply via email to