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


Groups > linux.debian.kernel > #53989

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

From Mathieu Malaterre <malat@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory
Date 2016-05-13 08:50 +0200
Message-ID <ryf58-6fM-3@gated-at.bofh.it> (permalink)
References <rulVv-3Ub-1@gated-at.bofh.it> <rurey-nY-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Ben !

On Mon, May 2, 2016 at 8:53 PM, Ben Hutchings <ben@decadent.org.uk> wrote:
> Control: tag -1 upstream
>
> On Mon, 2016-05-02 at 15:07 +0200, Mathieu Malaterre wrote:
>> Package: src:linux
>>
>> On PPC:
>>
>> $ apt-get source linux-image-4.5.0-0.bpo.1-powerpc
>> $ cd linux-4.5.1
>> $ make oldconfig
>
> That should fail as there is no .config file to start from.

Well in my case, `make oldconfig` did copy the older configuration
properly for me.

>> $ make modules_prepare
>> $ make modules SUBDIRS=drivers/gpu/drm/radeon
>>
>> or equivalent:
>>
>> $ make drivers/gpu/drm/radeon/radeon.ko
>>
>> both fails with:
>>
>> ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or
>> directory
>>
>> Easy fix is obviously:
>>
>> $ make arch/powerpc/lib/crtsavres.o
>>
>> It would be nice to have proper deps setup.
>
> You should raise this upstream as it has nothing to do with the Debian
> packaging.

Just to understand correctly, the Makefile currently reads as:

$ grep -3 CONFIG_476FPE_ERR46 arch/powerpc/Makefile

KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o

ifeq ($(CONFIG_476FPE_ERR46),y)
KBUILD_LDFLAGS_MODULE += --ppc476-workaround \
-T $(srctree)/arch/powerpc/platforms/44x/ppc476_modules.lds
endif


So `CONFIG_476FPE_ERR46` does not need to be explicitly set within
Debian setup, and must be a legacy variable that does not work anymore
nowadays (and thus is indeed a bug upstream).

Thanks for clarification.

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next 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