Pasi Kärkkäinen
2009-May-04 15:18 UTC
[Fedora-xen] Problems rebuilding fedora xen-3.3.1-11.fc11.src.rpm with debug enabled
Hello.
I''m trying to rebuild xen-3.3.1-11.fc11.src.rpm with debug enabled to
be
able to get more debug information from pv_ops dom0 kernels.
.. and I have a problem. Has someone else seen this problem?
I modified xen.spec and added "debug=y verbose=y crash_debug=y"
options to
"%if %{hv_build}" section to make command.
Running "rpmbuild -bb xen.spec" gives 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''
Based on some googling it could be a gcc problem? I''m running:
# rpm -qa|grep gcc
gcc-gfortran-4.4.0-3.i586
libgcc-4.4.0-3.i586
gcc-c++-4.4.0-3.i586
gcc-debuginfo-4.3.2-7.i386
gcc-4.4.0-3.i586
-- Pasi
Pasi Kärkkäinen
2009-May-05 06:53 UTC
Re: [Fedora-xen] Problems rebuilding fedora xen-3.3.1-11.fc11.src.rpm with debug enabled
On Mon, May 04, 2009 at 06:18:18PM +0300, Pasi Kärkkäinen wrote:> Hello. > > I''m trying to rebuild xen-3.3.1-11.fc11.src.rpm with debug enabled to be > able to get more debug information from pv_ops dom0 kernels. > > .. and I have a problem. Has someone else seen this problem? > > I modified xen.spec and added "debug=y verbose=y crash_debug=y" options to > "%if %{hv_build}" section to make command. > > Running "rpmbuild -bb xen.spec" gives 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'' > > Based on some googling it could be a gcc problem? I''m running: > > # rpm -qa|grep gcc > gcc-gfortran-4.4.0-3.i586 > libgcc-4.4.0-3.i586 > gcc-c++-4.4.0-3.i586 > gcc-debuginfo-4.3.2-7.i386 > gcc-4.4.0-3.i586 >http://lists.xensource.com/archives/html/xen-devel/2009-05/msg00075.html OK it''s a Xen bug. Patch from the above mail should fix the problem. -- Pasi