[LLVMbugs] [Bug 2179] New: llvm-gcc checkingenabled_flag is busted.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Mar 29 13:42:47 PDT 2008


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: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list