From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 62226] New: Build Fails with LLVM Date: Tue, 12 Mar 2013 12:40:28 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1233234833==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 01BA2E6619 for ; Tue, 12 Mar 2013 05:40:28 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1233234833== Content-Type: multipart/alternative; boundary="1363092029.e5E2D1d50.21297"; charset="us-ascii" --1363092029.e5E2D1d50.21297 Date: Tue, 12 Mar 2013 12:40:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=62226 Priority: medium Bug ID: 62226 Assignee: dri-devel@lists.freedesktop.org Summary: Build Fails with LLVM Severity: normal Classification: Unclassified OS: All Reporter: serkan@hosca.com Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa Created attachment 76398 --> https://bugs.freedesktop.org/attachment.cgi?id=76398&action=edit build log llvm is from git mirror as of git-svn-id https://llvm.org/svn/llvm-project/llvm/trunk@176858 and mesa is as of 6173cc19 The build config is: ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \ --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \ --enable-gallium-llvm \ --enable-egl \ --enable-gallium-egl \ --with-egl-platforms=drm,x11,wayland \ --enable-shared-glapi \ --enable-gbm \ --enable-glx-tls \ --enable-dri \ --enable-glx \ --enable-osmesa \ --enable-gles1 \ --enable-gles2 \ --enable-texture-float \ --enable-xa \ --enable-xvmc \ --enable-vdpau \ --with-llvm-shared-libs \ --enable-r600-llvm-compiler and the failure is: ../../../../src/gallium/drivers/r600/.libs/libr600.a(r600_llvm.o): In function `r600_tgsi_llvm': r600_llvm.c:(.text+0x15ff): undefined reference to `radeon_llvm_create_func' ../../../../src/gallium/drivers/radeonsi/.libs/libradeonsi.a(radeonsi_shader.o): In function `si_pipe_shader_create': radeonsi_shader.c:(.text+0x1dc6): undefined reference to `radeon_llvm_create_func' radeonsi_shader.c:(.text+0x1ddd): undefined reference to `radeon_llvm_shader_type' radeonsi_shader.c:(.text+0x200d): undefined reference to `radeon_llvm_create_func' collect2: error: ld returned 1 exit status libtool: install: error: relink `egl_gallium.la' with the above command before installing it make[4]: *** [install-eglLTLIBRARIES] Error 1 make[4]: Leaving directory `/home/serkan/tmp/mesa-git/src/mesa/src/gallium/targets/egl-static' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/serkan/tmp/mesa-git/src/mesa/src/gallium/targets/egl-static' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/serkan/tmp/mesa-git/src/mesa/src/gallium/targets' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/serkan/tmp/mesa-git/src/mesa/src' make: *** [install-recursive] Error 1 attached is the full build log. The error happens in make install -- You are receiving this mail because: You are the assignee for the bug. --1363092029.e5E2D1d50.21297 Date: Tue, 12 Mar 2013 12:40:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 62226
Assignee dri-devel@lists.freedesktop.org
Summary Build Fails with LLVM
Severity normal
Classification Unclassified
OS All
Reporter serkan@hosca.com
Hardware Other
Status NEW
Version git
Component Drivers/Gallium/r600
Product Mesa

Created attachment 76398 [details]
build log

llvm is from git mirror as of git-svn-id
https://llvm.org/svn/llvm-project/llvm/trunk@176858

and mesa is as of 6173cc19

The build config is:
  ./autogen.sh \
    --prefix=/usr \
    --sysconfdir=/etc \
    --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
    --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
    --enable-gallium-llvm \
    --enable-egl \
    --enable-gallium-egl \
    --with-egl-platforms=drm,x11,wayland \
    --enable-shared-glapi \
    --enable-gbm \
    --enable-glx-tls \
    --enable-dri \
    --enable-glx \
    --enable-osmesa \
    --enable-gles1 \
    --enable-gles2 \
    --enable-texture-float \
    --enable-xa \
    --enable-xvmc \
    --enable-vdpau \
    --with-llvm-shared-libs \
    --enable-r600-llvm-compiler

and the failure is:
../../../../src/gallium/drivers/r600/.libs/libr600.a(r600_llvm.o): In function
`r600_tgsi_llvm':
r600_llvm.c:(.text+0x15ff): undefined reference to `radeon_llvm_create_func'
../../../../src/gallium/drivers/radeonsi/.libs/libradeonsi.a(radeonsi_shader.o):
In function `si_pipe_shader_create':
radeonsi_shader.c:(.text+0x1dc6): undefined reference to
`radeon_llvm_create_func'
radeonsi_shader.c:(.text+0x1ddd): undefined reference to
`radeon_llvm_shader_type'
radeonsi_shader.c:(.text+0x200d): undefined reference to
`radeon_llvm_create_func'
collect2: error: ld returned 1 exit status
libtool: install: error: relink `egl_gallium.la' with the above command before
installing it
make[4]: *** [install-eglLTLIBRARIES] Error 1
make[4]: Leaving directory
`/home/serkan/tmp/mesa-git/src/mesa/src/gallium/targets/egl-static'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/home/serkan/tmp/mesa-git/src/mesa/src/gallium/targets/egl-static'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/serkan/tmp/mesa-git/src/mesa/src/gallium/targets'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/serkan/tmp/mesa-git/src/mesa/src'
make: *** [install-recursive] Error 1

attached is the full build log. The error happens in make install


You are receiving this mail because:
  • You are the assignee for the bug.
--1363092029.e5E2D1d50.21297-- --===============1233234833== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1233234833==--