Re: bind9 failures on mips

Florian Weimer <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
* Robert Edmonds:

> James Cowgill wrote:
>> But to be honest, I would just replace all the functions in that file
>> with calls to the C11 atomic functions which GCC implements itself -
>> this way you can be sure they're right:
>
> What minimum version of gcc would be necessary?  The last time I looked
> at this topic, gcc still did not have stdatomic.h, but I see that's
> changed now.

GCC 4.7 has very similar atomic built-ins:

<https://gcc.gnu.org/onlinedocs/gcc-4.7.4/gcc/_005f_005fatomic-Builtins.html#g_t_005f_005fatomic-Builtins>

But the previous built-ins go *way* back:

<https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Atomic-Builtins.html>

The question is whether the relevant MIPS variants have proper support.
I don't know the answer.
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.