﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
817	CPU target not set correctly for ia32 userspace	Jiri Svoboda		"It appears that {{{-march}}} is not passed to compiler when building ia32 target.

This is suggested by [https://github.com/HelenOS/helenos/blob/6d974a4df3a4ac12461577b02c12d9da9ebe8bb9/meson/arch/ia32/meson.build#L37 meson/arch/ia32/meson.build line 37] which I quote:

{{{
# FIXME: enabling -march for uspace makes malloc tests crash. Investigate.
}}}

And when I compiled with i486 as processor, I found conditional move (cmove..) instructions in the vterm binary. Conditional move instructions were introduced in Pentium Pro (and are not supported by all CPUs of that family).

This means, among other things, that userspace would not work properly on older CPUs despite properly setting CPU as i486 in the build configuration.
"	defect	closed	major		helenos-build/ia32	mainline	duplicate				#830	
