bits/byteswap.h __bswap_32 does not cross compiling on ARM processors
Bug #315308 reported by
mike morrison
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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_
---
$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ apt-cache policy libc6-dev
libc6-dev:
Installed: 2.8~20080505-
Candidate: 2.8~20080505-
Version table:
*** 2.8~20080505-
500 http://
100 /var/lib/
To post a comment you must log in.