This reminds me of another fun edgecase: freebsd ar refuses to archive things if your UID or GID is >1,000,000 b/c ar only supports 6 digitshttps://twitter.com/oshepherd/status/881314630802563076 …
-
-
Replying to @erincandescent @oshepherd
Shouldn't ar just ignore uid and write 0? Like binutils' --enable-deterministic-archives.
1 reply 0 retweets 0 likes -
Replying to @RichFelker
FreeBSD ar is libarchive based iirc, which is pedantic. But I'll not deny that I was very annoyed
1 reply 0 retweets 0 likes -
Replying to @erincandescent @oshepherd
Seems like a really bad/bloated use of abstraction. ar is literally "cat with some boilerplate header cruft in between".
1 reply 0 retweets 0 likes -
Replying to @RichFelker @oshepherd
So binutils ar uses libbfd, which IMHO is even worse...
1 reply 0 retweets 0 likes -
Replying to @bofh453 @oshepherd
Yes, but you do need something that processes .o files to generate the symbol index or whatever that makes access more efficient.
1 reply 0 retweets 0 likes -
A light "ar" might just be able to script it in terms of "nm" though.
1 reply 0 retweets 0 likes -
-
also IMO ar & ranlib should be different binaries, the latter only doing what you just described.
1 reply 0 retweets 0 likes
Ah yes, that's in ranlib not ar...
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.