http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=939
Summary: 4gb_segments & movzbl
Product: Xen
Version: unstable
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: cdpackaging
AssignedTo: xen-...@lists.xensource.com
ReportedBy: samu...@ens-lyon.org
I'm using VMASS_4gb_segments for now, and tried the following program:
__thread char a;
int main(void) {
printf("%d\n",a);
}
And I'm getting a SIGILL at
8048450: 65 0f b6 05 ff ff ff movzbl %gs:0xffffffff,%eax
When turning `a' into an int, the program works. It looks like this is because
movzbl is somehow not correctly supported by the 4gb segment emulation.