[LLVMbugs] [Bug 17735] New: llvm Trunk fails to build on DragonFly + patches

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 30 04:21:03 PDT 2013


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

            Bug ID: 17735
           Summary: llvm Trunk fails to build on DragonFly + patches
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: DragonFly BSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: robin.hahling at gw-computing.net
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11445
  --> http://llvm.org/bugs/attachment.cgi?id=11445&action=edit
patches required to build llvm on DragonFly

DragonFly is not able to build llvm anymore. It used to build fine up to at
least llvm 3.3. However, it required patches which I attached here.

We would be grateful if you incorporate theses patches. They are trivial and do
not affect others systems than DragonFly therefore they should not cause any
problems.

However, since at least revision 191854, llvm fails to build on DragonFly.
The getFrequency() method in include/llvm/Support/BlockFrequency.h from the
BlockFrequency class does not seem to return the correct type which leads
std::max to fail when called in include/llvm/Analysis/BlockFrequencyImpl.h with
errors such as:
error: no matching function for call to 'max(uint64_t&, long long unsigned
int)'

Full stack trace attached with build attempts on r191854 and r193677.
To reproduce, simply try building llvm from a DragonFly host. Build attempts
where made with the current development version of DragonFly:  3.5-DEVELOPMENT
DragonFly v3.5.0.1265.gc05746-DEVELOPMENT

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131030/d9108ab0/attachment.html>


More information about the llvm-bugs mailing list