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

--- Comment #2 from charlie <bug0xa...@hushmail.com> ---
>Which version of mesa is this ? Is this a regression ?

mesa git and probably a regression.

>I'm assuming that you have some thing that is messing with CFLAGS.

I don't believe the CFLAGS have changed since I last successfully built mesa
with them.

export CFLAGS="-m${LIBDIRSUFFIX} -O3 -march=native -pipe"
export CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
export CPPFLAGS="${CXXLAGS} -I${XBUILD}/include
-L${XBUILD}/lib${LIBDIRSUFFIX}:${XBUILD}/lib:/usr/lib${LIBDIRSUFFIX}"

I disabled the CFLAGS/CXXFLAGS/CPPFLAGS variables and mesa built successfully.

>Missing ${XBUILD} ? Might be worth dropping this one as well.

Not missing--it is a variable pointing to the installation directory.

>These seem like libdrm configure flags. Not sure what are they doing here.
>What are these doing here ?

The above statements suggest you never used
http://cgit.freedesktop.org/xorg/util/modular/plain/build.sh to build all of X.
 I assume you are compiling mesa by hand or are on another platform.

>Please avoid setting these if they are identical.  IIRC there was a bug 
>(automake/autoconf) that was incorrectly setting the cross-compile variable.

Thanks for the heads up.  Unsetting build/host/target has no effect on the
building bug.

My conclusion is that something changed in the mesa code that will not allow me
to use my old CFLAGS/CXXFLAGS/CPPFLAGS.

It might take me a while to figure out where in git the change effects the
build.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to