New issue
Advanced search Search tips

Issue 807416 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

flashrom: disabling CONFIG_DUMMY fails to link

Project Member Reported by dnschn...@chromium.org, Jan 30 2018

Issue description

Trying to compile flashrom with a minimum number of drivers.  I'm probably going overboard by trying to disable dummy, but I figure I might as well file a bug for it.

Seems like disabling dummy results in a failure at the link step:

cc  -o flashrom flashrom.o cli_mfg.o cli_output.o print.o jedec.o stm50flw0x0x.o w39.o w29ee011.o sst28sf040.o m29f400bt.o 82802ab.o pm49fl00x.o sst49lfxxxc.o sst_fwhub.o flashchips.o spi.o spi25.o sharplhf00l04.o a25.o at25.o s25f.o spi4ba.o opaque.o writeprotect.o udelay.o programmer.o processor_enable.o chipset_enable.o board_enable.o cbtable.o dmi.o internal.o cros_ec.o cros_ec_lpc.o it87spi.o it85spi.o mec1308.o sb600spi.o wbsio_spi.o mcp6x_spi.o wpce775x.o ene_lpc.o ichspi.o ich_descriptors.o amd_imc.o cros_ec_dev.o bitbang_spi.o ft2232_spi.o buspirate_spi.o raiden_debug_spi.o usb_device.o dediprog.o linux_spi.o pcidev.o physmap.o hwaccess.o android.o layout.o file.o fmap.o power.o search.o big_lock.o file_lock.o cros_ec_lock.o serial.o  -lpci -lftdi   -lusb-1.0
flashchips.o:(.rodata+0x28570): undefined reference to `probe_variable_size'
collect2: error: ld returned 1 exit status
Makefile:859: recipe for target 'flashrom' failed
make: *** [flashrom] Error 1
 

Sign in to add a comment