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)
Sat, Apr 27, 1:27 AM
Unknown Object (File)
Tue, Apr 23, 1:41 PM
Unknown Object (File)
Mar 29 2024, 5:30 AM
Unknown Object (File)
Mar 7 2024, 4:07 PM
Unknown Object (File)
Mar 2 2024, 2:14 AM
Unknown Object (File)
Jan 11 2024, 12:15 AM
Unknown Object (File)
Dec 20 2023, 6:10 PM
Unknown Object (File)
Dec 20 2023, 8:29 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36199
Build 33088: arc lint + arc unit

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