Page MenuHomeFreeBSD

cdefs: require gcc 4.2 or later
AbandonedPublic

Authored by imp on Oct 16 2020, 5:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 14, 10:23 PM
Unknown Object (File)
Wed, Aug 6, 2:44 PM
Unknown Object (File)
Mon, Aug 4, 1:19 PM
Unknown Object (File)
Mon, Aug 4, 12:36 PM
Unknown Object (File)
Jul 19 2025, 5:59 AM
Unknown Object (File)
Jul 4 2025, 9:29 PM
Unknown Object (File)
Jun 30 2025, 12:16 PM
Unknown Object (File)
Jun 28 2025, 6:32 PM
Subscribers

Details

Summary

Remove all support for gcc < 4.2.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34216
Build 31364: arc lint + arc unit

Event Timeline

imp requested review of this revision.Oct 16 2020, 5:20 PM
imp created this revision.

cdefs: require gcc 4.2

... or later! 😉

cdefs: require gcc 4.2

... or later! 😉

Yes. Or later :)

I'll update my commit message.

imp retitled this revision from cdefs: require gcc 4.2 to cdefs: require gcc 4.2 or later.Oct 16 2020, 5:28 PM
This revision is now accepted and ready to land.Oct 16 2020, 6:29 PM
cem added a subscriber: cem.

Excellent.

sys/sys/cdefs.h
322

This one is almost killable too. Outside of ce(4), we use this in one location: i386 resumectx(). And it isn't clear (to me) that we need the oddball calling convention in that location. Maybe we do.

sys/sys/cdefs.h
322

This one is almost killable too. Outside of ce(4), we use this in one location: i386 resumectx(). And it isn't clear (to me) that we need the oddball calling convention in that location. Maybe we do.

ce(4) doesn't matter: it will define it if it isn't already defined. So we can safely ignore it. :)

I'm not sure what resumectx() does on i386,... I may investigate though...

But in any event, I was going to do an audit of all these defines to see what's still used as a followup.

I'm going to start again here.