I've almost got @musllibc to the point where we can use the same *.o files for libc.a and libc.so.
-
-
Of course you still have to build separately for libc.a if you want non-PIC, but using PIC in libc.a gives you static-linked pie support.
-
@RichFelker Please don't make it the default. I like my small non-PIC static libc.a even if I have to build the .o's twice. -
@laurentbercot Size diff is something like 2-3% depending on arch. I'd like to offer static-PIE by default. -
@laurentbercot Not sure whether to leave an opt. to build 2 sets of .o's in one run or just recommend 2 separate builds (easy w/out-of-tree) -
@RichFelker Please leave an option. I will consider it a serious regression if getting the same libc as before requires more effort.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.