http://llvm.org/bugs/show_bug.cgi?id=2179
Summary: llvm-gcc checkingenabled_flag is busted.
Product: tools
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
llvm-gcc doesn't always find the built LLVM tree. Steps to reproduce:
1. Configure a LLVM with "configure --enable-optimized=1". Build it with
"make". Ensure you don't have a Debug/ directory in the tree when you're done.
2. Configure llvm-gcc 4.2. The configure will fail to find the llvm directory
even though --enable-llvm is set correctly.
The problem is caused by this snippet:
if test -x "$LLVMBASEPATH/Release/bin/llc$EXEEXT"; then
if test x$checkingenabled_flag = x ; then # always false
echo Found Release LLVM Tree in $LLVMBASEPATH
LLVMBUILDMODE="Release"
fi
$checkingenabled_flag will be blank. Even though there's code to set it, I
can't see that it will ever be set.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs