Closed atopia closed 10 months ago
Thanks a lot for the compat-libc
implementation @ssumpf!
@nfeske I hope this implements your suggestion for a static library package correctly.
@jschlatow please have a look if you find the Goa side of the implementation acceptable.
@atopia Looks reasonable from my perspective. Would you mind squashing your commits and changing the commit messages accordingly? I was first puzzled by the fork problem only to see that it was resolved by a later commit.
@jschlatow I have squashed the fixup commit but I would prefer to keep the other two commits separate: mostly to attribute authorship and also because @ssumpf's solution is interesting in it's own right and I think it would be good to keep it around for future reference.
@atopia your topic branch for genode contains two commits for this issue. What is your merging plan? In my opinion these commits do not affect any other Genode component and could be merged until tomorrow.
Due to ABI changes in FreeBSD 12, the libc crate used by rustc currently tries to link against versioned symbols of some library functions to preserve compatability with FreeBSD 11.
To make the standard library distributed with the
x86_64-unknown-freebsd
target work, statically link versioned stat() and fstat() symbols from the thecompat-libc
api package.