AnsweredAssumed Answered

powerpc-eabivle-gcc-gcc 4.9.2 vs powerpc-eabivle-gcc-4.9.4

Question asked by wan35fr on Aug 30, 2017
Latest reply on Aug 31, 2017 by stanish

Hello NXP Community ,

 

I have tried to use your new version powerpc-eabivle-gcc-4.9.4.exe

i have this following issue

ppc-freevle-eabi-gcc -c -mcpu=e200z0 -meabi -msdata=none -mregnames -mvle -O2 -gdwarf-2 -fomit-frame-pointer -falign-functions=16 -mno-spe -msoft-float -fno-gcse -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wstrict-prototypes -Wa,-alms=build/lst/ -DPPC_USE_VLE=1 -MD -MP -MF .dep/build.d -I. -I./components/spc560dxx_platform_component_rla/lib/include -I./components/spc560dxx_board_initialization_component_rla/lib/include -I./components/spc560dxx_clock_component_rla/lib/include -I./components/spc560dxx_irq_component_rla/lib/include -I./components/spc560dxx_osal_component_rla/lib/include -I./components/spc560dxx_low_level_drivers_component_rla/lib/include -I./components/spc560dxx_platform_component_rla/cfg -I./components/spc560dxx_board_initialization_component_rla/cfg -I./components/spc560dxx_clock_component_rla/cfg -I./components/spc560dxx_irq_component_rla/cfg -I./components/spc560dxx_osal_component_rla/cfg -I./components/spc560dxx_low_level_drivers_component_rla/cfg -I./components main.c -o main.o

 

c:/project/spc5repos/sprint16/tools/gcccompilersuite/com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32/toolchain/bin/../lib/gcc/powerpc-eabivle/4.9.4\libgcc.a(eabivle.o): In function `__eabi':
(.text+0x46): undefined reference to `__init'
c:/project/spc5repos/sprint16/tools/gcccompilersuite/com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32/toolchain/bin/../lib/gcc/powerpc-eabivle/4.9.4\libgcc.a(eabivle.o):(.got2+0x8): undefined reference to `__SDATA_START__'
c:/project/spc5repos/sprint16/tools/gcccompilersuite/com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32/toolchain/bin/../lib/gcc/powerpc-eabivle/4.9.4\libgcc.a(eabivle.o):(.got2+0xc): undefined reference to `__SBSS_END__'
c:/project/spc5repos/sprint16/tools/gcccompilersuite/com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32/toolchain/bin/../lib/gcc/powerpc-eabivle/4.9.4\libgcc.a(eabivle.o):(.got2+0x14): undefined reference to `__SDATA2_START__'
c:/project/spc5repos/sprint16/tools/gcccompilersuite/com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32/toolchain/bin/../lib/gcc/powerpc-eabivle/4.9.4\libgcc.a(eabivle.o):(.got2+0x18): undefined reference to `__SBSS2_END__'
collect2.exe: error: ld returned 1 exit status
make: *** [build/out.elf] Error 1

             

On powerpc-eabivle-gcc-4.9.2.exe .. no issue happenned on the same directive of compilation

Compilation is OK

 

i do not understand this issue, do you have an idea ?

 

   Best Regards

 

                             Erwan

Outcomes