Public bug reported:
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/newlib/c++/) I can see a
folder name 7.3.1 which contains everything I need (apparently). However
the result of the command:
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/newlib/c++/6.3.1 ->
/usr/include/newlib/c++/7.3.1 helps the compiler find the headers, but
the compilation quickly fails because of some builtins missing (in my
case, __builtin_addressof).
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).
** Affects: gcc-arm-none-eabi (Ubuntu)
Importance: Undecided
Status: New
** Affects: libstdc++-arm-none-eabi (Ubuntu)
Importance: Undecided
Status: New
** Also affects: gcc-arm-none-eabi (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1811296
Title:
libc++ files version mismatch
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-arm-none-eabi/+bug/1811296/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs