Page MenuHomeFreeBSD

build: Default to DWARF4 in the kernel
ClosedPublic

Authored by markj on Feb 11 2024, 6:06 PM.
Tags
None
Referenced Files
F84091909: D43837.id.diff
Sun, May 19, 5:56 AM
Unknown Object (File)
Fri, May 17, 1:19 AM
Unknown Object (File)
Thu, May 16, 11:58 PM
Unknown Object (File)
Mon, May 13, 6:15 PM
Unknown Object (File)
Sun, May 12, 6:50 PM
Unknown Object (File)
Sun, May 12, 5:57 PM
Unknown Object (File)
Sat, May 4, 1:17 PM
Unknown Object (File)
Thu, May 2, 6:09 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 Not Applicable
Unit
Tests Not Applicable

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.