Skip to contentSkip to conversation

can't compile -- again

DISCUSSION [email protected] 2 participants 2 messages Feb 1, 2005 – Feb 2, 2005

lore
Share & tools
lore
#0 lore raw

Hi, after several trials I still cannot compile the source. My gcc version is 3.3.5, GNU make is 3.80. I am using Gentoo Linux and tried both kernel 2.4.28-r5 and 2.6.10-r1. My PC is Dell with p4 2.4GHz. The error message is the same as below.

make[3]: Entering directory `/usr/src/xen-2.0.bk/xen/common"
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -pipe -I/usr/src/xen-2.0.bk/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c ac_timer.c -o ac_timer.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -pipe -I/usr/src/xen-2.0.bk/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c dom0_ops.c -o dom0_ops.o
dom0_ops.c: In function `do_dom0_op":
/usr/src/xen-2.0.bk/xen/include/asm/mm.h:160: error: can"t find a register in class BREG" while reloading asm" /usr/src/xen-2.0.bk/xen/include/asm/mm.h:160: error: can"t find a register in class BREG" while reloading asm"
make[3]: *** [dom0_ops.o] Error 1
make[3]: Leaving directory `/usr/src/xen-2.0.bk/xen/common" make[2]: *** [/usr/src/xen-2.0.bk/xen/xen] Error 2
make[2]: Leaving directory `/usr/src/xen-2.0.bk/xen"
make[1]: *** [xen] Error 2
make[1]: Leaving directory `/usr/src/xen-2.0.bk"
make: *** [world] Error 2

SOS:)

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl

#1 lore raw

Hmmmm, interesting. What output does gcc -v give?

The following thread:
http://gcc.gnu.org/ml/gcc-bugs/2004-01/msg02826.html
Suggests that this is a Gentoo-specific problem. Perhaps your gcc includes some extensions that get upset by inline asm for some reason.

Cheers,
Mark

Quoted 34 lines · On Tuesday 01 February 2005 15:10, [email protected] wrote:

Hi, after several trials I still cannot compile the source. My gcc version is 3.3.5, GNU make is 3.80. I am using Gentoo Linux and tried both kernel 2.4.28-r5 and 2.6.10-r1. My PC is Dell with p4 2.4GHz. The error message is the same as below.

make[3]: Entering directory `/usr/src/xen-2.0.bk/xen/common"
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -pipe -I/usr/src/xen-2.0.bk/xen/include

(quoted diff) +0 -5
-Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer -msoft-float
-m32 -march=i686 -DNDEBUG -c ac_timer.c -o ac_timer.o
 gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix
 include -Wall -Werror -pipe -I/usr/src/xen-2.0.bk/xen/include
-Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer -msoft-float
-m32 -march=i686 -DNDEBUG -c dom0_ops.c -o dom0_ops.o
 dom0_ops.c: In function `do_dom0_op":
 /usr/src/xen-2.0.bk/xen/include/asm/mm.h:160: error: can"t find a register
 in class `BREG" while reloading `asm"
 /usr/src/xen-2.0.bk/xen/include/asm/mm.h:160: error: can"t find a register
 in class `BREG" while reloading `asm"
 make[3]: *** [dom0_ops.o] Error 1
 make[3]: Leaving directory `/usr/src/xen-2.0.bk/xen/common"
 make[2]: *** [/usr/src/xen-2.0.bk/xen/xen] Error 2
 make[2]: Leaving directory `/usr/src/xen-2.0.bk/xen"
 make[1]: *** [xen] Error 2
 make[1]: Leaving directory `/usr/src/xen-2.0.bk"
 make: *** [world] Error 2
 
 SOS:)
 
 
 
 
 
-------------------------------------------------------
Quoted 8 lines

This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl