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

--output-bc is broken after LLVM bump #53646

Closed
Keno opened this issue Mar 8, 2024 · 5 comments
Closed

--output-bc is broken after LLVM bump #53646

Keno opened this issue Mar 8, 2024 · 5 comments
Labels
compiler:llvm For issues that relate to LLVM

Comments

@Keno
Copy link
Member

Keno commented Mar 8, 2024

# ./usr/bin/julia.exe -J ./usr/lib/julia/sys.dll --compile=all --strip-ir --output-bc sys.bc.a -e 'exit()'
ERROR: failed to emit output file 'text_opt#0.bc': Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM16.0.6jl' Reader: 'LLVM 16.0.6jl')
@gbaraldi
Copy link
Member

gbaraldi commented Mar 8, 2024

I took a look at this but not sure what to do. WriteArchive doesn't take a context so we can't set the opaque pointers setting inside, which causes the error.

@giordano giordano added the compiler:llvm For issues that relate to LLVM label Mar 8, 2024
@vtjnash
Copy link
Member

vtjnash commented Mar 8, 2024

It seems like this bug will just go away on its own once we upgrade llvm again and lose typed-pointers

@gbaraldi
Copy link
Member

gbaraldi commented Mar 8, 2024

Yep

@topolarity
Copy link
Member

Is this fixed now?

@gbaraldi
Copy link
Member

gbaraldi commented Oct 9, 2024

Seems to work on master.

@gbaraldi gbaraldi closed this as completed Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:llvm For issues that relate to LLVM
Projects
None yet
Development

No branches or pull requests

5 participants