Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2019 10:02:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 236772] build error on cross compile: '.../c++/v1/experimental/' does not exist
Message-ID:  <bug-236772-29464-FMSKSpMInW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236772-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236772-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236772

--- Comment #4 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to HIROKI MORI from comment #3)
> Thanks for you comment.
>=20
> I check my build environment then that set NO_CLEAN.
>=20
> I delete this option but I have other error.
>=20
> =3D=3D=3D> 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=20
> /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=20
> /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 like=
ly
the one in /usr/bin.  It should be running
/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin/llvm-tblgen instead (this p=
ath
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?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236772-29464-FMSKSpMInW>