Page MenuHomePhabricator

MCUBoot build fail with Minsizerel
Closed, ResolvedPublic


Build error occurred when:

  • PSA API test protected storage test suite
  • DCMAKE_BUILD_TYPE=Minsizerel
  • GNUARM 7.3.1
/home/karlzh/tfm-ci/tf-m/bl2/ext/mcuboot/bootutil/src/loader.c: In function 'context_boot_go':
/home/karlzh/tfm-ci/tf-m/bl2/ext/mcuboot/bootutil/src/loader.c:2823:10: error: 'selected_image_header' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     rc = boot_save_boot_status(SW_S_NS,
                                BOOT_IMG_AREA(state, slot));
cc1: all warnings being treated as errors

Event Timeline

Karl added a subscriber: Karl.Apr 27 2020, 8:26 AM
tamasban closed this task as Resolved.May 14 2020, 7:31 AM