Skip to contentSkip to conversation

New: [R600g] Fail to build with r600-llvm-compiler enabled and opencl support disabled

Bug 59887 [email protected] 1 participant 3 messages Jan 26, 2013

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 59887
Assignee: [email protected]
Summary: [R600g] Fail to build with r600-llvm-compiler enabled
and opencl support disabled
Severity: blocker
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

http://cgit.freedesktop.org/mesa/mesa/commit/?id=264e6dad28e64755dc1580abdbb4e339c3439883

introduce the regression:

make[4]: Entering directory `/build/src/mesa-git/src/gallium/drivers/r600'
CC r600_asm.lo
In file included from r600_pipe.h:33:0,

                 from r600_formats.h:5,
                 from r600_asm.c:25:

r600_llvm.h:7:25: fatal error: radeon_llvm.h: No such file or directory compilation terminated.
make[4]: *** [r600_asm.lo] Error 1
make[4]: Leaving directory `/build/src/mesa-git/src/gallium/drivers/r600' make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/src/mesa-git/src/gallium/drivers' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/src/mesa-git/src/gallium' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/mesa-git/src'
make: *** [all-recursive] Error 1

because USE_R600_LLVM_COMPILER is defined, not HAVE_GALLIUM_COMPUTE

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 59887] [R600g] Fail to build with r600-llvm-compiler enabled and opencl support disabled

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

--- Comment #1 from Laurent carlier <[email protected]> --- Created attachment 73669
--> https://bugs.freedesktop.org/attachment.cgi?id=73669&action=edit
Possible fix

Patch fix the problem but now:

make[3]: Leaving directory `/build/src/mesa-git/src/gallium/targets/dri-vmwgfx' Making all in egl-static
make[3]: Entering directory `/build/src/mesa-git/src/gallium/targets/egl-static'

  CC       egl.lo
  CC       egl_pipe.lo
  CC       egl_st.lo
  CXXLD    egl_gallium.la

../../../../src/gallium/drivers/r600/.libs/libr600.a(llvm_wrapper.o): In function `llvm_parse_bitcode':
llvm_wrapper.cpp:(.text+0x10e): undefined reference to `llvm::ParseAssembly(llvm::MemoryBuffer*, llvm::Module*, llvm::SMDiagnostic&, llvm::LLVMContext&)'
llvm_wrapper.cpp:(.text+0x1eb): undefined reference to `llvm::ParseBitcodeFile(llvm::MemoryBuffer*, llvm::LLVMContext&, std::string*)'
collect2: error: ld returned 1 exit status
make[3]: *** [egl_gallium.la] Error 1
make[3]: Leaving directory `/build/src/mesa-git/src/gallium/targets/egl-static' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/src/mesa-git/src/gallium/targets' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/mesa-git/src'
make: *** [all-recursive] Error 1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 59887] [R600g] Fail to build with r600-llvm-compiler enabled and opencl support disabled

In reply to [email protected]

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

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Tom Stellard <[email protected]> ---

*** This bug has been marked as a duplicate of bug 59877 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel