https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105507
--- Comment #7 from Christoph Reiter <reiter.christoph at gmail dot com> --- We currently link: shared: gmp, winpthread, zlib, zstd static: mpc, mpfr, isl Not for any particular gcc related reason I think, some dependent packages have static/shared builds, some don't.