https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100427
Bug ID: 100427 Summary: canadian compile for mingw-w64 copies the wrong dlls for mingw-w64 multilibs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- i find that libstdc++ incorrectly installed 32bit in the $sysroot/bin. Technically, $sysroot/lib or $sysroot/lib64 should install 64bits of libstdc++.dll The code is compiled, but the libstdc++'s dlls are installed incorrectly. cqwrteur@Home-Server:~/all_mingw_toolchains/host/x86_64-w64-mingw32/bin$ objdump -h libstdc++-6.dll libstdc++-6.dll: file format pei-i386 Sections: The actual dll is cqwrteur@Home-Server:~/myhome/glibc231/phase2/gcc/x86_64-w64-mingw32/libstdc++-v3/src/.libs$ objdump -h libstdc++-6.dll libstdc++-6.dll: file format pei-x86-64