On 12 May 2017 at 15:30, Louis Bouchard <[email protected]> wrote:
> Hello,
>
> Well, this is to be expected as the postinst script will only change the
> target of the symlink if the architecture is ppc64EL and not ppc64LE (
> EL != LE).
>
> Now if both are interchangeable (I must admit my ignorance of this
> architecture), I don't mind fixing the script to apply to both EL and
> LE.
>

linux / GNU toolchain / etc use the names "le" for the little endian
architectures.

Debian / dpkg architecture tags use "el" as a tongue-in-cheeck pun
that it is endian little ordered.

Thus there must be a missmatch of values: dpkg vs toolchain
architecture:

$ dpkg-architecture -appc64el
dpkg-architecture: warning: specified GNU system type
powerpc64le-linux-gnu does not match CC system type x86_64-linux-gnu,
try setting a correct CC environment variable
...
DEB_HOST_ARCH=ppc64el
DEB_HOST_ARCH_BITS=64
DEB_HOST_ARCH_CPU=ppc64el
DEB_HOST_ARCH_ENDIAN=little
DEB_HOST_ARCH_OS=linux
DEB_HOST_GNU_CPU=powerpc64le
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu
DEB_HOST_MULTIARCH=powerpc64le-linux-gnu
...

Note the ARCH tag which is dpkg tag, and the GNU_ tags which are what
are used by binutils/gcc/etc tooling. CPU tag is what kernel uses in
uname -a.

-- 
Regards,

Dimitri.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676884

Title:
  kdump-tools uses the wrong crashkernel command line parameter in
  ppc64le

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1676884/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to