[Bug 1792600] Re: cross-toolchain-base ftbfs with linux-4.18

Matthias Klose doko at ubuntu.com
Fri Sep 14 16:38:28 UTC 2018


that's how the "cross" build fails:

  WRAP    arch/arm64/include/generated/asm/xor.h
  UPD     include/generated/uapi/linux/version.h
  UPD     include/generated/utsrelease.h
  HOSTCC  scripts/basic/fixdep
  CC      kernel/bounds.s
gcc: error: unrecognized command line option '-mlittle-endian'; did you mean '-fconvert=little-endian'?
make[5]: *** [Kbuild:21: kernel/bounds.s] Error 1
make[4]: *** [Makefile:1112: prepare0] Error 2
make[3]: *** [debian/rules:4: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[2]: *** [scripts/package/Makefile:72: deb-pkg] Error 2
make[1]: *** [Makefile:1370: deb-pkg] Error 2

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cross-toolchain-base in Ubuntu.
https://bugs.launchpad.net/bugs/1792600

Title:
  cross-toolchain-base ftbfs with linux-4.18

Status in cross-toolchain-base package in Ubuntu:
  Confirmed

Bug description:
  according to the build logs, the build process changed and calls the
  host compiler even for building the header files.  This worked in
  4.15, but not anymore in 4.18.

  To limit the build to one cross arch:

  CROSS_ARCHS=arm64 DEB_BUILD_OPTIONS=... dpkg-buildpackage -b

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cross-toolchain-base/+bug/1792600/+subscriptions



More information about the foundations-bugs mailing list