https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67062

            Bug ID: 67062
           Summary: -no-pie check breaks cross compilation of GCC [OS X ->
                    Windows]
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lukeallardyce at gmail dot com
  Target Milestone: ---

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.

Reply via email to