In newer versions of mingw, programs compiled with FORTIFY_SOURCE need to link to libssp or they will have link-time errors. gmp has been broken since @pstn updated mingw-64 in c60a0b0447
c60a0b0447