Mailing List Archive

troubles when building 64bit XEN
Hello ZEN users,

I am trying to build a 64 bit XEN on my SUN V20z (dual AMD) server. I use xen-2.0.5 source code.
When I compile the source code I am getting multiple errors (f.i. : declarations not found). I
read on the mailing list that someone was able to build XEN in 64 bit mode. I would very
appreciate if anyone of you could provide me any help.

Everything works (builds) perfectly on RedHat 9 (32 bit 2.4.21 kernel).

If required I will provide the log from the compile session.

System details:

Linux localhost 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux
gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)



Many thanks,
Piotr

Radiating Collapse with Vanishing Weyl stresses

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: troubles when building 64bit XEN [ In reply to ]
Hi,

I was asked for the logs:

all is fine until this part...
...
make[3]: Entering directory `/var/XEN/xen-2.0/xen/arch/x86'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror
-pipe -I/var/XEN/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer
-msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG
-D__ASSEMBLY__ -c boot/x86_64.S -o boot/x86_64.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror
-pipe -I/var/XEN/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer
-msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG
-D__ASSEMBLY__ -c trampoline.S -o trampoline.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror
-pipe -I/var/XEN/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer
-msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG
-c acpi.c -o acpi.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror
-pipe -I/var/XEN/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer
-msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG
-c apic.c -o apic.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror
-pipe -I/var/XEN/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer
-msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG
-c delay.c -o delay.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror
-pipe -I/var/XEN/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer
-msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG
-c dom0_ops.c -o dom0_ops.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror
-pipe -I/var/XEN/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer
-msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG
-c domain.c -o domain.o
domain.c: In function `arch_do_createdomain':
domain.c:270: error: `m2p_start_mfn' undeclared (first use in this function)
domain.c:270: error: (Each undeclared identifier is reported only once
domain.c:270: error: for each function it appears in.)
make[3]: *** [domain.o] Error 1
make[3]: Leaving directory `/var/XEN/xen-2.0/xen/arch/x86'




Piotr

--- Piotr Wolak <piotr_wolak@yahoo.com> wrote:
> Hello ZEN users,
>
> I am trying to build a 64 bit XEN on my SUN V20z (dual AMD) server. I use xen-2.0.5 source code.
> When I compile the source code I am getting multiple errors (f.i. : declarations not found). I
> read on the mailing list that someone was able to build XEN in 64 bit mode. I would very
> appreciate if anyone of you could provide me any help.
>
> Everything works (builds) perfectly on RedHat 9 (32 bit 2.4.21 kernel).
>
> If required I will provide the log from the compile session.
>
> System details:
>
> Linux localhost 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux
> gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
>
>
>
> Many thanks,
> Piotr
>
> Radiating Collapse with Vanishing Weyl stresses
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>

Radiating Collapse with Vanishing Weyl stresses



__________________________________
Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: troubles when building 64bit XEN [ In reply to ]
On Mon, 2005-04-18 at 06:51 -0700, Piotr Wolak wrote:
> Hi,
>
> I was asked for the logs:
>
> all is fine until this part...
> ...
> make[3]: Entering directory `/var/XEN/xen-2.0/xen/arch/x86'
You need to use the unstable tree if you want to try x86-64. Last I
heard it could be made to compile, but I don't know if it boots or not
yet. I haven't personally tried it yet, but hope to this week.

--
Thanks,
Paul Larson
plars@linuxtestproject.org
http://www.linuxtestproject.org
Re: troubles when building 64bit XEN [ In reply to ]
Sweet... will try it now and let you know.

Thanks Paul!

Piotr

--- Paul Larson <plars@linuxtestproject.org> wrote:
> On Mon, 2005-04-18 at 06:51 -0700, Piotr Wolak wrote:
> > Hi,
> >
> > I was asked for the logs:
> >
> > all is fine until this part...
> > ...
> > make[3]: Entering directory `/var/XEN/xen-2.0/xen/arch/x86'
> You need to use the unstable tree if you want to try x86-64. Last I
> heard it could be made to compile, but I don't know if it boots or not
> yet. I haven't personally tried it yet, but hope to this week.
>
> --
> Thanks,
> Paul Larson
> plars@linuxtestproject.org
> http://www.linuxtestproject.org
>

Radiating Collapse with Vanishing Weyl stresses

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users