Date: Sun, 29 Sep 2013 20:34:21 +0200 From: Niclas Zeising <zeising@freebsd.org> To: "Sergey A. Osokin" <osa@FreeBSD.org> Cc: x11@freebsd.org Subject: Re: svn commit: r328711 - in head: . Mk astro/viking cad/pdnmesh cad/repsnapper deskutils/pinot devel/xorg-macros emulators/catapult emulators/qemu-devel emulators/tme games/klavaro games/sea-defender ... Message-ID: <524872AD.4060701@freebsd.org> In-Reply-To: <20130929182734.GF64678@FreeBSD.org> References: <201309291701.r8TH1gNv021817@svn.freebsd.org> <20130929175312.GE64678@FreeBSD.org> <52486A49.8040103@freebsd.org> <20130929182734.GF64678@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/29/13 20:27, Sergey A. Osokin wrote: > On Sun, Sep 29, 2013 at 07:58:33PM +0200, Niclas Zeising wrote: >> On 09/29/13 19:53, Sergey A. Osokin wrote: >>> I've got following error message on my FreeBSD 9.2-PRERELEASE when I've tried to build graphics/dri with >>> make command. Yes, I have removed libGL* and dri packages before. >>> >>> CC brw_eu_compact.lo >>> brw_eu_compact.c:44:4: error: invalid suffix "b00000000000000000" on integer constant > [skipped] >>> brw_eu_compact.c:320:4: error: invalid suffix "b010110001000" on integer constant >>> gmake[6]: *** [brw_eu_compact.lo] п·я┬п╦п╠п╨п╟ 1 >>> gmake[6]: п▓я▀я┘п╬п╢ п╦п╥ п╨п╟я┌п╟п╩п╬пЁп╟ `/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa/drivers/dri/i965' >>> gmake[5]: *** [all-recursive] п·я┬п╦п╠п╨п╟ 1 >>> gmake[5]: п▓я▀я┘п╬п╢ п╦п╥ п╨п╟я┌п╟п╩п╬пЁп╟ `/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa/drivers/dri' >>> gmake[4]: *** [all-recursive] п·я┬п╦п╠п╨п╟ 1 >>> gmake[4]: п▓я▀я┘п╬п╢ п╦п╥ п╨п╟я┌п╟п╩п╬пЁп╟ `/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa/drivers' >>> gmake[3]: *** [all-recursive] п·я┬п╦п╠п╨п╟ 1 >>> gmake[3]: п▓я▀я┘п╬п╢ п╦п╥ п╨п╟я┌п╟п╩п╬пЁп╟ `/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa' >>> gmake[2]: *** [all] п·я┬п╦п╠п╨п╟ 2 >>> gmake[2]: п▓я▀я┘п╬п╢ п╦п╥ п╨п╟я┌п╟п╩п╬пЁп╟ `/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa' >>> gmake[1]: *** [all-recursive] п·я┬п╦п╠п╨п╟ 1 >>> gmake[1]: п▓я▀я┘п╬п╢ п╦п╥ п╨п╟я┌п╟п╩п╬пЁп╟ `/usr/ports/graphics/dri/work/Mesa-9.1.6/src' >>> gmake: *** [all-recursive] п·я┬п╦п╠п╨п╟ 1 >>> *** [do-build] Error code 1 >>> >>> Stop in /usr/ports/graphics/dri. >>> >>> Any idea? >> >> >> This is because our ancient GCC can't handle integer constants expressed >> as binary. graphics/dri should depend on either clang or a newer gcc, >> I'll have to double check why it fails. > > Fixed with hardcoded > > CC= clang > CXX= clang++ > > in /etc/make.conf. > Yes, that should work. Interestingly, the port should do that already, have a look around line 22 of graphics/dri/Makefile. It could be that that check isn't completely working. Regards! -- Niclas Zeising
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?524872AD.4060701>