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

Fix and test special loading support for Compiler #56535

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

Keno
Copy link
Member

@Keno Keno commented Nov 12, 2024

The new Compiler package has a special stub that bypasses compilig a separate copy if you have dev'ed the version that's already compiled into the sysimg. It wasn't quite working properly in the final version of that PR if a compiler so loaded was a dependency of another precompiled package. Fix that and add a test to make sure it doesn't regress.

@Keno Keno force-pushed the kf/Compilerloading branch 4 times, most recently from e24ecfc to 42fe66f Compare November 12, 2024 22:19
The new `Compiler` package has a special stub that bypasses
compilig a separate copy if you have `dev`'ed the version
that's already compiled into the sysimg. It wasn't quite
working properly in the final version of that PR if a
compiler so loaded was a dependency of another precompiled
package. Fix that and add a test to make sure it doesn't
regress.
@Keno Keno force-pushed the kf/Compilerloading branch from d47a1fc to d55f65e Compare November 13, 2024 08:05
@Keno Keno merged commit a23e313 into master Nov 13, 2024
4 of 7 checks passed
@Keno Keno deleted the kf/Compilerloading branch November 13, 2024 15:32
@giordano
Copy link
Contributor

This PR broke building on powerpc

Comment on lines +3941 to +3943
// Ordinarily set during deserialization, but our compiler stub image,
// just returns a reference to the sysimage version, so we set it here.
topmod->build_id.hi = checksum;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds a new data race, so it feels rather sketchy, though I don't fully understand this comment

@Keno
Copy link
Member Author

Keno commented Nov 14, 2024

This PR broke building on powerpc

I don't think that's right. There's two issues on powerpc, one is the build not starting at all, which has been happening all week. The other is


PromoteFloatResult #0: t5: f16 = freeze t4, essentials.jl:722 @[ float.jl:102 @[ float.jl:892 @[ float.jl:932 @[ gmp.jl:405 ] ] ] ]
--
  |  
  | LLVM ERROR: Do not know how to promote this operator's result!

which appears to have start with
aa05c98 and is f16 related.

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

Successfully merging this pull request may close these issues.

3 participants