From owner-freebsd-x11@freebsd.org Mon Mar 7 10:10:00 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B6BEAC226A; Mon, 7 Mar 2016 10:10:00 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D64F5DF9; Mon, 7 Mar 2016 10:09:59 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from karviainen.kapsi.fi ([217.30.184.182] helo=roundcube.kapsi.fi) by mail.kapsi.fi with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1acs6p-0002ud-SU; Mon, 07 Mar 2016 12:09:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 07 Mar 2016 12:09:51 +0200 From: Arto Pekkanen To: Eax Melanhovich Cc: =?UTF-8?Q?Juan_Ram=C3=B3n_Molina_Menor?= , freebsd-x11@freebsd.org, owner-freebsd-x11@freebsd.org, =?UTF-8?Q?Jean?= =?UTF-8?Q?-S=C3=A9bastien_P=C3=A9dron?= In-Reply-To: <20160306181056.56fad8a8@fujitsu> References: <56D843EC.7000506@club-internet.fr> <20160306160743.6d73e1b7@fujitsu> <20160306181056.56fad8a8@fujitsu> Message-ID: X-Sender: isoa@kapsi.fi User-Agent: RoundCube Webmail/0.9.4 X-SA-Exim-Connect-IP: 217.30.184.182 X-SA-Exim-Mail-From: isoa@kapsi.fi X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 Subject: Re: Testing the new i915 driver (HD Graphics 4400 and G41 Express) X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mail.kapsi.fi) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2016 10:10:00 -0000 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 wrote: > >> Hello >> >> I'm having difficulties building b0b610b5: >> >> http://paste.ubuntu.com/15306796/ >> >> About a month ago everything was just fine. >> -- Arto Pekkanen