https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67062
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Luke Allardyce from comment #0) > When cross building GCC for windows on OS X the -no-pie flag is being passed > to the native linker for some of the build tools (e.g. genhooks) which > breaks the build, it looks like the flag test is being performed by the > cross compiler but the result is used for both the cross linker and the > native linker. I can work around it for now by deleting the "BUILD_LDFLAGS > += -no-pie" line in the generated gcc/Makefile. could you please specify your full build/host/target triplets?