Skip to content
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

Regressions after updating to clang/LLVM 19.1.0 #1395

Open
brt-adam-snaider opened this issue Sep 20, 2024 · 2 comments
Open

Regressions after updating to clang/LLVM 19.1.0 #1395

brt-adam-snaider opened this issue Sep 20, 2024 · 2 comments

Comments

@brt-adam-snaider
Copy link

Caveat: I understand this BUG is quite vague in nature. Part of the ask here is to document if there are specific requirements in regards to the latest supported LLVM/Clang toolchain or if autocxx is supposed to be backwards compatible/agnostic to them.

Describe the bug
Upgraded our internal C++ toolchain to clang 19.1.0 and autocxx is now unable to generate many bindings it used to have.

To Reproduce
Potentially update examples to LLVM 19.1.0. I'll see if I can get an example set up.

Expected behavior
autocxx is able to generate bindings.

@adetaylor
Copy link
Collaborator

Hi, behind the scenes autocxx is dependent on a forked version of bindgen called autocxx-bindgen. It's probable that bindgen has undergone changes to become compatible with LLVM 19.1.0 and that autocxx-bindgen needs to merge in the latest bindgen changes. This is unfortunately quite a time consuming process but I'll see if I can get a chance to do it sometime in the near future. Even sooner than that, I might document the procedure in case you want to do it.

@adetaylor
Copy link
Collaborator

This might be the same as #1396. Unfortunately rolling bindgen hasn't solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants