-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Phil Blundell schreef:
>> tune-arm920t: add -mcpu=arm920t since gcc will happily generate armv5
>> isns (clz, bx) when using -march=armv4t, spotted by Lennert Buytenhek 
>>
>> Author: [EMAIL PROTECTED] 
>> Branch: org.openembedded.dev 
>> Revision: bb3f06200e48a9c58220e436bf03b8eaa6b17177
> 
> Do you have a testcase for that problem? 

MACHINE=ep93xx
DISTRO=angstrom-2006.9

build glibc 2.4 and:

arm-angstrom-linux-gnueabi/bin/objdump --disassemble lib/ld-linux.so.3 |
grep clz
1428c:       e16f3f11        clz     r3, r1
14290:       e16f2f10        clz     r2, r0
142fc:       e16f2f11        clz     r2, r1
14364:       e16f2f11        clz     r2, r1
14368:       e16f0f13        clz     r0, r3
143e8:       e16f2f11        clz     r2, r1

> That sounds like a bug in
> either gcc or the package you're building, and it might affect more than
> just arm920.  This workaround sounds fine, but it would be nice to fix
> the underlying bug as well.

Indeed, especially since gcc-cross now bails out during compile
somewhere in phtread<something>.c and glibc's configure bails out
complaining that the compiler doesn't support visibility.
And I suspect this patch doesn't do much good on armv4t as well:
http://www.openembedded.org/repo/org.openembedded.dev/packages/gcc/gcc-4.1.1/arm-thumb.patch

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEuhIEMkyGM64RGpERAqDDAJ9uFlp4LYTor29t0w3c2EqKIbTKYgCeJja5
OS/qyzWCD2sl3ql04KIpuOI=
=GVZz
-----END PGP SIGNATURE-----

_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to