From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: The segmentfault when using xl create domU Date: Wed, 16 Apr 2014 16:56:17 +0100 Message-ID: <534EA821.7060702@linaro.org> 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> <534EA6DA.3020301@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <534EA6DA.3020301@samsung.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: Wei Huang Cc: Ian Campbell , "Stefano Stabellini (Xen mainlister)" , duqi , =?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:50 PM, Wei Huang wrote: > 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 Linaro as shipped a new version of GCC 4.7 (based on 4.7.4) a couple of days ago. They don't plan to release another version of 4.7. So I don't think it's useful to report the bug. Unless it's also happen with upstream GCC. Regards, -- Julien Grall