[Mesa-dev] [Bug 79230] After upgrade from 10.1.4 to 10.2-rc4 cross-compile fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 30 14:30:55 PDT 2014


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

--- Comment #6 from Emil Velikov <emil.l.velikov at gmail.com> ---
A couple of distinct issues here (rather unrelated):

1: Missing gl* declarations as posted originally. Most likely a duplicate of
bug 79294. Should be addressed with
http://patchwork.freedesktop.org/patch/26907/

2: Complete bogus build setup :\

(In reply to comment #5)
> 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:
> 
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.

> My configure options look following:
> 
> CONFIGURE_ARGS = $(DIRPATHS) --build=$(GARBUILD) --host=$(GARHOST) \
>      --x-includes="$(DESTDIR)$(includedir)" \
>      --x-libraries="$(DESTDIR)$(libdir)" \
Those two have been used for a while. Drop them.

>      --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" \
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.

>      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)"
> 
Fix PKG_CONFIG_PATH and drop the above.

> Includes issue is solvable - show stopper for me is libvdpau_r600 
> linking issue :-(
> 
Should be resolved once PKG_CONFIG_PATH is fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140530/e1727703/attachment-0001.html>


More information about the mesa-dev mailing list