New linker testsuite failure: FAIL: loongarch relax-align

Nick Clifton nickc@redhat.com
Fri Nov 17 13:18:41 GMT 2023


Hi Guys,

   I am seeing a new loongarch64 linker testsuite failure:

./ld-new -o tmpdir/relax-align  -L/ld/testsuite/ld-loongarch-elf -e 0x0 -z relro tmpdir/relax-align.o
./ld-new: warning: -z relro ignored
FAIL: loongarch relax-align

   This happens if you configure the binutils for a loongarch64-elf
   target.  It does not happen for a loongarch64-linux-gnu target.

   Would you mind taking a look and fixing the problem please ?

Cheers
   Nick

PS.  There are two other, similar failures for the loongarch64-elf
   target that have been around for a while now:

  ./ld-new -L/ld/testsuite/ld-loongarch-elf  -shared -z combreloc -o tmpdir/dump tmpdir/local-ifunc-reloc.o
  ./ld-new: -shared not supported
   FAIL: ld-loongarch-elf/local-ifunc-reloc

   ./ld-new -o tmpdir/64_pcrel -L/ld/testsuite/ld-loongarch-elf -e 0x0 -z relro tmpdir/64_pcrel.o
   ./ld-new: warning: -z relro ignored
   FAIL: 64_pcrel



More information about the Binutils mailing list