cancel
Showing results for 
Search instead for 
Did you mean: 

Linker - incompatible section flags

ssk
Associate II
Posted on June 10, 2015 at 10:52

Hello,

I am using SPC5Studio with SPC560D30L3 device. Till date I was able to build the project without any error/warnings. Recently I am getting a warning as below,

4:10:08 **** Incremental Build of configuration Default for project XXX ****

make all 

Compiling osal_cfg.c

Compiling main.c

Compiling Global_Variables.c

Compiling XXX_Memory.c

Compiling XXX_Init.c

Compiling XXX_Uart.c

Compiling XXX_DataFlash.c

Compiling XXX_PWM.c

Compiling XXX_Watchdog.c

Compiling XXX_Timer.c

Compiling XXX_Control.c

Compiling XXX_Process.c

Compiling XXX_Calibration.c

Compiling XXX_Indications.c

Linking build/out.elf

warning: 1.incompatible section flags c:/spc5studio/eclipse/plugins/com.st.tools.spc5.tools.hightec_1.0.0.201306281422/hightec/bin/../lib/gcc/ppc-ht-eabi/4.6.3/../../../../ppc-ht-eabi/lib/vle/nof\libc.a(lib_a-impure.o):

Creating build/out.hex

 input section'.sdata' = 'awsl' 

 output section '.data' ='awl'

Creating build/out.mot

Creating build/out.bin

Creating build/out.dmp

   text   data    bss    dec    hex filename

  50632   1208   7968  59808   e9a0 build/out.elf

Done

14:10:35 Build Finished (took 26s.114ms)

What is it related to this warning? Where can I find the information and solution for this? Has anyone experienced this?

Your earliest help will be highly appreciated. Thanks.

Mike.
This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
3 REPLIES 3
ssk
Associate II
Posted on June 15, 2015 at 14:47

Folks, Any help on above post? Though this is a warning, will it cause any impact during execution?

Expecting earliest reply. Thanks.

Mike.

Erwan YVIN
ST Employee
Posted on June 15, 2015 at 15:32

Hello Mike ,

the library which defines the ``system calls'' and other basic facilities such as malloc, sprintf and so on ..

There is no problem to use libc library coming from Hightec compiler.

This library has been compiled by the toolchain Hightec gcc powerpcvle

we will try to recompile the libc in order to remove this warning.

Anayway, there is no risk to use this library.

                      Best Regards

                                    Erwan

    

ssk
Associate II
Posted on June 15, 2015 at 15:48

Thanks Erwan for your quick reply. This is really a sheer relief for moving ahead.

Thanks again.

Mike.