Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

ld: section PUBLIC_KEYS loaded at [0000000000000610,0000000000000a63] overlaps section BOOT_VECT loaded at [0000000000000500,000

MingChe_H_
Beginner
130 Views

Hello,

I encountered an error msg. when I used ICC to compile SOFIA. The following are the steps of how we comply with the instructions to install ICC, set the environment, and compile.

1. Install ICC compiler V15 (file name: l_comp_embd_p_15.0.0.037.tgz)

2. Install ips tool (file name: ips2013_external_req.tar.gz) and move to /opt/*

3. eepo sync SOFIA code

4. source build/envsetup.sh

5. lunch Sf3gr_svb_garnet-userdebug

6. source ~/intel/system_studio_2015.0.037/bin/compilervars.sh ia32 (ICC installed path)

7. export LIBRARY_PATH=~/intel/system_studio_2015.0.037/compiler/lib/ia32

8. export INCLUDE=/opt/ips2013/external_req/include/clang

9. make DELIVERY=YES

When compiling, it showed the error msg. as follows

*** Generate automatic script: ebl.signing_script.txt ***

------ Result in ebl.signing_script.txt ---------- 
LOG
USE_DER_SIGNATURES
Section BOOT_CORE_EBL
SignFormat 1
HashFunction 2
Key dwdtoolsrc/bootcore/make/configs/private_keys/Mprk2048dev.key 
GenRegionSign  0x500   0x100 
END 
---------------------------------- 

=== Generate Target: ebl.elf ===
ld: section PUBLIC_KEYS loaded at [0000000000000610,0000000000000a63] overlaps section BOOT_VECT loaded at [0000000000000500,0000000000000617]
make[3]: *** [../images/bootloader/SF_3GR_SOC_ES_1_0_AG620_ES2_VMM_EMMC_ONLY_REV_1.0_DSDS_GARNET/ebl/ebl.elf] Error 2
make[3]: Leaving directory `/home/sofia/Projects/SOFIA_L5.0_WW04_BSP/source/bootsystems'
make[2]: *** [EBL] Error 2
make[2]: Leaving directory `/home/sofia/Projects/SOFIA_L5.0_WW04_BSP/source/bootsystems'
make[1]: *** [build_bootsystem] Error 2
make[1]: Leaving directory `/home/sofia/Projects/SOFIA_L5.0_WW04_BSP/source/bootsystems/make'
make: *** [bootcore_delivery] Error 2

#### make failed to build some targets (02:24 (mm:ss)) ####

I wonder if any process was wrong because I have several build servers which would build CLVP and MOFD that dont use ICC. What's more, one or two build servers will build successfully while others still encounter the same error as described. Any suggestion to solve this problem?

MingChe

0 Kudos
1 Reply
Yang_W_Intel
Employee
130 Views

Hi MingChe,

    This is a known issue. I will ask our supporting engineer to contact you on how to solve this issue.

Thanks.

-Yang

Reply