From owner-freebsd-current@FreeBSD.ORG Sat Apr 28 10:23:53 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A248F106566B; Sat, 28 Apr 2012 10:23:53 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 569F88FC08; Sat, 28 Apr 2012 10:23:53 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SO4XR-0005mM-Lm>; Sat, 28 Apr 2012 12:06:01 +0200 Received: from e178018189.adsl.alicedsl.de ([85.178.18.189] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SO4XR-0003IT-CG>; Sat, 28 Apr 2012 12:06:01 +0200 Message-ID: <4F9BC101.8090305@zedat.fu-berlin.de> Date: Sat, 28 Apr 2012 12:05:53 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120314 Thunderbird/10.0.3 MIME-Version: 1.0 To: Current FreeBSD , Ports FreeBSD X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig798FACFB13A706D012E5FD45" X-Originating-IP: 85.178.18.189 Cc: Subject: New Xorg: graphics/dri: fails to compile with CLANG: nouveau_array.c:49:16: error: illegal storage class on function, *extract_u = EXTRACT(char, unsigned, 1); X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2012 10:23:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig798FACFB13A706D012E5FD45 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Compiling Xorg stuff with the switch set in /etc/make.conf for the new Xorg graphics/dri mesa 7.11.x and xorg-server 1.10.6 with CLANG on bot FreeBSD 10 and 9 end up in an error: nouveau_array.c:49:16: error: illegal storage class on function *extract_u =3D EXTRACT(char, unsigned, 1); This error seem to be well known since last year, as this links states: http://lists.freedesktop.org/archives/nouveau/2011-December/009768.html and claimed to be resolved, as this link indicates: http://lists.freedesktop.org/archives/mesa-dev/2012-March/019815.html and http://cgit.freedesktop.org/mesa/mesa/commit/?id=3D4aa1ac5fe94b5696095229= ee3568bf4fa7cfed95 Is there in "official" way to get this fixed with CLANG? I see that files folder in graphics/dri is missing, so none of the fixes for both the faulty source files nouveau_array.c nouveau_render_t.c as indicated by the patches have been fixed permanently for CLANG with FreeBSD so far. It would be a pleasure having a "nice" solution using CLANG. I was looking for a switch allowing to patch the sources upon a criteria, but the ports framework seems not to be capable of such a thing. If there is already a solution I would be pleased to have it, too, if available, otherwise I will go for installation of GIT, sucking in the patches and create myself patchfiles. I'm hesitating to do so at the moment since I don't want to have git installed since I do not use it, yet (updating useless/unused ports is sometimes a waste of time on slow boxes, sorry). Thanks in advance, Oliver --------------enig798FACFB13A706D012E5FD45 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJPm8EHAAoJEOgBcD7A/5N8+YEH/1FokHuX4t2Q3+Ubis81l3+F X3TilfjYitxfgPHaDaf/+Zk2Nepu9CjqRgp59jdRj+iEuoL1kPn/Rukh/5/uyA7c eHqXrVelOSy1X0vd+5X7fXq9svgg7ErpurSPiCBSNGFNJJUov9/aL4Jx0Qu4SP/j JHGimgNA8WPodOfz1iXDLdSl5QPiMwub3BX41YegR/xO5l/rXGhvB+SMCWjLfj8z qh86DZ9D1jSQmfiqk6vFfrrqbFa2LnxV5rc6GNx2rp/SCRNYRlp9imsofr/z/pYq okChWINtGLvLuqhKwvS7cDvNAoa5wN4LHav6yCkHfNw1y2sSQ38URLXti/PbeSI= =L+Q7 -----END PGP SIGNATURE----- --------------enig798FACFB13A706D012E5FD45--