[ipxe-devel] Infinite loop on missed headers

Michael Brown mbrown at fensystems.co.uk
Sun Aug 26 23:32:44 UTC 2012


On Sunday 26 Aug 2012 21:36:56 Anton D. Kachalov wrote:
> there is a problem with missed header files that cause infinite loop during
> dependencies calculation. It implies by "-MG" flag that suppress CPP to
> produce error messages but needed by config/local/*.h targets:
> 
> $ make bin/808610d3.rom
>>   [DEPS] libgcc/__divdi3.c
>   [DEPS] net/icmpv6.c
>   [DEPS] net/icmpv6.c
>   [DEPS] net/icmpv6.c
>   [DEPS] net/icmpv6.c
> ^C
> 
> When I've mistyped in header filename:
> 
>    #include <ipxe/netdevic.h>

Yes; that's a known issue.  I don't know of any viable solution, and the 
impact is fortunately limited to developers (since it can only happen if 
you're modifying iPXE code).

Michael



More information about the ipxe-devel mailing list