On 2019-02-18 11:25, John Paul Adrian Glaubitz wrote: > Hi Andreas! > >> /usr/bin/ld: liboclgrind-18.3.so: undefined reference to >> `__atomic_fetch_add_4' >> /usr/bin/ld: liboclgrind-18.3.so: undefined reference to >> `__atomic_exchange_4' >> /usr/bin/ld: liboclgrind-18.3.so: undefined reference to >> `__atomic_fetch_sub_4' >> /usr/bin/ld: liboclgrind-18.3.so: undefined reference to `__atomic_load_1' >> /usr/bin/ld: liboclgrind-18.3.so: undefined reference to `__atomic_store_4' >> /usr/bin/ld: liboclgrind-18.3.so: undefined reference to `__atomic_load_4' >> /usr/bin/ld: liboclgrind-18.3.so: undefined reference to `__atomic_store_1' >> /usr/bin/ld: liboclgrind-18.3.so: undefined reference to >> `__atomic_compare_exchange_4' >> collect2: error: ld returned 1 exit status >> >> and I don't have time to debug this. > > This is most likely caused by a missing -latomic in the linker options, > see [1]. armel doesn't have these atomics built-in in hardware, so you > need to use an external helper library for that. > > Adrian > >> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915046
Thanks for the pointer, will look into it. Andreas