[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] change to test_x86_emulator.c break gcc -fPIC flag, compile err
>>> On 16.09.14 at 03:57, <dennis.yxun@xxxxxxxxx> wrote: > hello Jan Beulich: > > following commit break gcc -fPIC flag, but compiles fine if turn it off. > I'm using stable-4.4 branch So where does the -fPIC come from? HOSTCFLAGS doesn't include it afaict, and it also doesn't seem very useful for a _test executable_ like this one. I assume you realize that you passing arbitrary flags to gcc to manually compile this file isn't something we really care about much: If you were to contribute an acceptable patch to address the issue, that would be fine, but unless building within the provided build environment fails I don't think we'd spend time on finding a solution for you. Jan > 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/x8 > 6_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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |