On Fri, May 13, 2016 at 8:39 AM, Mathieu Malaterre <ma...@debian.org> wrote: > Hi Ben ! > > On Mon, May 2, 2016 at 8:53 PM, Ben Hutchings <b...@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.
Forget this non-sense. Sorry.