[Bug 873001] Re: ntp fails to cross-build

Launchpad Bug Tracker 873001 at bugs.launchpad.net
Wed Jun 29 04:17:25 UTC 2016


[Expired for dpkg-cross (Ubuntu) because there has been no activity for
60 days.]

** Changed in: dpkg-cross (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  ntp fails to cross-build

Status in dpkg-cross package in Ubuntu:
  Expired

Bug description:
  ntp fails to cross-build:

  Uses correct compiler but chooses wrong-arch header path

  arm-linux-gnueabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib/isc/include -I../lib/isc/nothreads/include -I../lib/isc/unix/include  -D_GNU_SOURCE -I/usr/include  -g -fno-strict-aliasing -O2 -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -Wno-strict-prototypes -c authkeys.c
  authkeys.c: In function 'authencrypt':
  authkeys.c:496:20: error: invalid 'asm': invalid operand for code 'w'
  authkeys.c:496:20: error: invalid 'asm': invalid operand for code 'w'

  The wierd thing is that this only happens if 
   -eCONFIG_SITE=/etc/dpkg-cross/cross-config.armel is specified.

  Running the debuild command without that causes it to get the include
  pathright, but not know how big it's LONGs are. Something in the
  autoconf cache variables is screwing it up, which suggests breakage in
  the configure file, because providing that info should not break the
  build.

  Background:
  The build command is:
  xdeb --only-explicit -a armel --prefer-apt --apt-source --debug --force-rebuild bash

  The actual build command xdeb issues is:
  debuild --no-lintian -eUSER -eCONFIG_SITE=/etc/dpkg-cross/cross-config.armel -eDEB_BUILD_OPTIONS=nocheck -eGTEST_INCLUDEDIR=/usr/arm-linux-gnueabi/include -eGTEST_LIBDIR=/usr/arm-linux-gnueabi/lib -ePKG_CONFIG_LIBDIR=/usr/arm-linux-gnueabi/lib/pkgconfig:/usr/arm-linux-gnueabi/share/pkgconfig:/usr/share/pkgconfig -eDH_VERBOSE=1 -aarmel -b -uc -us -tc

  To easily reproduce the build environment in which this bug was discovered follow the HOWTO here:
  https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossBuildNano

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



More information about the foundations-bugs mailing list