From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Huang Subject: Re: The segmentfault when using xl create domU Date: Wed, 16 Apr 2014 10:50:50 -0500 Message-ID: <534EA6DA.3020301@samsung.com> References: <25f20e60.4a87.145633bba97.Coremail.duqi_2009@163.com> <1397552021.24638.13.camel@kazak.uk.xensource.com> <78496d24.5d.14564c71cc0.Coremail.duqi_2009@163.com> <534D3E54.9060008@linaro.org> <534DAD89.1040604@samsung.com> <1397640079.24638.134.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <1397640079.24638.134.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "Stefano Stabellini (Xen mainlister)" , duqi , Julien Grall , =?UTF-8?B?5a6r5pmT5Yip?= , hdegoede , "bjzhang@suse.com" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 04/16/2014 04:21 AM, Ian Campbell wrote: > On Tue, 2014-04-15 at 17:07 -0500, Wei Huang wrote: >>> It's a compiler bug. For some reasons gcc doesn't generate the right assembly >>> when -O1 is specified on the command line. Which version of gcc do you use(4.7.*?)? >>> Which distribution are you using? >>> Can you also call disas the crash and copy the output? >>> >>> Gcc 4.8 doesn't seem to be affected. >>> >>> FYI, I got this output from 4.7 with Linaro Ubuntu raring (gcc 4.7.3). >>> [...] >> I saw the same thing on my system and ack'ed that this is compiler >> related. My compiler is 4.7.3. I was able to fix it with the following hack: > > Are you also using the Linaro compiler by any chance? I think so. Here is the GCC --version info: arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 > > I've added warnings to > http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling > and > http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions#Building_Xen_on_ARM > >