On 2013/06/21 10:50, 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:
It's even less than this for many arch. needed for newer C++ support: > editors/libreoffice > www/mozilla-firefox > www/seamonkey > print/cups-filters needed for java: > lang/classpath > textproc/pdftk (CPPFLAGS is a bit dubious in pdftk). the rest are probably due to bugs: only for powerpc: > www/squid > lang/luajit only for sparc64: > net/rtorrent "ICE with base gcc" (lacking info about arch etc) > audio/mscore
