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 ...
Niclas Zeising
zeising at freebsd.org
Sun Sep 29 18:34:30 UTC 2013
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
More information about the freebsd-x11
mailing list