-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Reported in the Telegram Loongson user group:
/usr/lib/gcc/loongarch64-unknown-linux-gnu/15.2.0/../../../../loongarch64-unknown-linux-gnu/bin/ld: /buildstream-build/_builddir/libx265_main10.a(search.cpp.o):(.text+0x359c): relocation R_LARCH_PCALA_HI20 against _ZZN10x265_10bit9TURecurseC4ENS_9SplitTypeEjjE16partIdxStepShift can not be used when making a shared object; recompile with -fPIC and check the symbol visibility
/usr/lib/gcc/loongarch64-unknown-linux-gnu/15.2.0/../../../../loongarch64-unknown-linux-gnu/bin/ld: /buildstream-build/_builddir/libx265_main10.a(quant.cpp.o):(.text._ZN10x265_10bit5Quant8rdoQuantILj3EEEjRKNS_6CUDataEPsNS_8TextTypeEjb[_ZN10x265_10bit5Quant8rdoQuantILj3EEEjRKNS_6CUDataEPsNS_8TextTypeEjb]+0x768): relocation R_LARCH_PCALA_HI20 against _ZZN10x265_10bit5Quant8rdoQuantILj3EEEjRKNS_6CUDataEPsNS_8TextTypeEjbE9table_cnt can not be used when making a shared object; recompile with -fPIC and check the symbol visibility
/usr/lib/gcc/loongarch64-unknown-linux-gnu/15.2.0/../../../../loongarch64-unknown-linux-gnu/bin/ld: /buildstream-build/_builddir/libx265_main12.a(entropy.cpp.o):(.text+0x7c20): relocation R_LARCH_PCALA_HI20 against _ZZN10x265_12bit9TURecurseC4ENS_9SplitTypeEjjE16partIdxStepShift can not be used when making a shared object; recompile with -fPIC and check the symbol visibility
/usr/lib/gcc/loongarch64-unknown-linux-gnu/15.2.0/../../../../loongarch64-unknown-linux-gnu/bin/ld: /buildstream-build/_builddir/libx265_main12.a(search.cpp.o):(.text+0x359c): relocation R_LARCH_PCALA_HI20 against _ZZN10x265_12bit9TURecurseC4ENS_9SplitTypeEjjE16partIdxStepShift can not be used when making a shared object; recompile with -fPIC and check the symbol visibility
/usr/lib/gcc/loongarch64-unknown-linux-gnu/15.2.0/../../../../loongarch64-unknown-linux-gnu/bin/ld: /buildstream-build/_builddir/libx265_main12.a(quant.cpp.o):(.text._ZN10x265_12bit5Quant8rdoQuantILj3EEEjRKNS_6CUDataEPsNS_8TextTypeEjb[_ZN10x265_12bit5Quant8rdoQuantILj3EEEjRKNS_6CUDataEPsNS_8TextTypeEjb]+0x768): relocation R_LARCH_PCALA_HI20 against _ZZN10x265_12bit5Quant8rdoQuantILj3EEEjRKNS_6CUDataEPsNS_8TextTypeEjbE9table_cnt can not be used when making a shared object; recompile with -fPIC and check the symbol visibility
/usr/lib/gcc/loongarch64-unknown-linux-gnu/15.2.0/../../../../loongarch64-unknown-linux-gnu/bin/ld: BFD (GNU Binutils) 2.45.0.20250812 assertion fail ../../bfd/elfnn-loongarch.c:2716
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
Errors should not cause the linker to crash.