-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] macOS CI: sim:libcxxtest
can't find cxxabi.h
#14774
Comments
can we try CONFIG_LIBCXXABI=y |
@xiaoxiang781216 Sorry CONFIG_LIBCXXABI doesn't work on macOS Arm64. Why does it warn about LIBSUPCXX_TOOLCHAIN?
|
look like libcxxabi/Make.defs forget to add the search path. |
https://github.com/apache/nuttx/blob/3e3701b2721c216cea47b72835a13966da52b555/libs/libxx/libcxxabi/Make.defs in other way, if enable CONFIG_LIBSUPCXX_TOOLCHAIN, cxxabi.h may not be found, but if use CONFIG_LIBSUPCXX_TOOLCHAIN, we will disable LIBCXX_BUILDING_LIBCXXABI, so we can't use cxxabi.h.like this: #if defined(LIBCXXRT) || defined(LIBCXX_BUILDING_LIBCXXABI) |
Fix build errors like: apache#14774
Fix build errors like: #14774
Fix build errors like: apache#14774
Fix build errors like: #14774
Fix build errors like: apache#14774
please provide the patch. |
@lupyuen do we have enough budget to bring back msvc and all macOS to ci? |
@xiaoxiang781216 MSVC is already in, see below. Sorry we can't enable macOS, it will exceed our budget. Remember that 1 macOS Runner = 10 times the cost of a Linux Runner. |
so, we don't have any ci on macOS now:(. |
1. fix apache#14774. 2. fix apache#15491. Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
1. fix apache#14774. Change the defconfig of libcxxtest and select libcxxabi by default to fix sim:libcxxtest build in macOS CI can't find cxxabi.h. 2. fix apache#15491. libcxxabi cannot be used with uclibc, so when compiling macos sim, libcxxabi cannot be selected by default in Kconfig. Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
1. fix #14774. Change the defconfig of libcxxtest and select libcxxabi by default to fix sim:libcxxtest build in macOS CI can't find cxxabi.h. 2. fix #15491. libcxxabi cannot be used with uclibc, so when compiling macos sim, libcxxabi cannot be selected by default in Kconfig. Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
Description / Steps to reproduce the issue
sim:libcxxtest
build in macOS CI can't find cxxabi.h. We may need to disable the build in macOS CI because NuttX Mirror Build is failing twice daily:From sim-02 macOS Log: https://github.com/NuttX/nuttx/actions/runs/11825497334/job/32949471137
On which OS does this issue occur?
[OS: Mac]
What is the version of your OS?
macOS x64 at GitHub Actions
NuttX Version
master
Issue Architecture
[Arch: simulator]
Issue Area
[Area: Build System]
Verification
The text was updated successfully, but these errors were encountered: