2 messages in com.xensource.lists.xen-bugs[Xen-bugs] [Bug 939] New: 4gb_segment...
FromSent OnAttachments
bugz...@lists.xensource.com25 Mar 2007 16:00 
bugz...@lists.xensource.com27 Nov 2007 13:47 
Subject:[Xen-bugs] [Bug 939] New: 4gb_segments & movzbl
From:bugz...@lists.xensource.com (bugz@lists.xensource.com)
Date:03/25/2007 04:00:20 PM
List:com.xensource.lists.xen-bugs

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.