[QUESTION] Loongarch bpf selftest liburandom_read.so build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I tried to build kernel 6.15-rc5 bpf selftests on Loongarch machine
running Fedora, the bpf test programs seems built ok, but I got
liburandom_read.so build error below:

  LIB      liburandom_read.so

/usr/bin/ld: cannot find crtbeginS.o: No such file or directory

/usr/bin/ld: cannot find -lstdc++: No such file or directory

/usr/bin/ld: cannot find -lgcc: No such file or directory

/usr/bin/ld: cannot find -lgcc_s: No such file or directory

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [Makefile:253:
/usr/src/linux/tools/testing/selftests/bpf/liburandom_read.so] Error 1

Am I missing  gcc tools for Fedora loongarch?

Thanks,

Vincent




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux