From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 55606] New: r300_dri.so.tmp: tries to link to yylex Date: Thu, 04 Oct 2012 08:57:10 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0605566514==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AD33A9E9C8 for ; Thu, 4 Oct 2012 01:57:10 -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 --===============0605566514== Content-Type: multipart/alternative; boundary="1349341030.fF5E0.22422"; charset="us-ascii" --1349341030.fF5E0.22422 Date: Thu, 4 Oct 2012 08:57:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=55606 Priority: medium Bug ID: 55606 Assignee: dri-devel@lists.freedesktop.org Summary: r300_dri.so.tmp: tries to link to yylex Severity: blocker Classification: Unclassified OS: Linux (All) Reporter: treeve@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. --1349341030.fF5E0.22422 Date: Thu, 4 Oct 2012 08:57:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 55606
Assignee dri-devel@lists.freedesktop.org
Summary r300_dri.so.tmp: tries to link to yylex
Severity blocker
Classification Unclassified
OS Linux (All)
Reporter treeve@sourcemage.org
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/Gallium/r300
Product Mesa

Created attachment 68068 [details]
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.
--1349341030.fF5E0.22422-- --===============0605566514== 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 --===============0605566514==--