Skip to content

library check target fails with apple clang 9 #1415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
reuk opened this issue Sep 23, 2017 · 0 comments
Closed

library check target fails with apple clang 9 #1415

reuk opened this issue Sep 23, 2017 · 0 comments

Comments

@reuk
Copy link
Contributor

reuk commented Sep 23, 2017

I get an error running the library check target with apple clang 9:

Checking /Users/reuben/development/cbmc/src/ansi-c/library/intrin.c
__libcheck.c:261:13: error: definition of builtin function '_mm_lfence'
inline void _mm_lfence(void)
            ^
__libcheck.c:268:13: error: definition of builtin function '_mm_mfence'
inline void _mm_mfence(void)
            ^
2 errors generated.

cc --version gives the following:

Apple LLVM version 9.0.0 (clang-900.0.37)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants