Project

General

Profile

Bug #223 » build_no-Werror.log

CONFIG_WARNINGS_ARE_ERRORS=n - 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: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
291 | cntlr->optype = &ich7_spi->optype;
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:292:17: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
292 | cntlr->addr = &ich7_spi->spia;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:296:20: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
296 | cntlr->control = &ich7_spi->spic;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:297:17: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
297 | cntlr->bbar = &ich7_spi->bbar;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:298:18: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
298 | cntlr->preop = &ich7_spi->preop;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:299:16: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
299 | cntlr->fpr = &ich7_spi->pbr[0];
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:308:19: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
308 | cntlr->optype = &ich9_spi->optype;
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:309:17: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
309 | cntlr->addr = &ich9_spi->faddr;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:314:17: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
314 | cntlr->bbar = &ich9_spi->bbar;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:315:18: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
315 | cntlr->preop = &ich9_spi->preop;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:316:16: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
316 | cntlr->fpr = &ich9_spi->pr[0];
| ^~~~~~~~~~~~~~~~
LINK cbfs/fallback/bootblock.debug
OBJCOPY cbfs/fallback/bootblock.elf
OBJCOPY bootblock.raw.elf
OBJCOPY bootblock.raw.bin
CC romstage/mainboard/lenovo/x220/static.o
CC romstage/arch/x86/acpi_s3.o
GEN generated/assembly.inc
CC romstage/arch/x86/assembly_entry.o
CC romstage/arch/x86/boot.o
CC romstage/arch/x86/cbfs_and_run.o
CC romstage/arch/x86/cbmem.o
CC romstage/arch/x86/cf9_reset.o
CC romstage/arch/x86/cpu_common.o
CC romstage/arch/x86/memcpy.o
CP romstage/arch/x86/memlayout.ld
CC romstage/arch/x86/memmove.o
CC romstage/arch/x86/memset.o
CC romstage/arch/x86/mmap_boot.o
CC romstage/arch/x86/postcar_loader.o
CC romstage/arch/x86/walkcbfs.o
CC romstage/commonlib/cbfs.o
CC romstage/commonlib/iobuf.o
CC romstage/commonlib/lz4_wrapper.o
CC romstage/commonlib/mem_pool.o
CC romstage/commonlib/region.o
CC romstage/console/console.o
CC romstage/console/die.o
CC romstage/console/init.o
CC romstage/console/post.o
CC romstage/console/printk.o
CC romstage/console/vsprintf.o
CC romstage/console/vtxprintf.o
CC romstage/cpu/intel/car/romstage.o
CC romstage/cpu/intel/microcode/microcode.o
CC romstage/cpu/intel/model_206ax/common.o
CC romstage/cpu/intel/model_206ax/stage_cache.o
CC romstage/cpu/intel/model_206ax/tsc_freq.o
CC romstage/cpu/x86/lapic/boot_cpu.o
CC romstage/cpu/x86/mtrr/debug.o
CC romstage/cpu/x86/mtrr/earlymtrr.o
CC romstage/cpu/x86/pae/pgtbl.o
CC romstage/cpu/x86/tsc/delay_tsc.o
CC romstage/device/device_const.o
CC romstage/device/dram/ddr2.o
CC romstage/device/dram/ddr3.o
CC romstage/device/i2c.o
CC romstage/device/pci_early.o
CC romstage/device/pci_ops.o
CC romstage/drivers/mrc_cache/mrc_cache.o
CC romstage/drivers/pc80/rtc/mc146818rtc.o
CC romstage/drivers/pc80/tpm/tis.o
CC romstage/drivers/spi/adesto.o
CC romstage/drivers/spi/amic.o
CC romstage/drivers/spi/atmel.o
CC romstage/drivers/spi/bitbang.o
CC romstage/drivers/spi/eon.o
CC romstage/drivers/spi/gigadevice.o
CC romstage/drivers/spi/macronix.o
CC romstage/drivers/spi/spansion.o
CC romstage/drivers/spi/spi-generic.o
CC romstage/drivers/spi/spi_flash.o
CC romstage/drivers/spi/sst.o
CC romstage/drivers/spi/stmicro.o
CC romstage/drivers/spi/winbond.o
CC romstage/ec/acpi/ec.o
CC romstage/ec/lenovo/h8/panic.o
CC romstage/ec/lenovo/h8/sense.o
CC romstage/ec/lenovo/pmh7/pmh7.o
CC romstage/lib/boot_device.o
CC romstage/lib/bootmode.o
CC romstage/lib/cbfs.o
CC romstage/lib/cbmem_common.o
CC romstage/lib/compute_ip_checksum.o
CC romstage/lib/delay.o
CC romstage/lib/ext_stage_cache.o
CC romstage/lib/fmap.o
CC romstage/lib/gcc.o
CC romstage/lib/halt.o
CC romstage/lib/hexdump.o
CC romstage/lib/imd.o
CC romstage/lib/imd_cbmem.o
CC romstage/lib/libgcc.o
CC romstage/lib/lzma.o
CC romstage/lib/lzmadecode.o
CC romstage/lib/memchr.o
CC romstage/lib/memcmp.o
CC romstage/lib/memrange.o
CC romstage/lib/prog_loaders.o
CC romstage/lib/prog_ops.o
CP romstage/lib/program.ld
CC romstage/lib/ramtest.o
CC romstage/lib/region_file.o
CC romstage/lib/reset.o
CC romstage/lib/rmodule.o
CC romstage/lib/romstage_handoff.o
CC romstage/lib/selfboot.o
CC romstage/lib/spd_bin.o
CC romstage/lib/stack.o
CC romstage/lib/string.o
CC romstage/lib/version.o
CC romstage/mainboard/lenovo/x220/romstage.o
CC romstage/mainboard/lenovo/x220/variants/x220/gpio.o
CC romstage/mainboard/lenovo/x220/variants/x220/romstage.o
CC romstage/northbridge/intel/sandybridge/common.o
CC romstage/northbridge/intel/sandybridge/early_dmi.o
CC romstage/northbridge/intel/sandybridge/early_init.o
CC romstage/northbridge/intel/sandybridge/ram_calc.o
CC romstage/northbridge/intel/sandybridge/raminit.o
CC romstage/northbridge/intel/sandybridge/raminit_common.o
CC romstage/northbridge/intel/sandybridge/raminit_ivy.o
CC romstage/northbridge/intel/sandybridge/raminit_sandy.o
CC romstage/northbridge/intel/sandybridge/romstage.o
CC romstage/security/memory/memory.o
CC romstage/security/tpm/tspi/tspi.o
CC romstage/security/tpm/tss/tcg-1.2/tss.o
CC romstage/southbridge/intel/bd82x6x/early_me.o
CC romstage/southbridge/intel/bd82x6x/early_pch.o
CC romstage/southbridge/intel/bd82x6x/early_rcba.o
CC romstage/southbridge/intel/bd82x6x/early_smbus.o
CC romstage/southbridge/intel/bd82x6x/early_thermal.o
CC romstage/southbridge/intel/bd82x6x/early_usb.o
CC romstage/southbridge/intel/bd82x6x/me_status.o
CC romstage/southbridge/intel/common/gpio.o
CC romstage/southbridge/intel/common/pmbase.o
CC romstage/southbridge/intel/common/pmclib.o
CC romstage/southbridge/intel/common/reset.o
CC romstage/southbridge/intel/common/rtc.o
CC romstage/southbridge/intel/common/smbus.o
CC romstage/southbridge/intel/common/spi.o
src/southbridge/intel/common/spi.c: In function 'spi_init':
src/southbridge/intel/common/spi.c:291:19: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
291 | cntlr->optype = &ich7_spi->optype;
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:292:17: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
292 | cntlr->addr = &ich7_spi->spia;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:296:20: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
296 | cntlr->control = &ich7_spi->spic;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:297:17: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
297 | cntlr->bbar = &ich7_spi->bbar;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:298:18: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
298 | cntlr->preop = &ich7_spi->preop;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:299:16: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
299 | cntlr->fpr = &ich7_spi->pbr[0];
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:308:19: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
308 | cntlr->optype = &ich9_spi->optype;
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:309:17: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
309 | cntlr->addr = &ich9_spi->faddr;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:314:17: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
314 | cntlr->bbar = &ich9_spi->bbar;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:315:18: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
315 | cntlr->preop = &ich9_spi->preop;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:316:16: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
316 | cntlr->fpr = &ich9_spi->pr[0];
| ^~~~~~~~~~~~~~~~
LINK cbfs/fallback/romstage.debug
OBJCOPY cbfs/fallback/romstage.elf
CC ramstage/superio/common/conf_mode.o
CC ramstage/southbridge/intel/common/acpi_pirq_gen.o
CC ramstage/southbridge/intel/common/gpio.o
CC ramstage/southbridge/intel/common/madt.o
CC ramstage/southbridge/intel/common/pciehp.o
CC ramstage/southbridge/intel/common/pmbase.o
CC ramstage/southbridge/intel/common/pmutil.o
CC ramstage/southbridge/intel/common/rcba_pirq.o
CC ramstage/southbridge/intel/common/reset.o
CC ramstage/southbridge/intel/common/rtc.o
CC ramstage/southbridge/intel/common/smbus.o
CC ramstage/southbridge/intel/common/smi.o
CC ramstage/southbridge/intel/common/spi.o
src/southbridge/intel/common/spi.c: In function 'spi_init':
src/southbridge/intel/common/spi.c:291:19: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
291 | cntlr->optype = &ich7_spi->optype;
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:292:17: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
292 | cntlr->addr = &ich7_spi->spia;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:296:20: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
296 | cntlr->control = &ich7_spi->spic;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:297:17: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
297 | cntlr->bbar = &ich7_spi->bbar;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:298:18: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
298 | cntlr->preop = &ich7_spi->preop;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:299:16: warning: taking address of packed member of 'struct ich7_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
299 | cntlr->fpr = &ich7_spi->pbr[0];
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:308:19: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
308 | cntlr->optype = &ich9_spi->optype;
| ^~~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:309:17: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
309 | cntlr->addr = &ich9_spi->faddr;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:314:17: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
314 | cntlr->bbar = &ich9_spi->bbar;
| ^~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:315:18: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
315 | cntlr->preop = &ich9_spi->preop;
| ^~~~~~~~~~~~~~~~
src/southbridge/intel/common/spi.c:316:16: warning: taking address of packed member of 'struct ich9_spi_regs' may result in an unaligned pointer value [-Waddress-of-packed-member]
316 | cntlr->fpr = &ich9_spi->pr[0];
| ^~~~~~~~~~~~~~~~
CC ramstage/southbridge/intel/common/watchdog.o
CC ramstage/southbridge/intel/bd82x6x/azalia.o
CC ramstage/southbridge/intel/bd82x6x/lpc.o
CC ramstage/southbridge/intel/bd82x6x/me.o
CC ramstage/southbridge/intel/bd82x6x/me_8.x.o
src/southbridge/intel/bd82x6x/me_8.x.c: In function 'intel_me_read_mbp':
src/southbridge/intel/bd82x6x/me_8.x.c:846:49: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member]
846 | #define SET_UP_COPY(field) { copy_addr = (u32 *)&mbp_data->field; \
| ^~~~~~~~~~~~~~~~~~~~~~~~
847 | buffer_room = sizeof(mbp_data->field) / sizeof(u32); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | break; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~
849 | }
| ~
850 |
|
851 | p = &mbp_item_hdr;
| ~~~~~~~~~~~~~~~~~~
852 | printk(BIOS_INFO, "ME: MBP item header %8.8x\n", *((u32*)p));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 |
|
854 | switch (mbp_item_id) {
| ~~~~~~~~~~~~~~~~~~~~~~
855 | case 0x101:
| ~~~~~~~~~~~
856 | SET_UP_COPY(fw_version_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 |
|
858 | case 0x102:
| ~~~~~~~~~~~
859 | SET_UP_COPY(icc_profile);
| ~~~~~~~~~~~~~~~~~~~~~~~
src/southbridge/intel/bd82x6x/me_8.x.c:859:4: note: in expansion of macro 'SET_UP_COPY'
859 | SET_UP_COPY(icc_profile);
| ^~~~~~~~~~~
src/southbridge/intel/bd82x6x/me_8.x.c:846:49: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member]
846 | #define SET_UP_COPY(field) { copy_addr = (u32 *)&mbp_data->field; \
| ^~~~~~~~~~~~~~~~~~~~~~~~
847 | buffer_room = sizeof(mbp_data->field) / sizeof(u32); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | break; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~
849 | }
| ~
850 |
|
851 | p = &mbp_item_hdr;
| ~~~~~~~~~~~~~~~~~~
852 | printk(BIOS_INFO, "ME: MBP item header %8.8x\n", *((u32*)p));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 |
|
854 | switch (mbp_item_id) {
| ~~~~~~~~~~~~~~~~~~~~~~
855 | case 0x101:
| ~~~~~~~~~~~
856 | SET_UP_COPY(fw_version_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 |
|
858 | case 0x102:
| ~~~~~~~~~~~
859 | SET_UP_COPY(icc_profile);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
860 |
|
861 | case 0x103:
| ~~~~~~~~~~~
862 | SET_UP_COPY(at_state);
| ~~~~~~~~~~~~~~~~~~~~
src/southbridge/intel/bd82x6x/me_8.x.c:862:4: note: in expansion of macro 'SET_UP_COPY'
862 | SET_UP_COPY(at_state);
| ^~~~~~~~~~~
src/southbridge/intel/bd82x6x/me_8.x.c:846:49: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member]
846 | #define SET_UP_COPY(field) { copy_addr = (u32 *)&mbp_data->field; \
| ^~~~~~~~~~~~~~~~~~~~~~~~
847 | buffer_room = sizeof(mbp_data->field) / sizeof(u32); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | break; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~
849 | }
| ~
850 |
|
851 | p = &mbp_item_hdr;
| ~~~~~~~~~~~~~~~~~~
852 | printk(BIOS_INFO, "ME: MBP item header %8.8x\n", *((u32*)p));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 |
|
854 | switch (mbp_item_id) {
| ~~~~~~~~~~~~~~~~~~~~~~
855 | case 0x101:
| ~~~~~~~~~~~
856 | SET_UP_COPY(fw_version_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 |
|
858 | case 0x102:
| ~~~~~~~~~~~
859 | SET_UP_COPY(icc_profile);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
860 |
|
861 | case 0x103:
| ~~~~~~~~~~~
862 | SET_UP_COPY(at_state);
| ~~~~~~~~~~~~~~~~~~~~~~
863 |
|
864 | case 0x201:
| ~~~~~~~~~~~
865 | mbp_data->fw_caps_sku.available = 1;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
866 | SET_UP_COPY(fw_caps_sku.fw_capabilities);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/southbridge/intel/bd82x6x/me_8.x.c:866:4: note: in expansion of macro 'SET_UP_COPY'
866 | SET_UP_COPY(fw_caps_sku.fw_capabilities);
| ^~~~~~~~~~~
src/southbridge/intel/bd82x6x/me_8.x.c:846:49: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member]
846 | #define SET_UP_COPY(field) { copy_addr = (u32 *)&mbp_data->field; \
| ^~~~~~~~~~~~~~~~~~~~~~~~
847 | buffer_room = sizeof(mbp_data->field) / sizeof(u32); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | break; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~
849 | }
| ~
850 |
|
851 | p = &mbp_item_hdr;
| ~~~~~~~~~~~~~~~~~~
852 | printk(BIOS_INFO, "ME: MBP item header %8.8x\n", *((u32*)p));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 |
|
854 | switch (mbp_item_id) {
| ~~~~~~~~~~~~~~~~~~~~~~
855 | case 0x101:
| ~~~~~~~~~~~
856 | SET_UP_COPY(fw_version_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 |
|
858 | case 0x102:
| ~~~~~~~~~~~
859 | SET_UP_COPY(icc_profile);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
860 |
|
861 | case 0x103:
| ~~~~~~~~~~~
862 | SET_UP_COPY(at_state);
| ~~~~~~~~~~~~~~~~~~~~~~
863 |
|
864 | case 0x201:
| ~~~~~~~~~~~
865 | mbp_data->fw_caps_sku.available = 1;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
866 | SET_UP_COPY(fw_caps_sku.fw_capabilities);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
867 |
|
868 | case 0x301:
| ~~~~~~~~~~~
869 | SET_UP_COPY(rom_bist_data);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
src/southbridge/intel/bd82x6x/me_8.x.c:869:4: note: in expansion of macro 'SET_UP_COPY'
869 | SET_UP_COPY(rom_bist_data);
| ^~~~~~~~~~~
src/southbridge/intel/bd82x6x/me_8.x.c:846:49: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member]
846 | #define SET_UP_COPY(field) { copy_addr = (u32 *)&mbp_data->field; \
| ^~~~~~~~~~~~~~~~~~~~~~~~
847 | buffer_room = sizeof(mbp_data->field) / sizeof(u32); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | break; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~
849 | }
| ~
850 |
|
851 | p = &mbp_item_hdr;
| ~~~~~~~~~~~~~~~~~~
852 | printk(BIOS_INFO, "ME: MBP item header %8.8x\n", *((u32*)p));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 |
|
854 | switch (mbp_item_id) {
| ~~~~~~~~~~~~~~~~~~~~~~
855 | case 0x101:
| ~~~~~~~~~~~
856 | SET_UP_COPY(fw_version_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 |
|
858 | case 0x102:
| ~~~~~~~~~~~
859 | SET_UP_COPY(icc_profile);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
860 |
|
861 | case 0x103:
| ~~~~~~~~~~~
862 | SET_UP_COPY(at_state);
| ~~~~~~~~~~~~~~~~~~~~~~
863 |
|
864 | case 0x201:
| ~~~~~~~~~~~
865 | mbp_data->fw_caps_sku.available = 1;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
866 | SET_UP_COPY(fw_caps_sku.fw_capabilities);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
867 |
|
868 | case 0x301:
| ~~~~~~~~~~~
869 | SET_UP_COPY(rom_bist_data);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
870 |
|
871 | case 0x401:
| ~~~~~~~~~~~
872 | SET_UP_COPY(platform_key);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
873 |
|
874 | case 0x501:
| ~~~~~~~~~~~
875 | mbp_data->fw_plat_type.available = 1;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
876 | SET_UP_COPY(fw_plat_type.rule_data);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/southbridge/intel/bd82x6x/me_8.x.c:876:4: note: in expansion of macro 'SET_UP_COPY'
876 | SET_UP_COPY(fw_plat_type.rule_data);
| ^~~~~~~~~~~
CC ramstage/southbridge/intel/bd82x6x/me_status.o
CC ramstage/southbridge/intel/bd82x6x/pch.o
CC ramstage/southbridge/intel/bd82x6x/pci.o
CC ramstage/southbridge/intel/bd82x6x/pcie.o
CC ramstage/southbridge/intel/bd82x6x/sata.o
CC ramstage/southbridge/intel/bd82x6x/smbus.o
CC ramstage/southbridge/intel/bd82x6x/usb_ehci.o
CC ramstage/southbridge/intel/bd82x6x/usb_xhci.o
CC ramstage/security/tpm/tss/tcg-1.2/tss.o
CC ramstage/security/tpm/tspi/tspi.o
CC ramstage/security/memory/memory.o
CC ramstage/security/memory/memory_clear.o
CC ramstage/northbridge/intel/sandybridge/acpi.o
CC ramstage/northbridge/intel/sandybridge/common.o
CC ramstage/northbridge/intel/sandybridge/gma.o
CC ramstage/northbridge/intel/sandybridge/northbridge.o
CC ramstage/northbridge/intel/sandybridge/pcie.o
CC ramstage/northbridge/intel/sandybridge/ram_calc.o
CC ramstage/mainboard/lenovo/x220/static.o
CC ramstage/mainboard/lenovo/x220/acpi_tables.o
GCC libgnat-x86_32/lib/gnat/a-unccon.o
GCC libgnat-x86_32/lib/gnat/ada.o
GCC libgnat-x86_32/lib/gnat/g-souinf.o
GCC libgnat-x86_32/lib/gnat/gnat.o
GCC libgnat-x86_32/lib/gnat/i-c.o
GCC libgnat-x86_32/lib/gnat/interfac.o
GCC libgnat-x86_32/lib/gnat/s-atacco.o
GCC libgnat-x86_32/lib/gnat/s-imenne.o
GCC libgnat-x86_32/lib/gnat/s-maccod.o
GCC libgnat-x86_32/lib/gnat/s-parame.o
GCC libgnat-x86_32/lib/gnat/s-stoele.o
GCC libgnat-x86_32/lib/gnat/s-unstyp.o
GCC libgnat-x86_32/lib/gnat/system.o
AR libgnat-x86_32/libgnat.a
GENERATE libhwbase/common/hw-config.ads
GENERATE libgfxinit/common/hw-gfx-gma-config.ads
GCC ramstage/mainboard/lenovo/x220/gma-mainboard.o
gma-mainboard.ads:32:14: warning: there are no others
make: *** [Makefile:357: build/ramstage/mainboard/lenovo/x220/gma-mainboard.o] Error 1
(2-2/3)