Public bug reported:
Binary package hint: libc6-dev
When I try to cross compile programs for an ARM processor (omap3) that
use bswap_32() directly or indirectly through functions like htons() the
compiler complains:
error: invalid 'asm': invalid operand for code 'w'
This only happens when __builtin_constant_p returns 0.
---
$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ apt-cache policy libc6-dev
libc6-dev:
Installed: 2.8~20080505-0ubuntu7
Candidate: 2.8~20080505-0ubuntu7
Version table:
*** 2.8~20080505-0ubuntu7 0
500 http://archive.ubuntu.com intrepid/main Packages
100 /var/lib/dpkg/status
** Affects: glibc (Ubuntu)
Importance: Undecided
Status: New
--
bits/byteswap.h __bswap_32 does not cross compiling on ARM processors
https://bugs.launchpad.net/bugs/315308
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs