[Nouveau] [Bug 35609] Mesa DRI fails to build for nouveau

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 23 18:57:22 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35609

--- Comment #2 from jordan.yelloz+fdo at gmail.com 2011-03-23 18:57:22 PDT ---
(In reply to comment #1)
> Hm, this doesn't make much sense to me. Did you remember to run "autogen.sh"
> and "configure" after that commit?

Well, in general I build it using Gentoo Portage and that does autoreconf
(http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=blob;f=media-libs/mesa/mesa-9999.ebuild;h=bd4d163649427051aec4b9c771b671503b7f695c;hb=HEAD#l155)
on a clean git export every time a build is attempted and that is where I first
experienced this.

I then cloned my own copy of mesa and ran all of the autotools (autogen.sh and
configure with the previously stated options) and I was able to reproduce the
issue.

The problem I see is that src/mesa/drivers/dri/nouveau/Makefile modifies CFLAGS
but it includes ../Makefile.template .
I'm not very experienced with make but it looks like that commit
(d1e28b22673777fe1290cda899abf73aad02e4aa) redefined compiling C files without
respecting the CFLAGS, instead using the new DRI_CFLAGS (see
src/mesa/drivers/dri/Makefile.template:39).
This change seems to make src/mesa/drivers/dri/nouveau/Makefile:6 useless with
regard to compiling each source file in the nouveau directory since libdrm' and
libdrm_nouveau's includes directories are not searched anymore.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list