Open
Description
Zephyr SDK GDB builds with profiling enabled (--enable-profiling
) and links the glibc profiling functions such as monstartup
.
This can create compatibility issues with non-glibc distros such as Alpine Linux that uses musl as the primary libc -- note that musl does not provide the gprof profiling functions nor do the glibc compatibility layers like gcompat.
Since we do not need to profile the GDB executable, disable this feature.