Pasi Kärkkäinen
2009-May-04 19:00 UTC
[Xen-devel] bad register name `%sil'' when building debug enabled xen 3.3.1 with gcc 4.4.0 on fedora 11
Hello! Has anyone seen this error?: traps.c: Assembler messages: traps.c:1343: Error: bad register name `%sil'' make[4]: *** [traps.o] Error 1 make[4]: Leaving directory `/root/rpmbuild/BUILD/xen-3.3.1/xen/arch/x86'' make[3]: *** [/root/rpmbuild/BUILD/xen-3.3.1/xen/arch/x86/built_in.o] Error 2 I''m trying to rebuild Fedora xen-3.3.1-11.fc11.src.rpm with debugging enabled ("debug=y verbose=y crash_debug=y"). Normal non-debug build succeeds fine without errors.. gcc bug? xen bug? Thanks! -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2009-May-04 19:03 UTC
Re: [Xen-devel] bad register name `%sil'' when building debug enabled xen 3.3.1 with gcc 4.4.0 on fedora 11
On Mon, May 04, 2009 at 10:00:56PM +0300, Pasi Kärkkäinen wrote:> Hello! > > Has anyone seen this error?: > > traps.c: Assembler messages: > traps.c:1343: Error: bad register name `%sil'' > make[4]: *** [traps.o] Error 1 > make[4]: Leaving directory `/root/rpmbuild/BUILD/xen-3.3.1/xen/arch/x86'' > make[3]: *** [/root/rpmbuild/BUILD/xen-3.3.1/xen/arch/x86/built_in.o] Error 2 > > I''m trying to rebuild Fedora xen-3.3.1-11.fc11.src.rpm with debugging > enabled ("debug=y verbose=y crash_debug=y"). > > Normal non-debug build succeeds fine without errors.. gcc bug? xen bug? ># gcc --version gcc (GCC) 4.4.0 20090427 (Red Hat 4.4.0-3) Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Pasi> Thanks! > > -- Pasi > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2009-May-04 21:53 UTC
Re: [Xen-devel] bad register name `%sil'' when building debug enabled xen 3.3.1 with gcc 4.4.0 on fedora 11
On 04/05/2009 20:00, "Pasi Kärkkäinen" <pasik@iki.fi> wrote:> I''m trying to rebuild Fedora xen-3.3.1-11.fc11.src.rpm with debugging > enabled ("debug=y verbose=y crash_debug=y"). > > Normal non-debug build succeeds fine without errors.. gcc bug? xen bug?A couple of asm constraints should be "=qm" rather than "=rm". I will fix for 3.4.0 and 3.3.1. You can use the attached patch to fix your build. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2009-May-05 06:19 UTC
Re: [Xen-devel] bad register name `%sil'' when building debug enabled xen 3.3.1 with gcc 4.4.0 on fedora 11
On Mon, May 04, 2009 at 10:53:16PM +0100, Keir Fraser wrote:> On 04/05/2009 20:00, "Pasi Kärkkäinen" <pasik@iki.fi> wrote: > > > I''m trying to rebuild Fedora xen-3.3.1-11.fc11.src.rpm with debugging > > enabled ("debug=y verbose=y crash_debug=y"). > > > > Normal non-debug build succeeds fine without errors.. gcc bug? xen bug? > > A couple of asm constraints should be "=qm" rather than "=rm". I will fix > for 3.4.0 and 3.3.1. You can use the attached patch to fix your build. >Thanks! I''ll try the patch later today. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2009-May-05 14:56 UTC
Re: [Xen-devel] bad register name `%sil'' when building debug enabled xen 3.3.1 with gcc 4.4.0 on fedora 11
On Tue, May 05, 2009 at 09:19:00AM +0300, Pasi Kärkkäinen wrote:> On Mon, May 04, 2009 at 10:53:16PM +0100, Keir Fraser wrote: > > On 04/05/2009 20:00, "Pasi Kärkkäinen" <pasik@iki.fi> wrote: > > > > > I''m trying to rebuild Fedora xen-3.3.1-11.fc11.src.rpm with debugging > > > enabled ("debug=y verbose=y crash_debug=y"). > > > > > > Normal non-debug build succeeds fine without errors.. gcc bug? xen bug? > > > > A couple of asm constraints should be "=qm" rather than "=rm". I will fix > > for 3.4.0 and 3.3.1. You can use the attached patch to fix your build. > > > > Thanks! > > I''ll try the patch later today. >And indeed, the attached patch fixes the problem! Thanks again. Now back to debugging pv_ops dom0 kernels :-) -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel