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


Groups > linux.debian.kernel > #61356

Bug#903096: Cross-building for powerpc, powerpcspe, ppc64 fails

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#903096: Cross-building for powerpc, powerpcspe, ppc64 fails
Date 2018-07-06 06:50 +0200
Message-ID <w8qQV-76j-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: src:linux
Version: 4.17.3-1
Severity: normal

Several powerpc platforms require 'wrapper' tools to post-process the
kernel image for use with the platform's boot loader.  For historical
reasons the source for these is included in the kernel tree and we
include the tools in linux-image packages.

The upstream build system always builds the tools as native code,
since they can optionally be used at build time.  As a result, a
cross-build puts wrong-architecture executables into the linux-image
packages.  dh_strip treats this as a fatal error (quite reasonably)
and the build fails.

We should build the tools again using the proper compiler.  We could
also move them into a separate package - this would reduce code
duplication between different kernel flavours, and would allow
cross-building kernel packages without libc-dev for the target
architecture.

Ben.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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


Thread

Bug#903096: Cross-building for powerpc, powerpcspe, ppc64 fails Ben Hutchings <ben@decadent.org.uk> - 2018-07-06 06:50 +0200

csiph-web