The two libraries (libgcc_eh.a & uclibc_nonshared.a) come from the toolchain. I don't experience this issue with bfd, gold, or lld
https://github.com/lancethepants/tomatoware is the project.
I've attached the two libraries if that's helpful at all.
I have difficulty reproducing the issue as your project is huge. I wonder if you could reduce it to a smaller test case, like just cross-compiling gcc on a generic Ubuntu machine.
While cross-compiling gcc for armv7 I get the following linking error.
The two libraries (libgcc_eh.a & uclibc_nonshared.a) come from the toolchain. I don't experience this issue with bfd, gold, or lld https://github.com/lancethepants/tomatoware is the project.
I've attached the two libraries if that's helpful at all.
https://github.com/rui314/mold/commit/52943009b7dce4a0ebb5943092d47e6e33625401 fixed all other issues I was experiencing.
libs.zip