Raspberry Pi target with modern GCC?

2 posts / 0 new
Last post
Offline
Last seen: 5 years 5 months ago
Joined: 09/17/2018
Posts: 7
Raspberry Pi target with modern GCC?

We're using the Raspberry Pi target, which is compiled with GCC 4.7. This causes issues due to ABI changes to std::string in newer GCC versions. This means that all other C++ libraries need to be compiled with GCC 4.x or use _GLIBCXX_USE_CXX11_ABI=0 as explained here https://gcc.gnu.org/onlinedocs/gcc-5.2.0/libstdc++/manual/manual/using_dual_abi.html

This is a relatively minor issue, but means that all C++ system packages will give link errors, so need to be compiled from source.

A Raspberry Pi target compiled with GCC 5 or higher will resolve this problem.

sara's picture
Offline
Last seen: 1 year 4 months ago
Joined: 01/16/2013
Posts: 128

Hi Pepijn,

We do have more updated libraries for ARM compatible with Raspberry Pi and that use gcc 5 or higher. Contact your regional representative to get additional information on how to get access to it.

All the best,
Sara