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

[Xen-devel] Vmxassist build failure on gcc 3.3.5

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Woller, Thomas" <thomas.woller@xxxxxxx>
  • Date: Thu, 19 Oct 2006 11:39:32 -0500
  • Delivery-date: Thu, 19 Oct 2006 09:40:32 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcbznSeBTn7r3870TrOkcPhwGhDWtg==
  • Thread-topic: Vmxassist build failure on gcc 3.3.5

Our build server is failing on xen-unstable.hg c/s 11822 in
hg annotate shows that the code hasn't changed for quite a while.  This
is 64bit and 32bit builds, trying 32bit pae now.

If I change the failing line in traps.S from:
        movl    $DATA_SELECTOR, %eax    /* make sure these are sane */
        movl    DATA_SELECTOR, %eax     /* make sure these are sane */

Build picks up the #define of DATA_SELECTOR in machine.h, and builds

The failure is with gcc 3.3.5, I just tried a local SLES10 gcc 4.0.2
version and it seems to work fine with either of the above asm lines,
and generates same opcodes.  
Should the "$" be removed?

Here is the failure:
xec]      [exec] gcc  -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value      -DDEBUG -DTEXTADDR=0x000D0000
-I. -I../../../tools/libxc -fno-builtin -O2 -msoft-float -D__ASSEMBLY__
-DDEBUG -DTEXTADDR=0x000D0000 -c trap.S
  [sshexec]      [exec] gcc  -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value      -DDEBUG -DTEXTADDR=0x000D0000
-I. -I../../../tools/libxc -fno-builtin -O2 -msoft-float -c vm86.c
  [sshexec]      [exec] gcc  -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value      -DDEBUG -DTEXTADDR=0x000D0000
-I. -I../../../tools/libxc -fno-builtin -O2 -msoft-float -c setup.c
  [sshexec]      [exec] gcc  -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value      -DDEBUG -DTEXTADDR=0x000D0000
-I. -I../../../tools/libxc -fno-builtin -O2 -msoft-float -c util.c
  [sshexec]      [exec] cpp -P -DDEBUG -DTEXTADDR=0x000D0000
vmxassist.ld > vmxassist.tmp
  [sshexec]      [exec] ld -o vmxassist -melf_i386 -nostdlib
--fatal-warnings -N -T vmxassist.tmp head.o trap.o vm86.o setup.o util.o
  [sshexec]      [exec] trap.o(.text+0x308): In function `common_trap':

  [sshexec]      [exec] trap.S: undefined reference to `DATA_SELECTOR'

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.