From e6f68a80d800baaade18832f03c95c272ac8f1717482afa3036da677bf9a8114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Thu, 29 Sep 2022 07:07:50 +0000 Subject: [PATCH] - Update to version 1.5.1 * We changed the memory layout to save both memory and disk space in 1.5.0. Even though the new layout works fine on most systems, the change made the linker to create unusable executables for systems with large pages. Specifically, if you specify a large number for the -z max-page-size option, the loader refused to execute it with the error while loading shared libraries: cannot apply additional memory protection after relocation: Cannot allocate memory error. We reverted our recent commits so that mold creates output files with the same memory layout as it did before 1.5.0. (e62de0b) OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=71 --- mold-1.5.0.tar.gz | 3 --- mold-1.5.1.tar.gz | 3 +++ mold.changes | 13 +++++++++++++ mold.spec | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 mold-1.5.0.tar.gz create mode 100644 mold-1.5.1.tar.gz diff --git a/mold-1.5.0.tar.gz b/mold-1.5.0.tar.gz deleted file mode 100644 index 3d411e1..0000000 --- a/mold-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:55f67a0531cd357fa8c8aa16f9664954188f49537126e9bd35240846de3c3434 -size 8256474 diff --git a/mold-1.5.1.tar.gz b/mold-1.5.1.tar.gz new file mode 100644 index 0000000..9b9d77d --- /dev/null +++ b/mold-1.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec94aa74758f1bc199a732af95c6304ec98292b87f2f4548ce8436a7c5b054a1 +size 8254552 diff --git a/mold.changes b/mold.changes index 27fd110..4c4e87c 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Sep 29 07:06:19 UTC 2022 - Martin Liška + +- Update to version 1.5.1 + * We changed the memory layout to save both memory and disk space in 1.5.0. Even + though the new layout works fine on most systems, the change made the linker to + create unusable executables for systems with large pages. Specifically, if you + specify a large number for the -z max-page-size option, the loader refused to + execute it with the error while loading shared libraries: cannot apply + additional memory protection after relocation: Cannot allocate memory error. We + reverted our recent commits so that mold creates output files with the same + memory layout as it did before 1.5.0. (e62de0b) + ------------------------------------------------------------------- Tue Sep 27 07:10:17 UTC 2022 - Martin Liška diff --git a/mold.spec b/mold.spec index 8dc821f..7e14e00 100644 --- a/mold.spec +++ b/mold.spec @@ -17,7 +17,7 @@ Name: mold -Version: 1.5.0 +Version: 1.5.1 Release: 0 Summary: A Modern Linker (mold) License: AGPL-3.0-or-later