[LLVMbugs] [Bug 1411] dejagnu link variable not set correctly.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri May 11 11:31:05 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1411

tonic at nondot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From tonic at nondot.org  2007-05-11 13:31 -------
I'm stilling getting this with a Release build on x86 (after using the new
Makefile):

FAIL: /mounts/zion/disks/0/localhome/tbrethou/llvm/test/Feature/llvm2cpp.ll
Failed with exit(1) at line 3
while running: g++ -I/mounts/zion/disks/0/localhome/tbrethou/llvm/test
-I/mounts/zion/disks/0/localhome/tbrethou/llvm/test
-I/mounts/zion/disks/0/localhome/tbrethou/llvm/include
-I/mounts/zion/disks/0/localhome/tbrethou/llvm/include
-I/mounts/zion/disks/0/localhome/tbrethou/llvm/include
-I/mounts/zion/disks/0/localhome/tbrethou/llvm/include  -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -g -fno-exceptions -D_DEBUG  -Woverloaded-virtual
-pedantic -Wall -W -Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter
 -g  -L/mounts/zion/disks/0/localhome/tbrethou/llvm/Debug/lib
-L/mounts/zion/disks/0/localhome/tbrethou/llvm/Debug/lib  -o
Output/llvm2cpp.ll.tmp2.exe Output/llvm2cpp.ll.tmp2.cpp -lLLVMCore -lLLVMSupport
-lLLVMSystem -lstdc++
Output/llvm2cpp.ll.tmp2.cpp: In function ‘llvm::Module* makeLLVMModule()’:
Output/llvm2cpp.ll.tmp2.cpp:1991: warning: unused variable ‘ptr_Z’
Output/llvm2cpp.ll.tmp2.cpp:2006: warning: unused variable ‘ptr_Z_203’
Output/llvm2cpp.ll.tmp2.cpp:2033: warning: unused variable ‘int32_217’
Output/llvm2cpp.ll.tmp2.cpp:2035: warning: unused variable ‘int1_219’
Output/llvm2cpp.ll.tmp2.cpp:2387: warning: unused variable ‘int32_287’
Output/llvm2cpp.ll.tmp2.cpp:2395: warning: unused variable ‘int32_289’
Output/llvm2cpp.ll.tmp2.cpp:2414: warning: unused variable ‘int32_293’
[cut same type warnings]
Output/llvm2cpp.ll.tmp2.cpp:1681: warning: unused variable ‘gvar_int32_114’
/usr/bin/ld: cannot find -lLLVMCore
collect2: ld returned 1 exit status

>From site.exp:
set link "g++ -I/mounts/zion/disks/0/localhome/tbrethou/llvm/test
-I/mounts/zion/disks/0/localhome/tbrethou/llvm/test
-I/mounts/zion/disks/0/localhome/tbrethou/llvm/include
-I/mounts/zion/disks/0/localhome/tbrethou/llvm/include
-I/mounts/zion/disks/0/localhome/tbrethou/llvm/include
-I/mounts/zion/disks/0/localhome/tbrethou/llvm/include  -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -g -fno-exceptions -D_DEBUG  -Woverloaded-virtual
-pedantic -Wall -W -Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter
 -g  -L/mounts/zion/disks/0/localhome/tbrethou/llvm/Debug/lib
-L/mounts/zion/disks/0/localhome/tbrethou/llvm/Debug/lib "

Shouldn't it be look in Release/lib?




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list