Page MenuHomeFreeBSD

Switch from .So to .pico for object files compiled with -fpic

Authored by marcel on Sep 16 2016, 8:26 PM.



The .So extension clashes with the .so extension used for shared libraries on file systems that are case-insensitive. Change to .pico instead. This matches what NetBSD uses. A full buildworld and buildkernel (default options) succeeds over NFS onto a case-sensitive file system.

Diff Detail

rS FreeBSD src repository - subversion
Lint Skipped
Unit Tests Skipped
Build Status
Buildable 5172
Build 5294: CI src buildJenkins

Event Timeline

marcel retitled this revision from to Which from .So to .pico for object files compiled with -fpic.
marcel updated this object.
marcel edited the test plan for this revision. (Show Details)
marcel added reviewers: sjg, bdrewery.
marcel set the repository for this revision to rS FreeBSD src repository - subversion.

Should this be ${T}_OBJS_PIC and similar questions below?

Interesting, it looks like NetBSD used to use .so for PIC objects which seems even more error-prone.

marcel retitled this revision from Which from .So to .pico for object files compiled with -fpic to Switch from .So to .pico for object files compiled with -fpic.Sep 16 2016, 9:23 PM
marcel updated this object.

I can document .po, .pico, etc but prefer to do so in a separate commit. The need for such documentation isn't created by this change, but has always been there. I'll do a followup commit (plus email to @current, etc) after this change is approved.


Maybe; possibly. One can argue either way, which probably means that it should be a separate commit if we want to go that route. To me it feels a little unnecessary, but can do it if you (or others) feel strongly about it.

marcel added a reviewer: marcel.


This revision is now accepted and ready to land.Sep 24 2016, 4:27 PM