Hi NXP Experts,
There is a compile and link issue happens when I try to update a success MPC5748G project from S32_SDK_S32PA_RTM_1.0.0 to S32_SDK_S32PA_RTM_3.0.3, also update the IDE S32DS for PA from 2017r1 to 2.1. Only one z4_0 core is used. The .ld file is kept same, .cproject file is modified according to new SDK and generated code.
The Console reported an error when linking (compiling seems finished):
c:/nxp/s32ds_power_v2.1/s32ds/build_tools/powerpc-eabivle-4_9/bin/../lib/gcc/powerpc-eabivle/4.9.4/../../../../powerpc-eabivle/bin/real-ld.exe: ./Sources/SafeRTOS/kernel/eventgroups.o: the target (pucSSCIRegister) of a R_PPC_VLE_SDA21 relocation is in the wrong output section (.data)
c:/nxp/s32ds_power_v2.1/s32ds/build_tools/powerpc-eabivle-4_9/bin/../lib/gcc/powerpc-eabivle/4.9.4/../../../../powerpc-eabivle/bin/real-ld.exe: final link failed: Bad value
collect2.exe: error: ld returned 1 exit status
The console info, makefile, .cproject, .ld file and .args are attached.
Why the linker reported a wrong output section (.data)? What's the potential reasons?
Thanks in advance.
Hi,
you may find helpful this link - https://community.nxp.com/t5/S32-SDK/Initilization-error-for-Z7a-core/m-p/1322720