Re: Bug#947500: Missing -latomic on mipsel & armel only?
On 1/23/20 2:02 PM, Matthias Klose wrote:
>> 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.
It's actually bug [1] but it has been unresolved for years now.
Adrian
> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: