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

release-1.6: Backports for 1.6.6 #43735

Merged
merged 38 commits into from
Mar 19, 2022
Merged

Conversation

KristofferC
Copy link
Member

@KristofferC KristofferC commented Jan 10, 2022

Backported PRs:

Need manual backport:

Contains multiple commits, manual intervention needed:

Non-merged PRs with backport label:

cljord and others added 6 commits January 10, 2022 10:38
Not checking could lead to a segfault on closed TCPSockets in getpeername

Fixes #40993

(cherry picked from commit 28e30a3)
* Look for package name in `[extras]`

When Preferences.jl set's a preferences in a non-top-level package,
it adds that package to the `[extras]` entries in the project path.

Package loading should have used thhose entries to map the module uuid
to the key name in the Preferences.toml

Fixes JuliaPackaging/Preferences.jl#24

Co-authored-by: Elliot Saba <staticfloat@gmail.com>
(cherry picked from commit 8197c41)
The last entry sentinel for Win64 SEH is `~0L` not NULL. Apparently
this doesn't cause issues on windows proper, but does crash wine.
Arguably if Windows doesn't have issues then we should just fix
this in wine, but since we control the source and nobody else
ever seems to have run into this, let's just fix it and save
the good Wine folks some headache. Fixes #43569.

(cherry picked from commit 722f9d4)
Constructing the Regex touched in this commit can represent a
significant fraction (e.g. half or better) of the runtime of
the DateFormat method touched in this commit. To make this
DateFormat method more efficient, let's lift that Regex
construction out of that method body.

(cherry picked from commit 7fb5bb8)
See comment in diff for explanation. This fixes test/stacktraces.jl
on aarch64 macOS 12, and according to an OpenJDK issue where they
ran into the same problem, https://git.openjdk.java.net/jdk/pull/6193,
probably also x86_64 macOS 12.

(cherry picked from commit 7f27dea)
To avoid the compiler potentially picking the wrong size depending on standards versions.

(cherry picked from commit e8d1167)
@KristofferC KristofferC added the release Release management and versioning. label Jan 10, 2022
@t-bltg
Copy link
Contributor

t-bltg commented Jan 14, 2022

@KristofferC, should #43787 be backported to 1.6.6 and also 1.7.2 ?

@KristofferC
Copy link
Member Author

Not sure, could be argued it is a bug fix but it isn't really clear to me at least.

@t-bltg
Copy link
Contributor

t-bltg commented Jan 14, 2022

Thanks, I'd say it's a bug fix but since it's a long standing one with visual changes, maybe @JeffBezanson can make that call.

KristofferC and others added 12 commits January 20, 2022 13:46
We could also consider adding `defalg(v::AbstractArray{<:Number}) = DEFAULT_UNSTABLE`,
but it is unlikely that someone will want to do `Union` of `<:Number`
and something other than `Missing` that still would support comparison.

Relevant for JuliaStrings/InlineStrings.jl#21
(and other custom types that will want to add `defalg` support allowing
for `Union` with `Missing`).

(cherry picked from commit eb724e0)
(cherry picked from commit 9769024)
(cherry picked from commit 4c101a1)
Because we might not have synchronized the list again yet.

(cherry picked from commit cac90b5)
We have 2 copies of this data, and so need to make sure we are pointing
at the correct one for runtime.

(cherry picked from commit 2f1f2f6)
@vtjnash vtjnash force-pushed the backports-release-1.6 branch from f5ab4fd to 7452018 Compare February 24, 2022 20:38
giordano and others added 3 commits March 15, 2022 15:06
* [CPUID] Rework how current ISA is determined

* [CPUID] Add ISA entry for A64FX

* [CPUID] Add ISA entry for Apple Silicon M1

* [CPUID] Simplify collection of full set of features for architecture

* [CPUID] Remove AES from A64FX ISA, not all chips appear to have it

(cherry picked from commit f45b6ad)
…et (#44262)

We collect the relocations (i.e. the GOT slots that is used in the code) for each target
in `tgt.relocs`. Needing a relocation, however, does not imply that the function is cloned
for this target within the group (It does mean that at least one target
in the group has it cloned). The previous version would miss the relocation in this case.

This was triggerred with the following cloning situation

    caller: clone_1
    callee: clone_1, clone_1.clone_3

Since caller.clone_1 may call either callee.clone_1 or callee.clone_1.clone_3 a relocation
for callee will be used and is required to be initialized.
In addition to target 1, target 2 (and in fact target 3) within group 1
will also use caller.clone_1. However, since callee isn't cloned for target 2
the previous version wouldn't have saved this slot in the relocation array.

(cherry picked from commit 76fc067)
@KristofferC KristofferC force-pushed the backports-release-1.6 branch from 79388bf to cdfbec3 Compare March 15, 2022 15:48
Pangoraw and others added 3 commits March 16, 2022 10:35
Co-authored-by: Simeon David Schaub <schaub@mit.edu>
(cherry picked from commit 2338f5d)
@KristofferC KristofferC force-pushed the backports-release-1.6 branch from cdfbec3 to c7daef8 Compare March 16, 2022 10:05
@JuliaLang JuliaLang deleted a comment from nanosoldier Mar 16, 2022
@JuliaLang JuliaLang deleted a comment from nanosoldier Mar 16, 2022
@KristofferC
Copy link
Member Author

@nanosoldier runbenchmarks(ALL, vs=":release-1.6")

@KristofferC
Copy link
Member Author

@nanosoldier runtests(ALL, vs=":release-1.6")

@nanosoldier

This comment was marked as outdated.

@vtjnash

This comment was marked as outdated.

@nanosoldier

This comment was marked as outdated.

@vtjnash
Copy link
Member

vtjnash commented Mar 16, 2022

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

@JuliaLang JuliaLang deleted a comment from nanosoldier Mar 18, 2022
@KristofferC
Copy link
Member Author

@nanosoldier runtests(["ADCME", "AeroAcoustics", "ArrayLayouts", "AssociativeArrays", "Batsrus", "BlockArrays", "CMAEvolutionStrategy", "Causal", "CondaPkg", "CrystallographyBase", "ExtendedDates", "GLMNet", "GaussianProcesses", "GcodeParser", "Hashpipe", "ITensorGaussianMPS", "ITensorVisualizationBase", "LatticeDiracOperators", "MIToS", "MRIgeneralizedBloch", "Mamba", "NaturalES", "NotebookToLaTeX", "NumericalAlgorithms", "OceanRobots", "PlanningDomains", "QXTns", "QXTools", "QuadEig", "RoME", "SalesForceBulkApi", "SocialSolver", "SortMark", "SpectralDistances", "StructuralIdentifiability", "SynchronicBallot", "SyntheticDatasets", "SyntheticNetworks", "TensorNetworkCodes", "TraitSimulation", "UCIData", "YAActL", "YaoQX", "ZigZagBoomerang"], vs = ":release-1.6")

@JuliaLang JuliaLang deleted a comment from nanosoldier Mar 18, 2022
@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

@KristofferC KristofferC force-pushed the backports-release-1.6 branch from 53e02a2 to 8c43f36 Compare March 18, 2022 21:59
@KristofferC
Copy link
Member Author

@nanosoldier runtests(["ArrayLayouts", "AssociativeArrays", "BlockArrays", "ExtendedDates", "GaussianProcesses", "ITensorGaussianMPS", "ITensorVisualizationBase", "Mamba", "QXTns", "QXTools", "TensorNetworkCodes", "YAActL", "YaoQX"], vs = ":release-1.6")

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

@KristofferC
Copy link
Member Author

@nanosoldier runtests(["AssociativeArrays", "ExtendedDates", "ITensorGaussianMPS", "ITensorVisualizationBase", "QXTns", "QXTools", "TensorNetworkCodes", "YaoQX"], vs = ":release-1.6")

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

@KristofferC
Copy link
Member Author

The one remaining Pkg eval "failure" looks like a bug fix which is for some reason is tested on the previous behavior.

@KristofferC KristofferC merged commit 9a16c08 into release-1.6 Mar 19, 2022
@KristofferC KristofferC deleted the backports-release-1.6 branch March 19, 2022 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Release management and versioning.
Projects
None yet
Development

Successfully merging this pull request may close these issues.