[ipxe-devel] Bug report: missing or invalid displacement expression `private_key_len at GOTOFF'

Michael Brown mcb30 at ipxe.org
Wed Feb 3 22:51:53 GMT 2016


On 30/01/16 22:14, perlsite at mail.bg wrote:
> And I get the following error:
> ...
>    [BUILD] bin/privkey.o
>
> /tmp/cc89fEkd.s: Assembler messages:
>
> /tmp/cc89fEkd.s:36: Error: missing or invalid displacement expression
> `private_key_len at GOTOFF'

It looks as though your version of gcc may be trying to build 
position-independent code by default.  We try to guard against this: see 
the tests for "-fno-PIE" in arch/i386/Makefile.

Try "make bin/privkey.o V=1", which will show you the command line that 
we're passing to gcc.

Michael


More information about the ipxe-devel mailing list