Page MenuHomeFreeBSD

Add missing no-ctfconvert to C generation rules
ClosedPublic

Authored by andrew on Jan 14 2021, 3:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 4, 5:13 PM
Unknown Object (File)
Tue, Mar 4, 12:48 AM
Unknown Object (File)
Sat, Feb 22, 6:23 AM
Unknown Object (File)
Fri, Feb 21, 7:14 PM
Unknown Object (File)
Feb 6 2025, 12:06 PM
Unknown Object (File)
Jan 30 2025, 7:49 PM
Unknown Object (File)
Jan 30 2025, 10:27 AM
Unknown Object (File)
Jan 26 2025, 6:26 PM
Subscribers

Details

Summary

Stop running ctfconvert over generated C files in the kernel by marking
them with no-ctfconvert.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks fine to me. Is there anything specific that made you notice this?

This revision is now accepted and ready to land.Jan 15 2021, 3:27 AM
mmel added a subscriber: mmel.

LGTM. thanks.
It is a bit questionable whether ctfconvert should generate an error in this case (I don't think so), but calling it is clearly unnecessary in this case.

It fixes warning similar to the following. This is because it's running ctfconvert on the .c file rather than a .o file.

ctfconvert: rtwn-rtl8821aufw.c: Couldn't read ehdr: Invalid argument