You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(In this example: BUILD = x86_64-unknown-linux-gnu and HOST = arm-unknown-linux-gnueabi)
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> arm-unknown-linux-gnueabi)
(..)
Building stage0 test artifacts (x86_64-unknown-linux-gnu -> arm-unknown-linux-gnueabi)
(..)
Building LLVM for arm-unknown-linux-gnueabi
(..)
ninja: error: '/home/japaric/build/x86_64-unknown-linux-gnu/llvm/bin/llvm-tblgen', needed by 'include/llvm/IR/Attributes.inc.tmp', missing and no known rule to make it
when configured with configure --enable-rustbuild --host=$HOST or with configure --enable-rustbuild --host=$HOST --llvm-root=/usr.
I think this is because rustbuild tries to use the llvm-tblgen that's supposed to be generated by building LLVM for $BUILD but rusbuild nevers builds LLVM for $BUILD in this case.
with:
(In this example:
BUILD = x86_64-unknown-linux-gnu
andHOST = arm-unknown-linux-gnueabi
)when configured with
configure --enable-rustbuild --host=$HOST
or withconfigure --enable-rustbuild --host=$HOST --llvm-root=/usr
.I think this is because rustbuild tries to use the
llvm-tblgen
that's supposed to be generated by building LLVM for$BUILD
but rusbuild nevers builds LLVM for$BUILD
in this case.cc @alexcrichton
The text was updated successfully, but these errors were encountered: