Project

General

Profile

Bug #223 » build_Werror.log

CONFIG_WARNINGS_ARE_ERRORS=y - Vasile Dan, 07/30/2019 08:39 AM

 
Skipping submodule '3rdparty/blobs'
Skipping submodule '3rdparty/fsp'
Skipping submodule '3rdparty/intel-microcode'
fatal: destination path '/home/spacelander/data/coreboot/coreboot/3rdparty/blobs' already exists and is not an empty directory.
fatal: clone of 'https://review.coreboot.org/blobs.git' into submodule path '/home/spacelander/data/coreboot/coreboot/3rdparty/blobs' failed
Failed to clone '3rdparty/blobs'. Retry scheduled
fatal: destination path '/home/spacelander/data/coreboot/coreboot/3rdparty/blobs' already exists and is not an empty directory.
fatal: clone of 'https://review.coreboot.org/blobs.git' into submodule path '/home/spacelander/data/coreboot/coreboot/3rdparty/blobs' failed
Failed to clone '3rdparty/blobs' a second time, aborting
#
# configuration written to /home/spacelander/data/coreboot/coreboot/.config
#
HOSTCC util/sconfig/lex.yy.o
HOSTCC util/sconfig/sconfig.tab.o
HOSTCC util/sconfig/main.o
HOSTCC util/sconfig/sconfig (link)
SCONFIG mainboard/lenovo/x220/devicetree.cb
HOSTCC nvramtool/cli/nvramtool.o
HOSTCC nvramtool/cli/opts.o
HOSTCC nvramtool/cmos_lowlevel.o
HOSTCC nvramtool/cmos_ops.o
HOSTCC nvramtool/common.o
HOSTCC nvramtool/compute_ip_checksum.o
HOSTCC nvramtool/hexdump.o
HOSTCC nvramtool/input_file.o
HOSTCC nvramtool/layout.o
HOSTCC nvramtool/accessors/layout-common.o
HOSTCC nvramtool/accessors/layout-text.o
HOSTCC nvramtool/accessors/layout-bin.o
HOSTCC nvramtool/lbtable.o
HOSTCC nvramtool/reg_expr.o
HOSTCC nvramtool/cbfs.o
HOSTCC nvramtool/accessors/cmos-mem.o
HOSTCC nvramtool/nvramtool (link)
OPTION option_table.h
CC bootblock/mainboard/lenovo/x220/static.o
CC bootblock/arch/x86/boot.o
GEN generated/bootblock.ld
CP bootblock/arch/x86/bootblock.ld
HOSTCC util/romcc/romcc (this may take a while)
ROMCC generated/bootblock.inc
CC bootblock/arch/x86/bootblock_romcc.o
CC bootblock/arch/x86/cf9_reset.o
CC bootblock/arch/x86/cpu_common.o
GEN build.h
CC bootblock/arch/x86/id.o
CC bootblock/arch/x86/memcpy.o
CC bootblock/arch/x86/memset.o
CC bootblock/arch/x86/mmap_boot.o
CC bootblock/arch/x86/walkcbfs.o
CC bootblock/commonlib/cbfs.o
CC bootblock/commonlib/iobuf.o
CC bootblock/commonlib/lz4_wrapper.o
CC bootblock/commonlib/mem_pool.o
CC bootblock/commonlib/region.o
CC bootblock/console/die.o
CC bootblock/console/post.o
CC bootblock/console/vsprintf.o
CC bootblock/console/vtxprintf.o
CC bootblock/cpu/x86/lapic/boot_cpu.o
CC bootblock/cpu/x86/mtrr/debug.o
CC bootblock/cpu/x86/mtrr/earlymtrr.o
CC bootblock/cpu/x86/pae/pgtbl.o
CC bootblock/cpu/x86/tsc/delay_tsc.o
CC bootblock/device/device_const.o
CC bootblock/device/i2c.o
CC bootblock/device/pci_early.o
CC bootblock/device/pci_ops.o
CC bootblock/drivers/pc80/rtc/mc146818rtc.o
CC bootblock/drivers/pc80/rtc/mc146818rtc_boot.o
CC bootblock/drivers/spi/adesto.o
CC bootblock/drivers/spi/amic.o
CC bootblock/drivers/spi/atmel.o
CC bootblock/drivers/spi/bitbang.o
CC bootblock/drivers/spi/eon.o
CC bootblock/drivers/spi/gigadevice.o
CC bootblock/drivers/spi/macronix.o
CC bootblock/drivers/spi/spansion.o
CC bootblock/drivers/spi/spi-generic.o
CC bootblock/drivers/spi/spi_flash.o
CC bootblock/drivers/spi/sst.o
CC bootblock/drivers/spi/stmicro.o
CC bootblock/drivers/spi/winbond.o
CC bootblock/ec/lenovo/h8/sense.o
CC bootblock/lib/boot_device.o
CC bootblock/lib/bootblock.o
CC bootblock/lib/bootmode.o
HOSTCC cbfstool/fmaptool.o
HOSTCC cbfstool/cbfs_sections.o
HOSTCC cbfstool/fmap_from_fmd.o
HOSTCC cbfstool/fmd.o
HOSTCC cbfstool/fmd_parser.o
HOSTCC cbfstool/fmd_scanner.o
HOSTCC cbfstool/fmap.o
HOSTCC cbfstool/kv_pair.o
HOSTCC cbfstool/valstr.o
HOSTCC cbfstool/fmaptool (link)
FMAP build/util/cbfstool/fmaptool -h build/fmap_config.h build/fmap.fmd build/fmap.fmap
SUCCESS: Wrote 224 bytes to file 'build/fmap.fmap' (and generated header)
The sections containing CBFSes are: COREBOOT
CC bootblock/lib/cbfs.o
CC bootblock/lib/delay.o
CC bootblock/lib/fmap.o
CC bootblock/lib/gcc.o
CC bootblock/lib/halt.o
CC bootblock/lib/hexdump.o
CC bootblock/lib/libgcc.o
CC bootblock/lib/memchr.o
CC bootblock/lib/memcmp.o
CC bootblock/lib/prog_loaders.o
CC bootblock/lib/prog_ops.o
CC bootblock/lib/reset.o
CC bootblock/lib/string.o
CC bootblock/lib/version.o
CC bootblock/southbridge/intel/common/reset.o
CC bootblock/southbridge/intel/common/spi.o
src/southbridge/intel/common/spi.c: In function 'spi_init':
src/southbridge/intel/common/spi.c:291:19: error: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
291 | cntlr->optype = &ich7_spi->optype;
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:292:17: error: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
292 | cntlr->addr = &ich7_spi->spia;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:296:20: error: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
296 | cntlr->control = &ich7_spi->spic;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:297:17: error: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
297 | cntlr->bbar = &ich7_spi->bbar;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:298:18: error: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
298 | cntlr->preop = &ich7_spi->preop;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:299:16: error: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
299 | cntlr->fpr = &ich7_spi->pbr[0];
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:308:19: error: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
308 | cntlr->optype = &ich9_spi->optype;
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:309:17: error: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
309 | cntlr->addr = &ich9_spi->faddr;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:314:17: error: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
314 | cntlr->bbar = &ich9_spi->bbar;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:315:18: error: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
315 | cntlr->preop = &ich9_spi->preop;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:316:16: error: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Werror=address-of-packed-member]
316 | cntlr->fpr = &ich9_spi->pr[0];
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:357: build/bootblock/southbridge/intel/common/spi.o] Error 1
(1-1/3)