[ipxe-devel] 64 bit?

Johannes Thoma johannes at johannesthoma.com
Tue Jan 22 18:01:03 UTC 2019


Am 22.01.19 um 17:16 schrieb Michael Brown:
> 
> The easiest way is to build the Linux userspace test suite:
> 
>    make bin-x86_64-linux/tests.linux bin-i386-linux/tests.linux
>

Thanks for your quick reply.

When running

make bin-i386-linux/tests.linux

I run in an endless loop when building the dependencies. I also
tried a fresh checkout:

   [DEPS] <lots of other files>
   [DEPS] interface/linux/linux_timer.c
   [DEPS] interface/linux/linux_entropy.c
   [DEPS] interface/linux/linux_time.c
   [DEPS] interface/linux/linux_smbios.c
   [DEPS] interface/linux/linux_umalloc.c
   [DEPS] interface/linux/linux_nap.c
   [DEPS] interface/linux/linux_pci.c
   [DEPS] interface/linux/linux_console.c
   [DEPS] arch/i386/core/linux/linuxprefix.S
   [DEPS] arch/x86/core/linux/linux_api.c
   [DEPS] arch/x86/core/linux/linux_strerror.c
   [DEPS] drivers/linux/af_packet.c
   [DEPS] drivers/linux/tap.c
   [DEPS] interface/linux/linux_timer.c
   [DEPS] interface/linux/linux_entropy.c
   [DEPS] interface/linux/linux_time.c
   [DEPS] interface/linux/linux_smbios.c
   [DEPS] interface/linux/linux_umalloc.c
   [DEPS] interface/linux/linux_nap.c
   [DEPS] interface/linux/linux_pci.c
   [DEPS] interface/linux/linux_console.c

(deps linux_console.c takes a little bit longer).

My build environment is the one from Ubuntu 16.04:

johannes at johannes-VirtualBox:~/Linbit/ipxe2/ipxe/src$ make --version
GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
johannes at johannes-VirtualBox:~/Linbit/ipxe2/ipxe/src$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Am I doing something wrong? Is there a quick way to fix this?

make bin-x86_64-linux/tests.linux

works perfect.

> 
>> And is there a way to compile 'everything' in order to check that my patch
>> doesn't break other builds?
> 
> Yes:
> 
>    make everything
> 

That absolutely makes sense to me ;)

Thanks a lot,

- Johannes



More information about the ipxe-devel mailing list