<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - After upgrade from 10.1.4 to 10.2-rc4 cross-compile fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79230#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - After upgrade from 10.1.4 to 10.2-rc4 cross-compile fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79230">bug 79230</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>A couple of distinct issues here (rather unrelated):
1: Missing gl* declarations as posted originally. Most likely a duplicate of
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - Xlib-based build broken on non x86/x86-64 architectures"
href="show_bug.cgi?id=79294">bug 79294</a>. Should be addressed with
<a href="http://patchwork.freedesktop.org/patch/26907/">http://patchwork.freedesktop.org/patch/26907/</a>
2: Complete bogus build setup :\
(In reply to <a href="show_bug.cgi?id=79230#c5">comment #5</a>)
<span class="quote">> That was my suspect. But 2 things are worth to mention:
> -exactly the same environment builds OK with 10.1.4
> -I verified pkgconfig.pc for libdrm_radeon:
> </span >
Indeed mesa's build has been rather buggy and/or allowed many bad things to be
done, although I've been trying to address this recently.
<span class="quote">> My configure options look following:
>
> CONFIGURE_ARGS = $(DIRPATHS) --build=$(GARBUILD) --host=$(GARHOST) \
> --x-includes="$(DESTDIR)$(includedir)" \
> --x-libraries="$(DESTDIR)$(libdir)" \</span >
Those two have been used for a while. Drop them.
<span class="quote">> --disable-silent-rules \
> $(if $(filter i386 , $(GARCH_FAMILY)),--enable-32-bit) \
> $(if $(filter x86_64, $(GARCH_FAMILY)),--enable-64-bit) \
> --disable-static \
> --enable-shared \
> --disable-debug \
> --disable-mangling \
> --disable-texture-float \
> --enable-asm \
> --disable-selinux \
> --enable-opengl \
> --disable-gles1 \
> --disable-gles2 \
> --disable-openvg \
> --enable-dri \
> --enable-glx \
> --disable-osmesa \
> --disable-gallium-osmesa \
> --disable-egl \
> --enable-xa \
> --disable-gbm \
> --disable-xvmc \
> --enable-vdpau \
> --disable-opencl \
> --disable-opencl-icd \
> --disable-xlib-glx \
> --disable-gallium-egl \
> --disable-gallium-gbm \
> --disable-r600-llvm-compiler \
> --disable-gallium-tests \
> --disable-shared-glapi \
> --disable-dri3 \
> --enable-driglx-direct \
> --disable-glx-tls \
> --enable-gallium-llvm \
> --with-llvm-shared-libs \
> --with-gallium-drivers="i915,r300,r600,radeonsi,svga,swrast" \
> --with-dri-driverdir="$(libdir)/dri" \
> --with-dri-drivers="i915,i965,r200,radeon,swrast" \
> --with-vdpau-libdir="$(libdir)/vdpau" \
> PKG_CONFIG_PATH="$(libdir)/pkgconfig" \</span >
Wrong. You should set the path to the location where the cross-build pc are
available. I.e. the location where the above libdrm_radeon.pc is stored.
<span class="quote">> LIBVA_CFLAGS="$(DESTDIR)$(includedir)" \
> LIBVA_LIBS="$(DESTDIR)$(libdir)" \
> LIBUDEV_CFLAGS="$(DESTDIR)$(includedir)" \
> LIBUDEV_LIBS="$(DESTDIR)$(libdir)" \
> RADEON_CFLAGS="$(DESTDIR)$(includedir)/libdrm" \
> RADEON_LIBS="$(DESTDIR)$(libdir)"
> </span >
Fix PKG_CONFIG_PATH and drop the above.
<span class="quote">> Includes issue is solvable - show stopper for me is libvdpau_r600
> linking issue :-(
> </span >
Should be resolved once PKG_CONFIG_PATH is fixed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>