RaspberryPI ADA-build causes: undefined reference to `__sync_synchronize'

Jan Sommer soja-misc at aries.uberspace.de
Mon Jun 1 20:08:55 UTC 2015


Am Freitag, 22. Mai 2015, 08:30:24 schrieb Sebastian Huber:
> > I found this thread where it seems to have been discussed before, but
> > don't see if and how it was solved:
> > http://gcc.gnu.org/ml/gcc/2012-03/msg00083.html What would be a starting
> > point to fix this issue?
> 
> Which GCC options do you use to build or link to the Ada library? It
> should work for the RPI 2, for the RPI 1 we lack a suitable multilib. So
> something like this is necessarry:
> 
> https://gcc.gnu.org/ml/gcc/2012-03/msg00090.html

It may be a stupid question, but for the RPI1 I still don't get where I would 
add the function. Somewhere in the gcc sources before compiling the cross 
compiler toolchain, in the rtems sources or in the user program?
I found the same mailinglist thread you point to, but unfortunately there it's 
not explained. 

Best regards,

   Jan


More information about the users mailing list