Re: Bug#947500: Missing -latomic on mipsel & armel only?

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.mips,gmane.linux.debian.ports.arm
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.