[swift-dev] Problems with dispatch?

Alex Blewitt alblue at apple.com
Fri Oct 13 05:07:58 CDT 2017


> On 11 Oct 2017, at 22:03, Alex Blewitt via swift-dev <swift-dev at swift.org> wrote:
> 
> On a recent test build there were compile errors with libdispatch, even after a clean build:
> 
> src/libdispatch.so: error: undefined reference to '__atomic_fetch_sub_4'
> src/libdispatch.so: error: undefined reference to '__atomic_load_4'
> src/libdispatch.so: error: undefined reference to '__atomic_fetch_add_4'
> src/libdispatch.so: error: undefined reference to '__atomic_compare_exchange_4'
> src/libdispatch.so: error: undefined reference to '__atomic_fetch_or_4'
> src/libdispatch.so: error: undefined reference to '__atomic_fetch_and_4'
> src/libdispatch.so: error: undefined reference to '__atomic_store_4'
> src/libdispatch.so: error: undefined reference to '__atomic_exchange_4'
> clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

These problems have since been fixed, and foundation builds are going through as expected.

Alex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20171013/647cc24f/attachment.html>


More information about the swift-dev mailing list