Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Jun 18, 2021

This was not an external method table, it is just a normal variable
binding. This was causing the precompile files to be corrupted, since we
use normal variables that look like this one at

# Get at the nonfunction_mt, which happens to be the mt of SimpleVector
const nonfunction_mt = typename(SimpleVector).mt

Fixes #41156

This was not an external method table, it is just a normal variable
binding. This was causing the precompile files to be corrupted, since we
use normal variables that look like this one at
https://github.com/JuliaLang/julia/blob/dc2befcffc7412768097c2a2a6819724a4745aeb/base/compiler/utilities.jl#L139-L140

Fixes #41156
@vtjnash vtjnash added compiler:precompilation Precompilation of modules backport 1.7 labels Jun 18, 2021
@vtjnash vtjnash requested a review from Keno June 18, 2021 19:04
@vtjnash vtjnash merged commit e3197af into master Jun 19, 2021
@vtjnash vtjnash deleted the jn/41156 branch June 19, 2021 00:04
KristofferC pushed a commit that referenced this pull request Jun 26, 2021
This was not an external method table, it is just a normal variable
binding. This was causing the precompile files to be corrupted, since we
use normal variables that look like this one at
https://github.com/JuliaLang/julia/blob/dc2befcffc7412768097c2a2a6819724a4745aeb/base/compiler/utilities.jl#L139-L140

Fixes #41156

(cherry picked from commit e3197af)
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
This was not an external method table, it is just a normal variable
binding. This was causing the precompile files to be corrupted, since we
use normal variables that look like this one at
https://github.com/JuliaLang/julia/blob/dc2befcffc7412768097c2a2a6819724a4745aeb/base/compiler/utilities.jl#L139-L140

Fixes JuliaLang#41156
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:precompilation Precompilation of modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Loading some functions from precompiled files seems broken

4 participants