use of undeclared identifier '__ATOMIC_ACQ_REL' when building llvm-3.1 on Fedora 17

Ilyes Gouta ilyes.gouta at gmail.com
Sun Sep 2 09:49:22 UTC 2012


Hi,

I've locally built and installed Fedora 18's GCC 4.7.1 packages (gcc
version 4.7.1 20120720 (Red Hat 4.7.1-5) (GCC)) on my F17 box and just
restarted building (F18's) llvm-3.1/clang-3.1 packages. It looks good
so far.

-Ilyes

On Sun, Sep 2, 2012 at 3:30 AM, TASAKA Mamoru <mtasaka at fedoraproject.org> wrote:
> Ilyes Gouta wrote, at 09/01/2012 11:06 PM +9:00:
>>
>> Hi,
>>
>> I'm getting the following errors, when attempting to build llvm-3.1
>> (from f18) on my Fedora 17 setup.
>>
>> In file included from
>>
>> /usr/bin/../lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/iterator:63:
>> In file included from
>>
>> /usr/bin/../lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/ostream:39:
>> In file included from
>>
>> /usr/bin/../lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/ios:42:
>> In file included from
>>
>> /usr/bin/../lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/ios_base.h:40:
>>
>> /usr/bin/../lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/ext/atomicity.h:48:45:
>> error: use of undeclared identifier '__ATOMIC_ACQ_REL'
>>    { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
>>                                              ^
>>
>> /usr/bin/../lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/ext/atomicity.h:52:38:
>> error: use of undeclared identifier '__ATOMIC_ACQ_REL'
>>    { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
>
>
> This issue is currently tracked on:
> https://bugzilla.redhat.com/show_bug.cgi?id=845713
>
> Regards,
> Mamoru
>
>
>
>
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel


More information about the devel mailing list