Weird compiling error (occurs in the 1st time compiling, but is gone in the 2nd time compiling)

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

Weird compiling error (occurs in the 1st time compiling, but is gone in the 2nd time compiling)

ソリューションへジャンプ
2,170件の閲覧回数
xuedongyang
Contributor II

Hi, NXP experts,

I observed a weird thing: sometimes, when I built a project, I observed this compiling error. But when I built it again, the problem was gone. It is very annoying.

Any idea what could be the cause and how to fix it?

xuedongyang_0-1674485531351.png

Thanks,

Xuedong

 

0 件の賞賛
返信
1 解決策
2,124件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Should be a problem related to compiler (as you shown in the image)

Maybe it does not like the reference to be without an absolute number. But again, seems to be more complicated than that.

Still, good to know you got it working.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,129件の閲覧回数
xuedongyang
Contributor II

Thank you for the suggestion, Daniel.

I did closing non-related projects, but the problem still occasionally happened.

We tried to replace "ldA [a0]" with "ldA [a0]+0". Looks like this fixed the problem. We never saw the problem since we did the replacement of the instruction. However, we don't have explanation why this fixed the problem.

Any thought?

0 件の賞賛
返信
2,125件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Should be a problem related to compiler (as you shown in the image)

Maybe it does not like the reference to be without an absolute number. But again, seems to be more complicated than that.

Still, good to know you got it working.

0 件の賞賛
返信
2,144件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Could be that the project is still loading the references. We do recommend closing non-related projects due to them sometimes carrying errors to your current project.

Please, let us know.

0 件の賞賛
返信