Skip to content

Failure to precompile with assertions enabled #48035

Closed

Description

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

Metadata

Assignees

No one assigned

    Labels

    regressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions