Skip to contentSkip to conversation

New: r300_dri.so.tmp: tries to link to yylex

Bug 55606 [email protected] 1 participant 3 messages Oct 4, 2012 – Dec 5, 2012

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 55606
Assignee: [email protected]
Summary: r300_dri.so.tmp: tries to link to yylex
Severity: blocker
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
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

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 55606] r300_dri.so.tmp: tries to link to yylex

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

--- Comment #1 from Tomasz P. <[email protected]> --- I am using mesa-git from today and it works but I use also libdrm-git

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 55606] r300_dri.so.tmp: tries to link to yylex

In reply to [email protected]

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

Tomasz P. <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Tomasz P. <[email protected]> --- Get rid of the cached results / try to compile from scratch.

Cannot reproduce that.

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