Page MenuHomeFreeBSD

build: Default to DWARF4 in the kernel
ClosedPublic

Authored by markj on Feb 11 2024, 6:06 PM.
Tags
None
Referenced Files
F97006787: D43837.diff
Fri, Sep 27, 10:46 AM
F96993306: D43837.diff
Fri, Sep 27, 9:51 AM
F96936780: D43837.diff
Fri, Sep 27, 6:03 AM
Unknown Object (File)
Sat, Sep 21, 2:53 PM
Unknown Object (File)
Sat, Sep 21, 10:25 AM
Unknown Object (File)
Sat, Sep 21, 9:15 AM
Unknown Object (File)
Thu, Sep 19, 10:30 PM
Unknown Object (File)
Wed, Sep 18, 7:35 PM
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 55955
Build 52844: 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.