Summary: | devel/llvm-cheri: fails to build with clang 7 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
Component: | Individual Port(s) | Assignee: | Brooks Davis <brooks> |
Status: | Closed Unable to Reproduce | ||
Severity: | Affects Only Me | CC: | dim |
Priority: | --- | Keywords: | needs-qa |
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(brooks) |
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 230355 |
Description
Jan Beich
2018-08-20 22:32:16 UTC
(In reply to Jan Beich from comment #0) > $ 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" > ^~~~~~~~~~~~~~~~~~~~~~~~ I think the problem lies in that "c++98" patch, since it builds just fine for me with clang 7. Or an intermittent as other devel/llvm* are unaffected. I can't reproduce *with* C++98 patch, see https://ptpb.pw/Zx-6 |