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
Towards the goal of being able to cross compile full builds, I hit a snag yesterday when cross compiling some of the unit tests. With some other smaller fixes to our cmake, I can cross compile (and run in QEMU) some unit tests, but quite a few still fail to build.
80cf21d added a TODO that implies that the LibcDeathTestExecutors and LibcFPExceptionHelpers are indeed not yet hermetic. (It then unsets LLVM_LIBC_FULL_BUILD which changes the set compiler options from _get_common_test_compile_options).
Here's an example failure:
llvm-project/libc/test/UnitTest/LibcDeathTestExecutors.cpp:15:10: fatal error: 'assert.h' file not found
15 | #include <assert.h>
| ^~~~~~~~~~
I suspect we can start relying on hdr/ for these from the UnitTests.
So that needs to get fixed first, before we can cross compile the entire unit test suite.
Towards the goal of being able to cross compile full builds, I hit a snag yesterday when cross compiling some of the unit tests. With some other smaller fixes to our cmake, I can cross compile (and run in QEMU) _some_ unit tests, but quite a few still fail to build.
80cf21d added a TODO that implies that the LibcDeathTestExecutors and LibcFPExceptionHelpers are indeed not yet hermetic. (It then unsets LLVM_LIBC_FULL_BUILD which changes the set compiler options from _get_common_test_compile_options).
Here's an example failure:
llvm-project/libc/test/UnitTest/LibcDeathTestExecutors.cpp:15:10: fatal error: 'assert.h' file not found
15 | #include <assert.h>
| ^~~~~~~~~~
I suspect we can start relying on hdr/ for these from the UnitTests.
So that needs to get fixed first, before we can cross compile the entire unit test suite.
Towards the goal of being able to cross compile full builds, I hit a snag yesterday when cross compiling some of the unit tests. With some other smaller fixes to our cmake, I can cross compile (and run in QEMU) some unit tests, but quite a few still fail to build.
80cf21d added a TODO that implies that the LibcDeathTestExecutors and LibcFPExceptionHelpers are indeed not yet hermetic. (It then unsets
LLVM_LIBC_FULL_BUILD
which changes the set compiler options from_get_common_test_compile_options
).Here's an example failure:
I suspect we can start relying on hdr/ for these from the UnitTests.
So that needs to get fixed first, before we can cross compile the entire unit test suite.
cc @lntue
FWIW, my cmake invocation is:
and my kernel headers were built via:
The text was updated successfully, but these errors were encountered: