Comment 8 for bug 1737211

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I was looking into that and it seems vmxnet3 is totally fine.
But e1000e has build issues.
I think I have seen this kind of issue on rom builds in the past but couldn't get it working reliably. OTOH e1000e is only the emulated card and vmxnet3 probably way more important.
So better to add this than nothing.

FYI: the error boils down to:
make -j1 V=1 NO_WERROR=1 VERSION=1.0.0 bin-x86_64-efi/e1000e.efirom
gcc -DARCH=x86_64 -DPLATFORM=efi -DSECUREBOOT=0 -fstrength-reduce -fomit-frame-pointer -falign-jumps=1 -falign-loops=1 -falign-functions=1 -m64 -fshort-wchar -Ui386 -Ulinux -DNVALGRIND -fpie -mno-red-zone -Iinclude -I. -Iarch/x86/include -Iarch/x86_64/include -Iarch/x86_64/include/efi -Os -g -ffreestanding -Wall -W -Wformat-nonliteral -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-address -ffunction-sections -fdata-sections -include include/compiler.h -DASM_TCHAR='@' -DASM_TCHAR_OPS='@' -DOBJECT=version -DBUILD_NAME="\"e1000e.efidrv\"" \
        -DVERSION_MAJOR=1 \
        -DVERSION_MINOR=0 \
        -DVERSION_PATCH=0 \
        -DVERSION="\"1.0.0\"" \
        -c core/version.c -o bin-x86_64-efi/version.e1000e.efidrv.o
In file included from ./config/general.h:202:0,
                 from core/version.c:35:
./config/local/general.h:1:0: warning: "ROM_BANNER_TIMEOUT" redefined
 #define ROM_BANNER_TIMEOUT 0

In file included from core/version.c:35:0:
./config/general.h:30:0: note: this is the location of the previous definition
 #define ROM_BANNER_TIMEOUT ( 2 * BANNER_TIMEOUT )

ld -m elf_x86_64 -q -S --gc-sections -static -T scripts/efi.lds -u _efidrv_start --defsym check__efidrv_start=_efidrv_start -u obj_e1000e --defsym check_obj_e1000e=obj_e1000e -u obj_config --defsym check_obj_config=obj_config -u obj_config_efi --defsym check_obj_config_efi=obj_config_efi --defsym pci_vendor_id=0 --defsym pci_device_id=0 -e _efidrv_start bin-x86_64-efi/version.e1000e.efidrv.o bin-x86_64-efi/blib.a -o bin-x86_64-efi/e1000e.efidrv.tmp \
        --defsym _build_id=`perl -e 'printf "0x%08x", int ( rand ( 0xffffffff ) );'` \
        --defsym _build_timestamp=1516878800 \
        -Map bin-x86_64-efi/e1000e.efidrv.tmp.map
--defsym:2: undefined symbol `obj_e1000e' referenced in expression
Makefile.housekeeping:1179: recipe for target 'bin-x86_64-efi/e1000e.efidrv.tmp' failed
make: *** [bin-x86_64-efi/e1000e.efidrv.tmp] Error 1
rm bin-x86_64-efi/version.e1000e.efidrv.o