Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xentools45 fails to build on NetBSD 7 - amd64



Louis Guillaume writes:
- On 11/3/15 1:32 PM, Eric Schnoebelen wrote:
- > Louis Guillaume writes:
- > - Here's the error. This is with the pkgsrc-2015Q3 branch, NetBSD-7/amd64
- .
- > - The build machine is running a XEN3_DOMU kernel, if that matters.
- >
- > Which processor family is the XEN3_DOMU kernel?
- 
- amd64
- 
- # uname -a
- NetBSD builder.zabrico.com 7.0 NetBSD 7.0 (XEN3_DOMU) #2: Thu Oct  1 
- 22:06:17 EDT 2015 
- root%builder.zabrico.com@localhost:/usr/obj/sys/arch/amd64/compile/XEN3_DOMU amd64

Hmm, most strange.  I'm currently trying to build xentools45, on
my NetBSD 6.1_STABLE DOM0 and see how it turns out.. (time to move
up from xentools42.)

- > - gmake[9]: Entering directory
- > - '/usr/pkgobj/sysutils/xentools45/default/xen-4.5.1/tools/firmware/rombios/32bit/tcgbios'
- > - gcc -I/usr/include -I/usr/pkg/include  -O1 -fno-omit-frame-pointer -m32
- > - -march=i686 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
- > -   -Wdeclaration-after-statement -Wno-unused-but-set-variable
- > - -Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .tcgbios.o.d
- > - -fno-optimize-sibling-calls -mno-tls-direct-seg-refs  -Werror
- > - -fno-stack-protector -fno-exceptions -fno-builtin -msoft-float
- > - -I/usr/pkgobj/sysutils/xentools45/default/xen-4.5.1/tools/firmware/rombios/
- > - 32bit/tcgbios/../../../../../tools/include
- > - -I.. -I../..  -c -o tcgbios.o tcgbios.c
- > - tcgbios.c:1:0: error: CPU you selected does not support x86-64
- > - instruction set
- >
- > Ah, yes, I see ``-march=i686'' and ``-m32'' in the gcc command
- > line.  That suggests you're trying to build on i386.
- 
- Yes - this is puzzling to me because while it suggests that - I am in 
- fact not! It also occurred to me that this may be building support for 
- i386 guests, but this is the tools, not the kernel.

Any CCOPTS or CFLAGS being set in your mk.conf file?

--
Eric Schnoebelen		eric%cirr.com@localhost		http://www.cirr.com


Home | Main Index | Thread Index | Old Index