[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Switch to std::atomic?
From: |
Pantxo |
Subject: |
Re: Switch to std::atomic? |
Date: |
Fri, 27 Sep 2019 02:48:05 -0500 (CDT) |
John W. Eaton wrote
> On 9/25/19 6:10 PM, John W. Eaton wrote:
>
> I ended up pushing the following three changes:
>
> http://hg.savannah.gnu.org/hgweb/octave/rev/c98953e85220
> http://hg.savannah.gnu.org/hgweb/octave/rev/c23aee2104de
> http://hg.savannah.gnu.org/hgweb/octave/rev/396996f1dad0
I am unable to compile Octave with gcc 6.3 (the default in debian stretch)
and OpenMP. I get a bunch of error that look as follows:
In file included from ../octave/liboctave/util/oct-atomic.c:29:0:
/usr/lib/gcc/x86_64-linux-gnu/6/include/stdatomic.h:40:1: sorry,
unimplemented: ‘_Atomic’ with OpenMP
typedef _Atomic _Bool atomic_bool;
This seems to have been fixed in later varsions of gcc, see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65467
Pantxo
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html
- Re: Is fork() broken in octave 5.1 ?, (continued)
- Re: Switch to std::atomic?, John W. Eaton, 2019/09/26
- Re: Switch to std::atomic?, Dmitri A. Sergatskov, 2019/09/26
- Re: Switch to std::atomic?, John W. Eaton, 2019/09/27
- Re: Switch to std::atomic?, Rik, 2019/09/26
- Re: Switch to std::atomic?, John W. Eaton, 2019/09/26
- Re: Switch to std::atomic?, Rik, 2019/09/26
- Re: Switch to std::atomic?, John W. Eaton, 2019/09/27
- Re: Switch to std::atomic?,
Pantxo <=
- Re: Switch to std::atomic?, John W. Eaton, 2019/09/27
- Re: Switch to std::atomic?, Pantxo Diribarne, 2019/09/28