Jonathan,
Here are 3 patches that we can apply on Gentoo linux in order to either
compile with our musl profile[1] or comply with Gentoo QA. Two of these issues were
discovered after your patch 15 and are not related to the previous issue
with gcc-10.
It seems that the patch about ldflags was around since patch 09. I'm sorry for not telling
about this one at the time.
Please let me know if you intend to do something about these. Otherwise
we'll package it as is (https://github.com/gentoo/gentoo/pull/16675)
Thanks,
David.
[1] http://musl.libc.org/