Debug version of newlib

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

Debug version of newlib

2,566件の閲覧回数
davenadler
Senior Contributor I

Using latest MCUXpresso for an LPC55S69, need to debug a possible newlib problem.
For now we'll concentrate on variant full newlib (not nano), none.
Thus a few questions for NXP:

  1. have NXP published the debug version of newlib (if so, where, if not, why not)?
  2. where is the build script NXP have used for newlib?
  3. have NXP made any modifications to newlib, or used unchanged version 3.1.0?

Thanks!
Best Regards, Dave
PS: @v_canoz - This is regarding your concurrency issue...

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

2,543件の閲覧回数
davenadler
Senior Contributor I

Thanks @converse, good to know NXP did not make mods.
But I did not find any newlib debug builds on the ARM site.
Do you know where I can find debug version(s) of newlib, which is my main question?
Thanks,
Best Regards, Dave

0 件の賞賛
返信

2,539件の閲覧回数
ErichStyger
Specialist I

Hi Dave,

to my knowledge there is no pre-built debug version of the library. What I did in the past (but not recently) was building it myself:

https://mcuoneclipse.com/2014/08/23/gnu-libs-with-debug-information-rebuilding-the-gnu-arm-libraries...

you will be better better off building it on Linux.

Erich

0 件の賞賛
返信

2,526件の閲覧回数
davenadler
Senior Contributor I

Hi @ErichStyger - I saw your excellent (as always) page, where I could see building newlib is a PITA. Perhaps I'll spin up a Linux VM to build it, but that always wastes a few hours too unfortunately. @v_canoz has a concurrency problem, which looks like a real platform issue (and not related to free storage). Seems really unlikely but might be GCC runtime as built for ARM or FreeRTOS. He's come up with a trivial test case that crashes despite plenty of stack space and no obvious configuration settings error. I checked all the usual suspects. More likely MCUXpresso build setting wrong somehow, but I don't see it yet.

0 件の賞賛
返信

2,562件の閲覧回数
converse
Senior Contributor V

NXP take their GNU Tools releases (unchanged) directly from the ARM GNU Tools project. Everything you need can be found there:

https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-...

If you think there is a bug, search the GNU newlib forum

0 件の賞賛
返信