Testing the new i915 driver (HD Graphics 4400 and G41 Express)

Arto Pekkanen isoa at kapsi.fi
Mon Mar 7 10:10:00 UTC 2016


Yeah, the new HEAD codebase assumes a newer version of Clang from HEAD, 
which is kinda silly.

I mean, the only reason the new Clang is needed is because of this one 
specific warning option in the bxe module -.-

You'd think you could solve this by doing make kernel-toolchain or make 
buildworld (to get a system compiler from the HEAD world), but no: both 
targets fails because the header "yacc.h" cannot be found!

In short: head cannot be upgraded into release system without a 3rd 
party Clang installation.

I've heard rumors that this was fixed in a later HEAD revision, but I am 
not sure which ... and this info would not help me anyway, since I am 
not proficient enough to merge HEAD into the branch.

Eax Melanhovich kirjoitti 06.03.2016 17:10:
> Ok, I managed to build a kernel using these /etc/make.conf:
> 
> ```
> CC=/usr/local/bin/clang37
> CXX=/usr/local/bin/clang++37
> CPP=/usr/local/bin/clang-cpp37
> 
> CPUTYPE?=native
> CFLAGS+=-O2 -pipe
> CXXFLAGS+=-O2 -pipe
> ```
> 
> ... and /etc/src.conf:
> 
> ```
> CPUTYPE?=native
> CFLAGS+=-O2 -pipe
> COPTFLAGS+=-O2 -pipe
> ```
> 
> I experimented with OpenGL, WebGL and video on YouTube for half an hour
> already and I didn't manage to freeze X server or to crash a kernel.
> This is on Toshiba Portege Z930-DKS and Intel HD Graphics 4000.
> 
> I let you know if I discover any issue. So far except clang 3.4 related
> problem b0b610b5 looks pretty stable to me.
> 
> On Sun, 6 Mar 2016 16:07:43 +0300
> Eax Melanhovich <afiskon at devzen.ru> wrote:
> 
>> Hello
>> 
>> I'm having difficulties building b0b610b5:
>> 
>> http://paste.ubuntu.com/15306796/
>> 
>> About a month ago everything was just fine.
>> 

-- 
Arto Pekkanen


More information about the freebsd-x11 mailing list