Conflicting types for ‘ethr_nat ive_dw_atomic_t’ on armv7a-hardfloat-linux -gnueabi

Dirkjan Ochtman <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CAKmKYaCW=CGZjrtRte5mBCQbaW66LOMJcgwB93tgKPu7yeb9sw@mail.gmail.com>
Hi there,

I'm the package maintainer for Erlang on Gentoo. Recently, I got this
bug report:

https://bugs.gentoo.org/show_bug.cgi?id=537570

Apparently, with gcc-4.8.4, there's this problem:

In file included from ../include/internal/gcc/ethread.h:48:0,
                 from ../include/internal/ethread.h:368,
                 from beam/erl_threads.h:264,
                 from beam/erl_smp.h:27,
                 from beam/sys.h:434,
                 from beam/export.h:24,
                 from armv7a-hardfloat-linux-gnueabi/erl_pbifs.c:9:
../include/internal/gcc/ethr_dw_atomic.h:81:3: error: conflicting
types for ‘ethr_native_dw_atomic_t’
 } ethr_native_dw_atomic_t;

I looked around the source tree a bit, but since the erl_pbifs.c seems
to be generated by a Perl script and my Perl skills aren't so strong,
I couldn't really figure out the problem.

Cheers,

Dirkjan

P.S. I'm not subscribed to erlang-bugs, please CC me on any replies.
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
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.