You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading arm-none-eabi-newlib from 4.3.0 => 4.4.0, I encounter a lot of linker issues, e.g., when building the example in #1146
getentropy is not implemented
Linking········ /home/hose/projects/modm_projects/modm/build/nucleo_g474re/flash_json/scons-release/flash_json.elf
/usr/lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/bin/ld: /usr/lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-getentropyr.o): in function `_getentropy_r':
/build/arm-none-eabi-newlib/src/build-nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/../../../../../../newlib-4.4.0.20231231/newlib/libc/reent/getentropyr.c:48:(.text._getentropy_r+0xe): warning: _getentropy is not implemented and will always fail
/usr/lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/bin/ld: /usr/lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-getentropyr.o): note: the message above does not take linker garbage collection into account
collect2: error: ld returned 1 exit status
Also, there is a linker error related to multiple definitions of sprintf
For now, downgrading arm-none-eabi-newlib to 4.3 keeps things working...
The text was updated successfully, but these errors were encountered:
Is the output above shortened? The text says "warning: _getentropy is not implemented and will always fail", so only a warning and the first actual error in your trace is "error: ld returned 1 exit status". Weird.
Anyways, there is no support in modm for GCC 13 (and associated linker and lib versions) yet (see #1012), so this bug will probably not get fixed immediately.
After upgrading
arm-none-eabi-newlib
from4.3.0
=>4.4.0
, I encounter a lot of linker issues, e.g., when building the example in #1146getentropy is not implemented
Also, there is a linker error related to
multiple definitions of sprintf
For now, downgrading
arm-none-eabi-newlib
to4.3
keeps things working...The text was updated successfully, but these errors were encountered: