https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100016
Bug ID: 100016 Summary: multilib mingw-w64 links to the wrong multilib path because of libtool Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- Created attachment 50546 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50546&action=edit error message The issue is that 32bit mulitlib incorrectly links to /lib (which is 64 bits) instead of linking to /lib32 This happens for all multilibs sublibs. including libgcc, libquadmath, libatomic and libstdc++ There is even a very old webpage talking about this. https://pete.akeo.ie/2010/07/compiling-mingw-w64-with-multilib-on.html Time for a fix.