dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2262 Location: $TERM
|
Posted: Sun Sep 22, 2024 2:40 pm Post subject: clang -dumpmachine = unknown |
|
|
I'm migrating an existing Gentoo install by placing it in /usr/X and rebuilding all the package using ROOT and SYSROOT and seldomly with crossdev. However after a complete rebuild /usr/X's clang complaints --
Code: | clang -dumpmachine
unknown |
in or out of chroot.
clang is not my system compiler, but the thing is dev-lang/spidermonkey and firefox is not compiling because of this 'unknown' issue when I try to built it in chroot in /usr/X (using SYSROOT and ROOT is not an option because this is llvm).
Code: | /usr/lib/llvm/18/bin/x86_64-pc-linux-gnu-clang-18 /tmp/portage/dev-lang/spidermonkey-115.13.0/temp/test-flag.c -E
error: unknown target triple 'unknown' |
I tried re-compiling clang in chroot, but it gives the same result.
Odd thing is I'm trying all this on a machine who's Gentoo install is itself migrated this way. At that time it worked fine!! _________________ My blog |
|