-
Notifications
You must be signed in to change notification settings - Fork 254
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
c2rust
fails to build with LLVM 15
#676
Comments
c2rust
fails to build with llvm 11, 12, and 15
On Linux it builds with LLVM 11 and 12 fine. I haven't tested LLVM 15 before. You're getting this same error for LLVM 11, 12, and 15 but not 13 and 14? |
I didn't have 13 and 14 so didn't try them. The error seems to be the same in 11, 12 and 15. Using LLVM 8 worked though. I was using: LLVM_CONFIG_PATH=/usr/local/opt/llvm/bin/llvm-config cargo install --git https://github.com/immunant/c2rust.git c2rust
LLVM_CONFIG_PATH=/usr/local/opt/llvm@11/bin/llvm-config cargo install --git https://github.com/immunant/c2rust.git c2rust
LLVM_CONFIG_PATH=/usr/local/opt/llvm@15/bin/llvm-config cargo install --git https://github.com/immunant/c2rust.git c2rust |
I'm not able to reproduce with LLVM 11, 12 on Linux (Ubuntu 22.10) or LLVM 11 on MacOS Monterey. Update: I can reproduce with LLVM 15 on MacOS. It looks like the definition of Are you able to run down the exact copy of |
clang::StringLiteral::StringKind::Ascii was renamed to clang::StringLiteral::StringKind::Ordinary. Add release keys and update build_translator.py. Closes #676.
@jrmuizel can you try With static linking on MacOS, I'm seeing this error related to ld: in /usr/local/Cellar/llvm/15.0.0/lib/libclangAST.a(Stmt.cpp.o), could not parse object file /usr/local/Cellar/llvm/15.0.0/lib/libclangAST.a(Stmt.cpp.o): 'Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.0' Reader: 'LLVM APPLE_1_1400.0.29.102_0')', using libLTO version 'LLVM version 14.0.0, (clang-1400.0.29.102)' for architecture x86_64 |
c2rust
fails to build with llvm 11, 12, and 15c2rust
fails to build with LLVM 15
clang::StringLiteral::StringKind::Ascii was renamed to clang::StringLiteral::StringKind::Ordinary. Add release keys and update build_translator.py. Closes #676.
@thedataking I tried the In case it helps someone, on an M1 Mac, homebrew uses
|
clang::StringLiteral::StringKind::Ascii was renamed to clang::StringLiteral::StringKind::Ordinary. Add release keys and update build_translator.py. Closes #676.
clang::StringLiteral::StringKind::Ascii was renamed to clang::StringLiteral::StringKind::Ordinary. Add release keys and update build_translator.py. Closes #676.
The text was updated successfully, but these errors were encountered: