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

--- Comment #4 from Dimitry Andric <d...@freebsd.org> ---
(In reply to HIROKI MORI from comment #3)
> Thanks for you comment.
> 
> I check my build environment then that set NO_CLEAN.
> 
> I delete this option but I have other error.
> 
> ===> lib/clang/libllvm (all)
> llvm-tblgen -gen-attrs  -I /usr/home/hiroki/freebsd/contrib/llvm/include -d
> llvm
> /IR/Attributes.inc.d -o llvm/IR/Attributes.inc 
> /usr/home/hiroki/freebsd/contrib
> /llvm/include/llvm/IR/Attributes.td
> llvm-tblgen -gen-intrinsic-enums  -I
> /usr/home/hiroki/freebsd/contrib/llvm/inclu
> de -d llvm/IR/IntrinsicEnums.inc.d -o llvm/IR/IntrinsicEnums.inc 
> /usr/home/hiro
> ki/freebsd/contrib/llvm/include/llvm/IR/Intrinsics.td
> llvm-tblgen: Unknown command line argument '-gen-intrinsic-enums'.  Try:
> 'llvm-t
> blgen -help'
> llvm-tblgen: Did you mean '-gen-intrinsic'?
> *** Error code 1

This can happen when it is running the wrong copy of llvm-tblgen, most likely
the one in /usr/bin.  It should be running
/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin/llvm-tblgen instead (this path
can be diffent, depending on your setup).

If you run "make buildenv" in your top-level source directory, then "which
llvm-tblgen", what is the output?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to