-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failed on Raspberry Pi with Raspbian Buster and GCC 8.3 #12
Comments
I'm not associated with the eCAL team in any way, but I wanted to add that this may not be related to Raspberry Pi 3 or armhf per se, as both the old and the current release build fine with gcc 8.3.0 on my Raspberry Pi 3's running ArchLinuxARM. One main difference is probably that I'm building against the ArchLinuxARM's own versions of protobuf, tclap, asio and simpleini, not the bundled ones. This is not solving your issue, I know, but maybe it helps someone pinpointing the problem. |
So it seems that so far we haven't been building for platforms which do require the special I suspect the appropriate However, it is not quite clear to me, under which compilation conditions (compiler, platform, e.g. ) the extra linker arguments are necessary. Amongst others I found this example and this example from llvm where they are trying to detect if the linker argument is necessary. I am just a bit astonished, as this is / should be(?) part of the standard library, that this is not somehow handled by CMake and the generic flags it sets for one platform (e.g. when enabling the C++11 standard). |
@mgdelta did you succeed with the build ? |
No more feedback here .. just close it. |
removed all doubled copyright headers
Hi eCAL team,
trying to build your system on a Raspberry Pi 3B+ fails. Build stops first time when building the executable ecal_topic. The linker complains about undefined reference to
__atomic_load_8
__atomic_store_8
__atomic_fetch_add_8
It looks like a problem linking to -latomic which is necessary on armhf systems.
I'm using an actual raspbian (Buster) with GCC 8.3
During build there are a lot of warnings due to some changes after GCC 7.4.
Maybe the -latomic thing is a problem of using GCC 8 or cmake is doing something ugly.
Can you confirm my problem or is it an issue on my side/system?
Thanks!!
The text was updated successfully, but these errors were encountered: