Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #59242

Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.ports.powerpc, linux.debian.kernel
Subject Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory
Date 2017-10-20 00:10 +0200
Message-ID <uCraN-3SQ-1@gated-at.bofh.it> (permalink)
References <uCpsm-2N3-29@gated-at.bofh.it> <rulVv-3Ub-1@gated-at.bofh.it> <uCpsm-2N3-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 3 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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 <npiggin@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

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory Mathieu Malaterre <malat@debian.org> - 2016-05-02 15:20 +0200
  Processed: Re: Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No  such file: No such file or directory owner@bugs.debian.org (Debian Bug Tracking System) - 2016-05-02 21:00 +0200
  Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory Ben Hutchings <ben@decadent.org.uk> - 2016-05-02 21:00 +0200
    Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory Mathieu Malaterre <malat@debian.org> - 2016-05-13 08:50 +0200
  Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2017-10-19 22:30 +0200
  Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2017-10-19 22:30 +0200
    Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory Ben Hutchings <ben@decadent.org.uk> - 2017-10-20 00:10 +0200

csiph-web