Open xiedeacc opened 2 years ago
It looks like you're facing compilation errors while cross-compiling Abseil for armv7 with the Musl libc library using Bazel. The errors are related to include files and declarations, specifically in the execinfo.h
header and the C++ standard library.
You mentioned that manually changing the stacktrace_config.h
file to use stacktrace_arm-inl.inc
resolved the issue. This indicates that the stacktrace_config.h
might not be detecting the armv7 architecture correctly and thus not using the appropriate include files and configurations for Musl libc and armv7.
To address this issue, you might want to check the configuration settings in the stacktrace_config.h
file for armv7 and Musl libc. Ensure that the necessary definitions and includes are present to correctly configure the stack tracing for your target platform. If the stacktrace_config.h
file is not detecting the armv7 architecture, you might need to modify or extend the configuration logic to accommodate your cross-compilation setup.
Additionally, consider checking if there are any updates or fixes in more recent versions of Abseil that address compatibility issues with Musl libc and armv7 cross-compilation. You could also reach out to the Abseil development team or community forums for assistance with this specific cross-compilation issue.
Hello, I have the same issue. Did you resolved it ?
when use bazel cross compile for armv7 with musl libc library, meet below errors, use stacktrace_arm-inl.inc by manual change stacktrace_config.h compile success, why stacktrace_config.h not detect armv7 then use stacktrace_arm-inl.inc?