Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2019 18:17:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 230888] Missing 64 bit atomic functions for i386
Message-ID:  <bug-230888-29464-mKKBsC3a8h@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230888-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230888-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230888

--- Comment #9 from Jan Beich <jbeich@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 =3D 1;
#pragma omp atomic read
        j =3D 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)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230888-29464-mKKBsC3a8h>