[LLVMbugs] [Bug 13306] New: Must run CMake twice before building

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 9 10:43:00 PDT 2012


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

             Bug #: 13306
           Summary: Must run CMake twice before building
           Product: Build scripts
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: paul.robinson at am.sony.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


The CMake build seems to have some issues with regard to
BUG_REPORT_URL (possibly other variables too).
On my Ubuntu workstation, I have to run CMake twice before it will
build the compiler with the right URL embedded.

1) Check out LLVM + Clang.
2) Run cmake.
3) Run make.
4) Force a compiler crash (e.g. PR13216).

clang-3: note: diagnostic msg: PLEASE submit a bug report to  and include the
crash backtrace, preprocessed source, and associated run script.

5) Note the bug report URL is empty.
6) Repeat steps 2-4.

clang-3: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.

7) Note the bug report URL is now correct.

Running CMake twice and then building the compiler is enough to make it work,
no need to build the compiler in between. But that doesn't seem like the right
fix somehow...

-- 
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