Skip to content

GDB builds with profiling enabled #601

Open
@stephanosio

Description

@stephanosio

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.

Metadata

Metadata

Assignees

Labels

area: GDBIssues related to GDB (GNU Debugger)priority: lowLow impact/importance issue

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions