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

[Xen-devel] change to test_x86_emulator.c break gcc -fPIC flag, compile err



 hello Jan Beulich:

following commit break gcc -fPIC flag, but compiles fine if turn it off.
I'm using stable-4.4 branch

commit 91a13bcf99d1a47f6f7ccd364b95b1b8500c2be2
Author: Jan Beulich <jbeulich@xxxxxxxx>
Date:   Fri Aug 22 14:07:36 2014 +0200

    x86_emulate: properly do IP updates and other side effects on success


x86_emulator # pwd
/var/tmp/portage/app-emulation/xen-tools-4.4.1/work/xen-4.4.1/tools/tests/x86_emulator
 x86_emulator # gcc -Wall -Werror -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing
-Wdeclaration-after-statement
-I/var/tmp/portage/app-emulation/xen-tools-4.4.1/work/xen-4.4.1/tools/tests/x86_emulator/../../../tools/include
-c -fPIC -g -o test_x86_emulator.o test_x86_emulator.c
/tmp/ccRSETSJ.s: Assembler messages:
/tmp/ccRSETSJ.s:2685: Error: missing or invalid displacement
expression `vmovsd_to_mem_len@GOTPCREL'
/tmp/ccRSETSJ.s:2782: Error: missing or invalid displacement
expression `vmovdqu_from_mem_len@GOTPCREL'
/tmp/ccRSETSJ.s:2997: Error: missing or invalid displacement
expression `movaps_from_mem_len@GOTPCREL'
/tmp/ccRSETSJ.s:3064: Error: missing or invalid displacement
expression `movdqu_to_mem_len@GOTPCREL'
/tmp/ccRSETSJ.s:3190: Error: missing or invalid displacement
expression `movdqu_from_mem_len@GOTPCREL'
/tmp/ccRSETSJ.s:3449: Error: missing or invalid displacement
expression `movsd_to_mem_len@GOTPCREL'
/tmp/ccRSETSJ.s:3557: Error: missing or invalid displacement
expression `vmovdqu_to_mem_len@GOTPCREL'
/tmp/ccRSETSJ.s:3665: Error: missing or invalid displacement
expression `movq_from_mem_len@GOTPCREL'
/tmp/ccRSETSJ.s:3829: Error: missing or invalid displacement
expression `movq_to_mem_len@GOTPCREL'
/tmp/ccRSETSJ.s:4210: Error: missing or invalid displacement
expression `vmovaps_from_mem_len@GOTPCREL'

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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