[oe] Invalid build host architecture detection on multiarch systems

Yauhen Kharuzhy jekhor at gmail.com
Sun Sep 30 21:27:42 UTC 2012


Hi.

The current OE-Core build system detects a build host arch based on 'uname'
output. This works good in case of a single-architecture system. But if we
have, for example, amd64 kernel + i386 userspace, detection fails.
It can be invalid if we have multiarch-enabled userspace also.

Openssl-native is not compiled in such cases due architecture-specific
assembler sources.

My assumption that an build host arch can be defined as a default
architecture of the main C compiler ('gcc -dumpmachine' or by similar way).

-- 
Yauhen Kharuzhy		JID: jek at jabber.ru
			skype: jekhor
 
A: No
Q: Should I quote below my post?




More information about the Openembedded-devel mailing list