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

            Bug ID: 108491
           Summary: cross compiler does not work: cc1: error:
                    ‘-msecure-plt’ not supported by your assembler
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: segher at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: powerpc-freebsd13

Building the cross-compiler fails with:

./xgcc -B./ -B/home/marxin/bin/gcc/powerpc-freebsd13/bin/ -isystem
/home/marxin/bin/gcc/powerpc-freebsd13/include -isystem
/home/marxin/bin/gcc/powerpc-freebsd13/sys-include -L/dev/shm/objdir2/gcc/../ld
 -xc -nostdinc /dev/null -S -o /dev/null
-fself-test=/home/marxin/Programming/gcc2/gcc/testsuite/selftests
cc1: error: ‘-msecure-plt’ not supported by your assembler
make: *** [/home/marxin/Programming/gcc2/gcc/c/Make-lang.in:128: s-selftest-c]
Error 1
make: *** Waiting for unfinished jobs....

Shouldn't we add detection for an assembler, if it's supported or not?

Reply via email to