[oe] [PATCH] libtorrent / rtorrent: add latest upstream versions and fix crash on nslu2

Koen Kooi k.kooi at student.utwente.nl
Wed May 5 08:40:40 UTC 2010


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

On 05-05-10 08:34, Henry von Tresckow wrote:
> - added version 0.12.6 of libtorrent and 0.8.6 of rtorrent
> - added FULL_OPTIMIZATION_nslu2 ="-mcpu=xscale -fexpensive-optimizations -frename-registers -O2 -fpermissive -fno-inline"

It would be better to stuff that in your $DISTRO as:

FULL_OPTIMIZATION_pn-rtorrent = "-mcpu=xscale -fexpensive-optimizations
- -frename-registers -O2 -fpermissive -fno-inline"

or

FULL_OPTIMIZATION_pn-rtorrent_nslu2 = "-mcpu=xscale
- -fexpensive-optimizations -frename-registers -O2 -fpermissive -fno-inline"

See the perl example in
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/conf/distro/include/angstrom-glibc.inc

And "-fexpensive-optimizations" should only be used after manually
verifying the performance increase, on ARM it usually doesn't work as
intended.

regards,

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

iD8DBQFL4S8IMkyGM64RGpERAsQqAJ48FKOGVu0W2fWNjoj9nqabFo+dnwCeNqsa
d7h1UrgBA+KqUsQziN40OYY=
=U5hG
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list