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

Failure to precompile with assertions enabled #48035

Closed
maleadt opened this issue Dec 29, 2022 · 0 comments · Fixed by #48036
Closed

Failure to precompile with assertions enabled #48035

maleadt opened this issue Dec 29, 2022 · 0 comments · Fixed by #48036
Labels
regression Regression in behavior compared to a previous version
Milestone

Comments

@maleadt
Copy link
Member

maleadt commented Dec 29, 2022

With an assertions build of 1.9 or 1.10 (taken from the x86_64-linux-gnuassert builder), precompilation of packages like LLVM/Adapt/GPUCompiler (but not Example.jl) fails when also enabling code coverage:

$ julia --project -e "using Pkg; Pkg.test(; coverage=true)"
...
Precompiling environment...
  1 dependency successfully precompiled in 1 seconds
     Testing Running tests...
julia: /cache/build/default-aws-shared0-2/julialang/julia-release-1-dot-9/src/coverage.cpp:50: void jl_coverage_alloc_line(llvm::StringRef, int): Assertion `!codegen_imaging_mode()' failed.

This is likely caused by #47184, which touched both package precompilation as well as this very assertion.

cc @vchuravy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Regression in behavior compared to a previous version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant