New linker testsuite failure: FAIL: loongarch relax-align

liuzhensong liuzhensong@loongson.cn
Sat Nov 18 01:28:08 GMT 2023


在 2023/11/17 下午9:18, Nick Clifton 写道:
> 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


Thanks, We'll fix this soon.



More information about the Binutils mailing list