[Bug 873001] Re: ntp fails to cross-build
ChristianEhrhardt
873001 at bugs.launchpad.net
Fri Apr 29 09:24:55 UTC 2016
I know it's a long time, but I'm cleaning up old NTP bugs atm.
Since in the meantime so much things changed I'd hope to assume that this bug no more applies.
Also I highly appreciate finding the patch to dpdk-cross that points at
least towards an issue.
I'll move the bug to dpdk-cross and set it to incomplete.
If it really is a concern please reopen so that one can take a "2016 look" at it.
** Changed in: ntp (Ubuntu)
Status: New => Incomplete
** Package changed: ntp (Ubuntu) => dpkg-cross (Ubuntu)
--
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:
Incomplete
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