Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Unable to complete build of aarch64
On Tue, 11 Jul 2023, Chavdar Ivanov wrote:
if c++ -stdlib=libc++ -c -fmodules -fcxx-modules
-fmodules-cache-path=./module.cache
/home/sysbuild/src/tools/llvm/module-test.cpp 3> /dev/null 2>&1; then
echo HOST_SUPPORTS_MODULES=yes > support-modules; else echo
HOST_SUPPORTS_MODULES=no > support-modules; fi
c++: error: unrecognized command-line option '-stdlib=libc++'
c++: error: unrecognized command-line option '-fmodules'; did you mean '-fmoduleinfo'?
c++: error: unrecognized command-line option '-fcxx-modules'
c++: error: unrecognized command-line option '-fmodules-cache-path=./module.cache'
dependall ===> tools/config
...
The same happens with the amd64 build.
Any ideas?
All those are Clang-specific options which GCC doesn't understand, but, this
can't be the reason why your (LLVM-based) build is failing. As you can see
the test is in an `if' statement, so it shouldn't error-out.
Can you run the build again within script(1) so that the complete text is
captured, and we can see where the actual error is?
-RVP
Home |
Main Index |
Thread Index |
Old Index