Page MenuHomeFreeBSD

build: Default to DWARF4 in the kernel
ClosedPublic

Authored by markj on Feb 11 2024, 6:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 20, 5:49 AM
Unknown Object (File)
Oct 2 2024, 6:17 PM
Unknown Object (File)
Oct 2 2024, 5:18 PM
Unknown Object (File)
Sep 27 2024, 1:25 PM
Unknown Object (File)
Sep 27 2024, 1:21 PM
Unknown Object (File)
Sep 27 2024, 11:19 AM
Unknown Object (File)
Sep 27 2024, 10:46 AM
Unknown Object (File)
Sep 27 2024, 9:51 AM
Subscribers

Details

Summary

gcc 12 defaults to emitting DWARF 5, but this is not yet supported by
our libdwarf, and thus by ctfconvert.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 55942
Build 52831: arc lint + arc unit

Event Timeline

markj requested review of this revision.Feb 11 2024, 6:06 PM
This revision is now accepted and ready to land.Feb 11 2024, 6:09 PM
sys/conf/kern.mk
263

do we need -g*, to catch e.g. -g1?

markj added inline comments.
sys/conf/kern.mk
263

The old code which used to add -gdwarf-2 didn't bother, but it's easy to check.

markj marked an inline comment as done.

Check for -g[0-3] as well.

This revision now requires review to proceed.Feb 12 2024, 2:16 PM
This revision is now accepted and ready to land.Feb 13 2024, 6:46 PM
This revision was automatically updated to reflect the committed changes.