[Bug 230787] devel/llvm-cheri: fails to build with clang 7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 20 22:32:20 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230787

            Bug ID: 230787
           Summary: devel/llvm-cheri: fails to build with clang 7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-qa
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
            Blocks: 230355
          Assignee: brooks at FreeBSD.org
             Flags: maintainer-feedback?(brooks at FreeBSD.org)

$ fetch -qo /tmp/clang7.c++98.diff
'https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196011'
$ poudriere jail -cj clang7 -P /tmp/clang7.c++98.diff -v
projects/clang700-import -m svn+https
$ poudriere testport -j clang7 devel/llvm-cheri
[...]
In file included from tools/clang/lib/Basic/Targets.cpp:26:
In file included from tools/clang/lib/Basic/Targets/Mips.h:22:
In file included from include/llvm/IR/Cheri.h:20:
In file included from include/llvm/IR/Function.h:26:
In file included from include/llvm/IR/Argument.h:19:
include/llvm/IR/Attributes.h:74:14: fatal error: 'llvm/IR/Attributes.inc' file
not found
    #include "llvm/IR/Attributes.inc"
             ^~~~~~~~~~~~~~~~~~~~~~~~

http://package18.nyi.freebsd.org/data/headamd64PR230355gnucxx98-default/2018-08-20_17h42m49s/logs/errors/llvm-cheri-7.0.d20180806.log

suggesting the following jobs aren't generated compared to Clang 6

[246/3545] cd ../.build && ../.build/bin/llvm-tblgen -gen-attrs -I
include/llvm/IR -I include include/llvm/IR/Attributes.td -o
include/llvm/IR/Attributes.inc.tmp -d include/llvm/IR/Attributes.inc.d
[247/3545] cd ../.build/include/llvm/IR && cmake -E copy_if_different
../.build/include/llvm/IR/Attributes.inc.tmp
../.build/include/llvm/IR/Attributes.inc

http://www.ipv6proxy.net/go.php?u=http://beefy12.nyi.freebsd.org/data/head-amd64-default/p477468_s337991/logs/llvm-cheri-7.0.d20180806.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230355
[Bug 230355] [exp-run] Against projects/clang700-import branch
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list