All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 52136] New: Mesa fails to link r600_dri.so with LLVM
Date: Mon, 16 Jul 2012 14:06:18 +0000	[thread overview]
Message-ID: <bug-52136-502@http.bugs.freedesktop.org/> (raw)

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

             Bug #: 52136
           Summary: Mesa fails to link r600_dri.so with LLVM
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: niels_ole@salscheider-online.de


Created attachment 64258
  --> https://bugs.freedesktop.org/attachment.cgi?id=64258
Full build log

When I try to build Mesa, it fails with the following error:


make[3]: Entering directory
`/var/tmp/paludis/build/x11-dri-mesa-scm/work/C/64/mesa-scm/src/gallium/targets/dri-r600'
rm -f depend
touch depend
/usr/bin/makedepend -fdepend -I/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.1/include
-I/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.1/include-fixed -DGALLIUM_RBUG
-DGALLIUM_TRACE -DGALLIUM_NOOP -I. -I../../../../src/mesa/drivers/dri/common
-Iserver -I../../../../include -I../../../../include/GL/internal
-I../../../../src/mapi -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers
-I../../../../src/gallium/winsys -I../../../../src/mesa
-I../../../../src/mesa/main -I../../../../src/mesa/math
-I../../../../src/mesa/transform -I../../../../src/mesa/shader
-I../../../../src/mesa/swrast -I../../../../src/mesa/swrast_setup
-I../../../../src/egl/main -I../../../../src/egl/drivers/dri
-I/usr/include/libdrm    target.c
../../../../src/mesa/drivers/dri/common/utils.c
../../../../src/mesa/drivers/dri/common/dri_util.c
../../../../src/mesa/drivers/dri/common/xmlconfig.c  \
         2> /dev/null
../Makefile.dri:110: depend: No such file or directory
make[3]: Leaving directory
`/var/tmp/paludis/build/x11-dri-mesa-scm/work/C/64/mesa-scm/src/gallium/targets/dri-r600'
make[3]: Entering directory
`/var/tmp/paludis/build/x11-dri-mesa-scm/work/C/64/mesa-scm/src/gallium/targets/dri-r600'
x86_64-pc-linux-gnu-gcc -c -I. -I../../../../src/mesa/drivers/dri/common
-Iserver -I../../../../include -I../../../../include/GL/internal
-I../../../../src/mapi -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers
-I../../../../src/gallium/winsys -I../../../../src/mesa
-I../../../../src/mesa/main -I../../../../src/mesa/math
-I../../../../src/mesa/transform -I../../../../src/mesa/shader
-I../../../../src/mesa/swrast -I../../../../src/mesa/swrast_setup
-I../../../../src/egl/main -I../../../../src/egl/drivers/dri
-I/usr/include/libdrm    -march=native -pipe -O2 -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp -m64 -march=native -pipe -O2  -fPIC 
-D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM
-DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
-DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0301
-fvisibility=hidden -DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_NOOP target.c -o
target.o
/bin/sh ../../../../bin/mklib -o r600_dri.so.tmp -noprefix -linker
'x86_64-pc-linux-gnu-g++' -ldflags ' -L/usr/lib   -ldl -lpthread' \
        target.o ../../../../src/mesa/drivers/dri/common/utils.o
../../../../src/mesa/drivers/dri/common/dri_util.o
../../../../src/mesa/drivers/dri/common/xmlconfig.o  
../../../../src/gallium/drivers/r600/libr600.a
../../../../src/gallium/state_trackers/dri/drm/libdridrm.a
../../../../src/gallium/winsys/radeon/drm/libradeonwinsys.a
../../../../src/gallium/drivers/trace/libtrace.a
../../../../src/gallium/drivers/rbug/librbug.a
../../../../src/gallium/drivers/noop/libnoop.a \
                -Wl,--start-group ../../../../src/mesa/libmesagallium.a
../../../../src/gallium/auxiliary/libgallium.a -Wl,--end-group \
                  ../../../../lib64/libdricore8.1.0.so  -ldrm   -lexpat -lm
-lpthread -ldl -ldrm_radeon -lLLVMBitWriter -lLLVMX86AsmParser
-lLLVMX86Disassembler -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter
-lLLVMMCParser -lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils
-lLLVMJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMCodeGen
-lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa
-lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport
-lLLVMInstrumentation -lLLVMLinker -lLLVMArchive -lLLVMBitReader -lLLVMipo
-lLLVMVectorize -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils
-lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore
-lLLVMSupport -lLLVMAsmParser -lLLVMBitReader -lLLVMCore -lLLVMSupport
mklib: Making Linux shared library:  r600_dri.so.tmp
x86_64-pc-linux-gnu-g++ -march=native -pipe -O2 -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp -m64 -march=native -pipe -O2  -fPIC 
-D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM
-DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
-DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0301
-fvisibility=hidden -o r600_dri.so.test
../../../../src/mesa/drivers/dri/common/dri_test.o r600_dri.so.tmp 
../../../../lib64/libdricore8.1.0.so  -ldrm   -lexpat -lm -lpthread -ldl
-ldrm_radeon  -L/usr/lib   -ldl -lpthread;
make[3]: Leaving directory
`/var/tmp/paludis/build/x11-dri-mesa-scm/work/C/64/mesa-scm/src/gallium/targets/dri-r600'
r600_dri.so.tmp: undefined reference to `llvm::isCurrentDebugType(char const*)'
r600_dri.so.tmp: undefined reference to `typeinfo for llvm::SelectionDAGISel'
r600_dri.so.tmp: undefined reference to `typeinfo for
llvm::TargetInstrInfoImpl'
r600_dri.so.tmp: undefined reference to `typeinfo for llvm::TargetPassConfig'
r600_dri.so.tmp: undefined reference to `typeinfo for llvm::MCAsmInfo'
r600_dri.so.tmp: undefined reference to `typeinfo for
llvm::TargetSubtargetInfo'
r600_dri.so.tmp: undefined reference to `typeinfo for llvm::LLVMTargetMachine'
r600_dri.so.tmp: undefined reference to `typeinfo for
llvm::MachineFunctionInfo'
r600_dri.so.tmp: undefined reference to `typeinfo for
llvm::TargetFrameLowering'
r600_dri.so.tmp: undefined reference to `llvm::DebugFlag'
r600_dri.so.tmp: undefined reference to `typeinfo for
llvm::MachineFunctionPass'
r600_dri.so.tmp: undefined reference to `typeinfo for
llvm::TargetIntrinsicInfo'
r600_dri.so.tmp: undefined reference to `typeinfo for llvm::TargetRegisterInfo'
r600_dri.so.tmp: undefined reference to `typeinfo for llvm::TargetLowering'
collect2: error: ld returned 1 exit status
make[3]: *** [r600_dri.so] Error 1

I have attached the full build log.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

             reply	other threads:[~2012-07-16  7:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-16 14:06 bugzilla-daemon [this message]
2012-07-16 20:41 ` [Bug 52136] Mesa fails to link r600_dri.so with LLVM bugzilla-daemon
2013-11-13  0:24 ` bugzilla-daemon
2013-11-16 13:10 ` bugzilla-daemon
2013-11-16 13:13 ` bugzilla-daemon
2013-11-16 13:17 ` bugzilla-daemon
2017-02-01  1:54 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-52136-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.