On 27.12.19 18:35, Julien Puydt wrote: > Package: g++-9 > Version: 9.2.1-21 > > I have a package which fails to build on both Debian armel and mipsel > with this g++ package, and with the same error: > /usr/bin/ld: ./.libs/libfplll.so: undefined reference to > `__atomic_store_8' > /usr/bin/ld: ./.libs/libfplll.so: undefined reference to > `__atomic_load_8' > > which point to a missing -latomic somewhere. Since all other arches > compiled nicely, I think the package is correct and the compiler makes > something wrong in those cases, but I might err.
This is not a bug. You might want to link that unconditionally, however I'd prefer if this would be an upstream patch, only linking when needed.