[coreboot] Unable to build futility on 32-bit userspace
Paul Menzel
paulepanter at users.sourceforge.net
Thu Aug 31 08:13:04 CEST 2017
Dear coreboot folks,
Trying to run `make test-abuild` on my system with a 32-bit userspace,
it looks like quite some boards require the program futility from
`util/futility`, but that fails to build with the error below.
```
/dev/shm/coreboot/util/futility(master) $ git describe
4.6-1292-g5bf3457bc4
/dev/shm/coreboot/util/futility(master) $ LANG= make
MAKE futility/build/futility/futility
unset CFLAGS LDFLAGS; make -C /dev/shm/coreboot/3rdparty/vboot \
BUILD=/dev/shm/coreboot/util/futility/build \
CC="cc" \
V= \
/dev/shm/coreboot/util/futility/build/futility/futility
make[1]: Entering directory '/dev/shm/coreboot/3rdparty/vboot'
CC futility/futility.o
CC futility/cmd_dump_fmap.o
CC futility/cmd_gbb_utility.o
CC futility/misc.o
CC futility/ryu_root_header.o
CC futility/cmd_bdb.o
CC futility/cmd_create.o
CC futility/cmd_dump_kernel_config.o
CC futility/cmd_load_fmap.o
CC futility/cmd_pcr.o
CC futility/cmd_show.o
CC futility/cmd_sign.o
CC futility/cmd_validate_rec_mrc.o
CC futility/cmd_vbutil_firmware.o
CC futility/cmd_vbutil_kernel.o
CC futility/cmd_vbutil_key.o
CC futility/cmd_vbutil_keyblock.o
CC futility/file_type.o
CC futility/file_type_bios.o
CC futility/file_type_rwsig.o
CC futility/file_type_usbpd1.o
CC futility/vb1_helper.o
CC futility/vb2_helper.o
CC futility/bdb_helper.o
GEN gen/futility_cmds.c
CC gen/futility_cmds.o
CC cgpt/cgpt_create.o
CC cgpt/cgpt_add.o
CC cgpt/cgpt_boot.o
CC cgpt/cgpt_show.o
CC cgpt/cgpt_repair.o
CC cgpt/cgpt_prioritize.o
CC cgpt/cgpt_common.o
CC futility/dump_kernel_config_lib.o
make[1]: *** No rule to make target '/dev/shm/coreboot/util/futility/build/host/arch/i686/lib/crossystem_arch.o', needed by '/dev/shm/coreboot/util/futility/build/libvboot_util.a'. Stop.
make[1]: Leaving directory '/dev/shm/coreboot/3rdparty/vboot'
Makefile.inc:4: recipe for target '/dev/shm/coreboot/util/futility/build/futility/futility' failed
make: *** [/dev/shm/coreboot/util/futility/build/futility/futility] Error 2
```
I haven’t tested this yet with a 64-bit userspace, but assume that
works. Does somebody have a fix?
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170831/74c0e574/attachment.asc>
More information about the coreboot
mailing list