I've now got three packages which used to cross-build OK but which are
now all failing with identical errors from the assembler:
The first is cups (the new source name for cupsys)
In file included from globals.h:31,
from http-addr.c:31:
/usr/include/pthread.h:653: warning: ‘__regparm__’ attribute directive ignored
/usr/include/pthread.h:664: warning: ‘__regparm__’ attribute directive ignored
/usr/include/pthread.h:708: warning: ‘__regparm__’ attribute directive ignored
http-addr.c: In function ‘httpGetHostByName’:
http-addr.c:464: error: invalid 'asm': invalid operand for code 'w'
http-addr.c:464: error: invalid 'asm': invalid operand for code 'w'
make[2]: *** [http-addr.o] Error 1
make[2]: Leaving directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.7/cups'
make[1]: *** [all] Error 1
The problem shows as:
error: invalid 'asm': invalid operand for code 'w'
I see the same in gnome-vfs and ntp.
See #480718 and #480730
Has something gone wrong maybe in binutils-arm-linux-gnu ?
Setup appears OK for Emdebian. Report follows:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=============================-=============================-==========================================================================
ii binutils-arm-linux-gnu 2.18.1~cvs20080103-6 The GNU binary utilities, for arm-linux-gnu target
ii cpp-4.3-arm-linux-gnu 4.3.1-1 The GNU C preprocessor
ii g++-4.3-arm-linux-gnu 4.3.1-1 The GNU C++ compiler
ii gcc-4.3-arm-linux-gnu 4.3.1-1 The GNU C compiler
ii gcc-4.3-arm-linux-gnu-base 4.3.1-1 The GNU Compiler Collection (base package)
ii libc6-arm-cross 2.7-12 GNU C Library: Shared libraries (for cross-compiling)
ii libc6-dev-arm-cross 2.7-12 GNU C Library: Development Libraries and Header Files (for cross-compiling
ii libgcc1-arm-cross 1:4.3.1-1 GCC support library
ii libstdc++6-4.3-dev-arm-cross 4.3.1-1 The GNU Standard C++ Library v3 (development files)
ii libstdc++6-4.3-pic-arm-cross 4.3.1-1 The GNU Standard C++ Library v3 (shared library subset kit)
ii libstdc++6-arm-cross 4.3.1-1 The GNU Standard C++ Library v3
ii linux-libc-dev-arm-cross 2.6.25-4 Linux Kernel Headers for development (for cross-compiling)
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
libgcc1-arm-cross libstdc++6-4.3-dev-arm-cross libstdc++6-4.3-pic-arm-cross libstdc++6-arm-cross
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
Attachment:
signature.asc
Description: This is a digitally signed message part