[MPC5777C] New compiler warning when changing versions

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[MPC5777C] New compiler warning when changing versions

1,118件の閲覧回数
darq
Contributor III

Hello,

We have got some new warning during compilation of software when changing compiler version from 1607 to 1705.

darq_1-1732627467386.png


The warning states:
NXP/PowerPC/platform/devices/MPC5777C/startup/gcc/startup_MPC5777C.S:503: Warning: invalid register expression
NXP/PowerPC/platform/devices/MPC5777C/startup/gcc/startup_MPC5777C.S:504: Warning: invalid register expression

The code mentioned in a warning message is as follows:

darq_0-1732626676159.png

This part of the code is directly copied from NXP documentation AN5191 "MPC5777C Software Initialization and Optimization". Why is this warning showing all of a sudden and how to remove this warning in a proper way?

Best regards

 

タグ(2)
0 件の賞賛
返信
5 返答(返信)

1,087件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I suppose it is only warning message, the assembler code is possible to compile correctly. Is it so?

 

0 件の賞賛
返信

1,076件の閲覧回数
darq
Contributor III

Hello,

Theoretically yes, but there is a company policy of no errors or warnings for software builds. It would be a great help if there was some way to remove it.

Best regards

0 件の賞賛
返信

1,056件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I have checked version of compiler I have on my PC and it is 1607. S32DS says all components are up to date. Our code has been tested with version 1607.

If you have installed compiler at you own, we cannot help as it is open-source compiler.

0 件の賞賛
返信

1,053件の閲覧回数
darq
Contributor III

Hello,

This build version has been taken from NXP website:
https://www.nxp.com/design/design-center/software/automotive-software-and-tools/s32-design-studio-id...

darq_0-1732794705115.png

 

Best regards

タグ(2)
0 件の賞賛
返信

1,034件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I see.

However anyway this is standalone compiler and S32DS as well as SDK codes has been tested with 1607.

However I can report this issue.

0 件の賞賛
返信