[Bug 230888] Missing 64 bit atomic functions for i386

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 27 18:17:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888

--- Comment #9 from Jan Beich <jbeich at FreeBSD.org> ---
Also affects LLVM openmp e.g.,
http://beefy11.nyi.freebsd.org/data/head-i386-default/p499924_s346654/logs/errors/colmap-3.5_7.log

$ cat a.c
#include <stdint.h>

int main(void)
{
        int64_t j, i = 1;
#pragma omp atomic read
        j = i;
        return 0;
}

$ cc -fopenmp a.c
ld: error: undefined symbol: __atomic_load
>>> referenced by foo.c
>>>               /tmp/foo-fdf421.o:(main)
cc: error: linker command failed with exit code 1 (use -v to see invocation)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list