Skip to contentSkip to conversation

Invalid build host architecture detection on multiarch systems

DISCUSSION Yauhen Kharuzhy 1 participant 1 message Sep 30, 2012

lore
Share & tools
lore
#0 lore raw

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).

Signature · 5 lines
Yauhen Kharuzhy		JID: [email protected]
			skype: jekhor
 
A: No
Q: Should I quote below my post?