[En-Nut-Discussion] Problem with recent Arm-non-eabi-gcc and libs
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Tue Feb 2 17:28:23 CET 2021
Hello,
with recent gcc-arm-none-eabi-10-2020-q4-major and probably the other
2020 release, multiple problems happen in different incarnations
depending on the link option
- with only nut libc, binaries get substantial bigger
- with nanolib, crashed like this appear:
(gdb) att 1
Attaching to program: /devel/en_apps/cps_stm32/cps_f303/cps_stm32.elf, Remote target
IntHardfaultHandler (arg=0x0) at /devel/ethernut/nut/arch/cm3/cmsis/cortex_init.c:253
253 __asm("BKPT #0\n") ; // Break into the debugger
(gdb) bt
#0 IntHardfaultHandler (arg=0x0) at /devel/ethernut/nut/arch/cm3/cmsis/cortex_init.c:253
#1 <signal handler called>
#2 IntBusfaultHandler (arg=0x0) at /devel/ethernut/nut/arch/cm3/cmsis/cortex_init.c:291
#3 <signal handler called>
#4 0x0801d5f2 in std ()
#5 0x0801d6e8 in __sinit ()
#6 0x0801ccd8 in _vfprintf_r ()
#7 0x0801340e in printf (fmt=0x801dcb0 "Board HID: ") at /devel/ethernut/nut/crt/printf.c:71
#8 0x08008236 in main () at /devel/en_apps/cps_stm32/cps_f303/../cps_stm32.c:153
etc.
Do people have better experiences or hints for me?
Thanks
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
More information about the En-Nut-Discussion
mailing list