On Tue, 2016-09-27 at 14:48 +0200, Helge Deller wrote: > Hi Ben, > > On 23.09.2016 05:39, Ben Hutchings wrote: > > > > I pushed a fix to the sid branch which I've tested on a powerpc > > porterbox. > > The addition of > dh_strip --no-automatic-dbgsym > > broke the 64bit parisc/hppa kernel build:
That's strange, because it's not really an addition (we've always run dh_strip). [...] > I'm currently testing this patch (not sure if this is a good patch though): > - dh_strip --no-automatic-dbgsym > + $(CROSS_COMPILE)strip --remove-section=.comment --remove-section=.note > '$(DIR)/$(IMAGE_FILE)' This is not correct because we do want to strip the userland tools that get included in powerpc builds. We could add -Xvmlinux to the dh_strip command to make sure it doesn't touch the kernel. vmlinux is being stripped using $(CROSS_COMPILE)objcopy, but I wonder whether we should be using hppa64-linux-gnu-objcopy instead for the 64- bit kernel? Ben. -- Ben Hutchings If the facts do not conform to your theory, they must be disposed of.
signature.asc
Description: This is a digitally signed message part