libc++ files version mismatch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-arm-none-eabi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
libstdc++-arm-none-eabi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I just installed gcc-arm-none-eabi toolchain and I can't compile even the simplest c++ source as g++ complaints about missing headers.
If I open the header folder (/usr/include/
arm-none-eabi-g++ -v
tells me that g++ version is 6.3.1(2017-06-20) and not 7.3.1.
In fact creating a symlink /usr/include/
I think there is something messed up with the dependencies, as __builtin_addressof has been implemented later than Jun 2017 (but I am not sure).
This was working correctly on Ubuntu Focal with gcc-arm-none-eabi (15:7-2018-q2-6) and libstdc+ +-arm-none- eabi-newlib (15:7-2018- q2-5+12) .
However, now that gcc-arm-none-eabi is at 15:8-2019-q3-1, it's broken again. Hopefully the newlib package will get a rebuild prior to release which should correct the issues.