<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>While undionly.kpxe and ipxe.lkrn are compiling without any
issue, i cannot compile ipxe.efi using the latest code from GitHub
on a Debian Squeeze amd64 :</p>
<blockquote>
<p># git fetch --all<br>
Fetching origin<br>
# git reset --hard origin/master<br>
HEAD is now at 7cfdd76 [block] Describe all SAN devices via ACPI
tables<br>
# git pull origin master<br>
From git://git.ipxe.org/ipxe<br>
* branch master -> FETCH_HEAD<br>
Already up-to-date.</p>
<p>cd src/<br>
# make bin-x86_64-efi/ipxe.efi</p>
<p>[...]</p>
<p> [AR] bin-x86_64-efi/blib.a<br>
ar: creating bin-x86_64-efi/blib.a<br>
[VERSION] bin-x86_64-efi/version.ipxe.efi.o<br>
[LD] bin-x86_64-efi/ipxe.efi.tmp<br>
bin-x86_64-efi/blib.a(com32_wrapper.o): In function
`com32_farcall_wrapper':<br>
(.text+0x1): relocation truncated to fit: R_X86_64_32 against
symbol `com32_farcall' defined in .text.com32_farcall section in
bin-x86_64-efi/blib.a(com32_call.o)<br>
bin-x86_64-efi/blib.a(com32_wrapper.o): In function
`com32_cfarcall_wrapper':<br>
(.text+0x8): relocation truncated to fit: R_X86_64_32 against
symbol `com32_cfarcall' defined in .text.com32_cfarcall section
in bin-x86_64-efi/blib.a(com32_call.o)<br>
bin-x86_64-efi/blib.a(com32_wrapper.o): In function
`com32_intcall_wrapper':<br>
(.text+0xf): relocation truncated to fit: R_X86_64_32 against
symbol `com32_intcall' defined in .text.com32_intcall section in
bin-x86_64-efi/blib.a(com32_call.o)<br>
bin-x86_64-efi/blib.a(com32_call.o):(.text16+0x3): relocation
truncated to fit: R_X86_64_16 against `.bss16'<br>
bin-x86_64-efi/blib.a(com32_call.o):(.text16+0x10): relocation
truncated to fit: R_X86_64_16 against `.bss16'<br>
bin-x86_64-efi/blib.a(com32_call.o):(.text16+0x1a): relocation
truncated to fit: R_X86_64_16 against `.bss16'<br>
bin-x86_64-efi/blib.a(com32_call.o):(.text16+0x1f): relocation
truncated to fit: R_X86_64_16 against symbol `com32_saved_sp'
defined in .bss16 section in bin-x86_64-efi/blib.a(com32_call.o)<br>
bin-x86_64-efi/blib.a(com32_call.o):(.text16+0x22): relocation
truncated to fit: R_X86_64_16 against `.bss16'<br>
bin-x86_64-efi/blib.a(com32_call.o):(.text16+0x31): relocation
truncated to fit: R_X86_64_16 against symbol `com32_saved_sp'
defined in .bss16 section in bin-x86_64-efi/blib.a(com32_call.o)<br>
bin-x86_64-efi/blib.a(com32_call.o):(.text16+0x36): relocation
truncated to fit: R_X86_64_16 against `.bss16'<br>
bin-x86_64-efi/blib.a(com32_call.o):(.text16+0x3b): additional
relocation overflows omitted from the output<br>
ld: bin-x86_64-efi/ipxe.efi.tmp: hidden symbol `_etextdata'
isn't defined<br>
make: *** [bin-x86_64-efi/ipxe.efi.tmp] Error 1<br>
rm bin-x86_64-efi/version.ipxe.efi.o</p>
<p><br>
</p>
<p># cc -v<br>
Using built-in specs.<br>
Target: x86_64-linux-gnu<br>
Configured with: ../src/configure -v --with-pkgversion='Debian
4.4.5-8' --with-bugurl=<a class="moz-txt-link-freetext" href="file:///usr/share/doc/gcc-4.4/README.Bugs">file:///usr/share/doc/gcc-4.4/README.Bugs</a>
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.4 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --with-arch-32=i586 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>
Thread model: posix<br>
gcc version 4.4.5 (Debian 4.4.5-8)</p>
</blockquote>
<p><br>
</p>
<p>Is there any specific parameters to set on general.h to compile
the efi binary?</p>
</body>
</html>