Page MenuHomeFreeBSD

build: Default to DWARF4 in the kernel
ClosedPublic

Authored by markj on Feb 11 2024, 6:06 PM.
Tags
None
Referenced Files
F107091621: D43837.diff
Thu, Jan 9, 11:41 PM
Unknown Object (File)
Tue, Jan 7, 11:50 PM
Unknown Object (File)
Sat, Dec 28, 4:51 PM
Unknown Object (File)
Oct 20 2024, 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
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.