Page MenuHomeFreeBSD

crossbuild: Allow bootstrapping libopenbsd on Linux
ClosedPublic

Authored by arichardson on Feb 7 2018, 4:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 3, 5:37 AM
Unknown Object (File)
Sat, Mar 29, 9:33 AM
Unknown Object (File)
Mar 25 2025, 9:23 AM
Unknown Object (File)
Mar 11 2025, 7:53 PM
Unknown Object (File)
Mar 10 2025, 7:25 AM
Unknown Object (File)
Feb 22 2025, 7:10 AM
Unknown Object (File)
Jan 16 2025, 12:21 AM
Unknown Object (File)
Jan 12 2025, 2:43 PM
Subscribers

Details

Summary

The getdtablecount.c file won't compile on Linux but it seems like none of
the bootstrap tools actually need it.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Simplify and remove .MAKE.OS check

I don't really like this, but given that any failure should be fairly straightforward to track down OK.

(I'd probably prefer some sort of #ifdef linux in getdtablecount.c itself with a #warning and a stub implementation.)

This revision is now accepted and ready to land.Nov 22 2018, 11:29 PM

This seems fine, especially since libopenbsd is an INTERNALLIB.

This revision was automatically updated to reflect the committed changes.

I don't really like this, but given that any failure should be fairly straightforward to track down OK.

(I'd probably prefer some sort of #ifdef linux in getdtablecount.c itself with a #warning and a stub implementation.)

+1
Reviewed by me too (I think I'm late)