sdk-ng icon indicating copy to clipboard operation
sdk-ng copied to clipboard

GDB builds with profiling enabled

Open stephanosio opened this issue 2 years ago • 0 comments
trafficstars

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.

stephanosio avatar Nov 24 '22 06:11 stephanosio