[Bug 55606] New: r300_dri.so.tmp: tries to link to yylex

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 4 01:57:10 PDT 2012


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

          Priority: medium
            Bug ID: 55606
          Assignee: dri-devel at lists.freedesktop.org
           Summary: r300_dri.so.tmp: tries to link to yylex
          Severity: blocker
    Classification: Unclassified
                OS: Linux (All)
          Reporter: treeve at sourcemage.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Drivers/Gallium/r300
           Product: Mesa

Created attachment 68068
  --> https://bugs.freedesktop.org/attachment.cgi?id=68068&action=edit
Full compile log

make[3]: Entering directory `/var/git/mesalib/src/gallium/targets/dri-r300'
/bin/sh ../../../../bin/mklib -o r300_dri.so.tmp -noprefix -linker 'g++'
-ldflags '-s -L/usr/lib  -s -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/state_trackers/dri/drm/libdridrm.a
../../../../src/gallium/winsys/radeon/drm/libradeonwinsys.a
../../../../src/gallium/drivers/galahad/libgalahad.a
../../../../src/gallium/drivers/trace/libtrace.a
../../../../src/gallium/drivers/rbug/librbug.a
../../../../src/gallium/drivers/r300/libr300.a \
                -Wl,--start-group ../../../../src/mesa/libmesagallium.a
../../../../src/gallium/auxiliary/libgallium.a -Wl,--end-group \
                 ../../../../lib/libdricore9.0.0.so  -ldrm   -lexpat -lm  -ldl
-ldrm_radeon -lLLVMMCJIT -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
mklib: Making Linux shared library:  r300_dri.so.tmp
g++ -march=native -mtune=native -m64 -pipe -ffast-math -funroll-loops -O3 -Wall
-std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp -fPIC -D_GNU_SOURCE -DUSE_X86_64_ASM
-DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE
-DHAVE_LIBUDEV -DHAVE_LLVM=0x0301 -fvisibility=hidden -o r300_dri.so.test
../../../../src/mesa/drivers/dri/common/dri_test.o r300_dri.so.tmp
../../../../lib/libdricore9.0.0.so  -ldrm   -lexpat -lm  -ldl -ldrm_radeon -s
-L/usr/lib  -s -ldl -lpthread;
r300_dri.so.tmp: undefined reference to `yylex'
collect2: error: ld returned 1 exit status
make[3]: *** [r300_dri.so] Error 1



I have the following software:llvm
llvm-3.1
gcc-4.7.2
bison-2.6.2
libdrm-2.4.39

Using mesalib git branch 9.0, commit b2048c5e905cb6321212e33391926fc720b89121

-- 
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/dri-devel/attachments/20121004/ca073316/attachment-0001.html>


More information about the dri-devel mailing list