On Thu, 2017-10-19 at 22:18 +0200, John Paul Adrian Glaubitz wrote: > Hi Mathieu! > > I'm now running into exactly this problem when trying to build the SPL library > on a native ppc64 system for ZFS-on-Linux, see below. > > Can you give me a pointer on how to resolve this issue? > > configure:15763: checking whether modules can be built > configure:15786: cp conftest.c build && make modules -C > /usr/src/linux-headers-4.13.0-1-powerpc64 > EXTRA_CFLAGS=-Werror-implicit-function-declaration > M=/home/glaubitz/zfstests/spl/build > /bin/sh: 1: /usr/src/linux-headers-4.13.0-1-common/scripts/ld-version.sh: not > found > /bin/sh: 1: [: -ge: unexpected operator > ld: cannot find arch/powerpc/lib/crtsavres.o: No such file or directory [...]
This is a different problem. powerpc 64-bit builds have started using that script since 4.13: commit efe0160cfd40a99c052a00e174787c1f4158a9cd Author: Nicholas Piggin <npig...@gmail.com> Date: Fri May 12 01:56:52 2017 +1000 powerpc/64: Linker on-demand sfpr functions for modules So we should either ship the script or patch out the version test. Ben. -- Ben Hutchings We get into the habit of living before acquiring the habit of thinking. - Albert Camus
signature.asc
Description: This is a digitally signed message part