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

Backports for Julia 1.8.2 #46663

Merged
merged 34 commits into from
Sep 21, 2022
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
d174fd4
docs: print extra information when deploying (#46030)
mortenpi Jul 14, 2022
f21aea0
Improve type stability of `platforms_match(::AbstractPlatform, ::Abst…
ranocha Aug 31, 2022
89facae
Improve inference in REPL LineEdit.jl `getEntry` (#46550)
ranocha Aug 31, 2022
53a7c00
Improve inferrability of `open(f, cmd, ...)` (#46551)
ranocha Aug 31, 2022
056e260
Deploy release-* branch docs too (#46618)
mortenpi Sep 5, 2022
3761fd3
add warning for function declaration with undefined static parameter …
vtjnash Sep 6, 2022
e0a820e
avoid inferring when compilation signature differs from call site sig…
vtjnash Sep 2, 2022
16a7aac
For Julia 1.8.x, `Tar` should track the `release-1.10` branch of the …
DilumAluthge Sep 13, 2022
9f2d553
inference: concretize `invoke` callsite correctly (#46743)
aviatesk Sep 14, 2022
6e4cf29
Remove contradictory inline annotations (#46767)
oscardssmith Sep 15, 2022
a233e3e
bump the Tar stdlib from 0f8a73d to c9e7185 for Julia 1.8 (#46758)
ranocha Sep 15, 2022
237c92d
Improve dispatch of `findall(testf::F, A::AbstractArray)` (#46553)
ranocha Sep 6, 2022
3fa8073
fix issue #46665, `prod(::Array{BigInt})` (#46667)
rfourquet Sep 7, 2022
2aaded9
fix invalidations from loading ArrayInterface.jl (#46673)
ranocha Sep 11, 2022
3d8b92f
improve type stability of `lt(p::Perm, a::Integer, b::Integer)` (#46732)
ranocha Sep 13, 2022
9d593ce
improve type stability of `process_overrides(artifact_dict::Dict, pkk…
ranocha Sep 14, 2022
85ecb8e
fix invalidations from loading Static.jl (#46761)
ranocha Sep 15, 2022
02af18b
improvements to constant values in IR (#45173)
JeffBezanson Aug 17, 2022
22d1000
LibGit2: correct regex for credential helpers (#46597)
barucden Sep 6, 2022
ab67e93
improve type stability of `tail/front(::NamedTuple)` (#46762)
ranocha Sep 15, 2022
7955e8a
Also merge var with unchanged bounds. (#46757)
N5N3 Sep 15, 2022
83f2ae8
CI (`Create Buildbot Statuses`): remove `tester_macos64` from the lis…
DilumAluthge Apr 9, 2022
b1e7cac
CI (`Create Buildbot Statuses`): remove `tester_linux32` from the lis…
DilumAluthge Apr 21, 2022
b69fa6a
doc: guard release branch regex with ^...$ (#46647)
mortenpi Sep 16, 2022
b6883b0
Fix `mapreduce` on `AdjOrTrans` (#46605)
SobhanMP Sep 16, 2022
cc2b7c5
Make the "system image too large" error message more descriptive (#46…
DilumAluthge Sep 16, 2022
d336126
Support LibGit2 ABI for 1.4.0 and later
fxcoudert Sep 16, 2022
80fda11
tcp: re-enable half-duplex operation support (#46088)
vtjnash Jul 25, 2022
86d0354
libuv: bump version to v2-1.44.2 (#46086)
vtjnash Aug 5, 2022
b79226e
inference: make `limit::Int` as a caching key of `CachedMethodTable` …
aviatesk Sep 17, 2022
5b365e5
Fix a bug accidentally introduced by 43453 (#46816)
kpamnany Sep 17, 2022
6bfa51f
Expose constrained memory limits and have the GC use them (#46796)
maleadt Sep 20, 2022
39ae07c
set number of openblas threads to 1 while precompiling (#46792)
KristofferC Sep 20, 2022
285b75c
update to latest Pkg 1.8
Sep 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make the "system image too large" error message more descriptive (#46570
)

(cherry picked from commit a7bef77)
  • Loading branch information
DilumAluthge authored and KristofferC committed Sep 16, 2022
commit cc2b7c581354ca45b6560009756545915fb2d470
20 changes: 17 additions & 3 deletions src/staticdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ done by `get_item_for_reloc`.
#include <stdlib.h>
#include <string.h>
#include <stdio.h> // printf
#include <inttypes.h> // PRIxPTR

#include "julia.h"
#include "julia_internal.h"
Expand Down Expand Up @@ -1956,9 +1957,22 @@ static void jl_save_system_image_to_stream(ios_t *f) JL_GC_DISABLED
jl_write_gv_tagrefs(&s);
}

if (sysimg.size > ((uintptr_t)1 << RELOC_TAG_OFFSET) ||
const_data.size > ((uintptr_t)1 << RELOC_TAG_OFFSET)*sizeof(void*)) {
jl_printf(JL_STDERR, "ERROR: system image too large\n");
if (sysimg.size > ((uintptr_t)1 << RELOC_TAG_OFFSET)) {
jl_printf(
JL_STDERR,
"ERROR: system image too large: sysimg.size is %jd but the limit is %" PRIxPTR "\n",
(intmax_t)sysimg.size,
((uintptr_t)1 << RELOC_TAG_OFFSET)
);
jl_exit(1);
}
if (const_data.size > ((uintptr_t)1 << RELOC_TAG_OFFSET)*sizeof(void*)) {
jl_printf(
JL_STDERR,
"ERROR: system image too large: const_data.size is %jd but the limit is %" PRIxPTR "\n",
(intmax_t)const_data.size,
((uintptr_t)1 << RELOC_TAG_OFFSET)*sizeof(void*)
);
jl_exit(1);
}

Expand Down