-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dejagnu link variable not set correctly. #1783
Comments
I'm pretty certain the patch resolves any issue with the dejagnu variables. |
I'm stilling getting this with a Release build on x86 (after using the new FAIL: /mounts/zion/disks/0/localhome/tbrethou/llvm/test/Feature/llvm2cpp.ll From site.exp: Shouldn't it be look in Release/lib? |
Yes. The question is, why isn't it. The Makefile.rules has (paraphrased): ifdef ENABLE_PROFILING LibDir := LD.Flags += -L$(LibDir) -L$(LLVMLibDir) So, for it to come out with the result you had, ENABLE_OPTIMIZED had to be not 1 Are you sure you're building with ENABLE_OPTIMIZED=1 ? |
Yes I am: PATH="/mounts/zion/disks/0/localhome/tbrethou/llvm/Release/bin:/mounts/zion/disks/0/localhome/tbrethou/llvm/test/Scripts:/mounts/zion/disks/0/localhome/tbrethou/llvm/Release/bin:/mounts/zion/disks/0/localhome/tbrethou/llvm-gcc/install/bin:/home/vadve/shared/localtools/fc1/bin:/localhome/tbrethou/llvm/Debug/bin/:/usr/dcs/software/evaluation/bin/:/usr/dcs/software/supported/bin:/usr/dcs/software/unsupported/bin:/usr/dcs/software/evaluation/bin:/bin:/usr/bin:/usr/X11R6/bin/:/home/vadve/tbrethou/llvm/utils:/home/vadve/lattner/local/x86/bin"
Schedule of variations: Running target unix |
Trez weird. I'll poke around some. |
This isn't a 2.0 blocker so no hurry. Worst case, I can remove the test from the |
Tanya, I can't reproduce this. I get: make check ENABLE_OPTIMIZED=1 TESTSUITE=Feature PATH="/proj/llvm/llvm-4/Release/bin:/proj/llvm/llvm-4/test/Scripts:/proj/llvm/llvm-4/Debug/bin:/proj/install/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/reid/bin:/opt/j2sdk_1.4.2/j2sdk1.4.2/bin:/opt/oracle/bin"
Schedule of variations: Running target unix
of expected passes 47make[1]: Leaving directory `/proj/llvm/llvm-4/test' |
Do you have environment variables overriding any of the Makefile variables? |
No. I don't have anything but PATH and CVSDIR set. Do you have a release build? Its probably better if you can reproduce this in |
Its not a release blocker, but its a concern because if it can happen here, it I do have a release build and it works fine .. but perhaps only because its |
Yeah, try it after you delete your Debug dir. |
Even with the Debug directory gone, it still works fine using Release binaries: testcase /proj/llvm/llvm/test/Feature/dg.exp completed in 25 seconds
of expected passes 47runtest completed at Mon May 14 22:38:50 2007 I verified manually that the program generated by llvm2cpp could be compiled, I don't know what's going on in the 2.0 release, but this is definitely working |
Extended Description
Feature/llvm2cpp.ll fails for a release build because the "link" variable is not set correctly by dejagnu.
/usr/bin/ld: can't locate file for: -lLLVMCore
This should be fixed.
The text was updated successfully, but these errors were encountered: