Accepting request 1056408 from devel:tools:compiler

OBS-URL: https://build.opensuse.org/request/show/1056408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2023-01-06 20:07:29 +00:00 committed by Git OBS Bridge
commit 2a5517a397
4 changed files with 29 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7210225478796c2528aae30320232a5a3b93a640292575a8c55aa2b140041b5c
size 8155820

3
mold-1.9.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:faf381ba268e714bec7f872de0dd6ea9187ae20b4e12c434a67ac92854701280
size 8163212

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Fri Jan 6 11:38:43 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Enable build on ppc now that the target is supported upstream
-------------------------------------------------------------------
Fri Jan 6 09:38:06 UTC 2023 - Martin Liška <mliska@suse.cz>
- Update to version 1.9.0
* mold gained support for the three new targets: 32-bit PowerPC, SH-4 and DEC
Alpha. Each porting work didn't take more than a few days for us to complete,
which demonstrate how portable the mold linker is. You can typically port mold
to a new target just by writing a few hundreds lines of target-specific code.
See arch-*.cc files in mold/elf/ directory to see how target-specific code
actually looks like. (651adad, 3411e17, 6231510)
* Bug fixes and compatibility improvements
* In a rare occasion, a statically-initialized function pointer might get a wrong
address in a statically-linked executable. This bug has been fixed. (ccd47db)
* Fixed a -gdb-index option's crash bug on big-endian hosts. (3c96828)
* [RISC-V] mold rewrote machine instructions in a wrong way as a result of a wrong
R_RISCV_HI20 relaxation if the output file was being linked against the high
address. It's not a problem for user-land programs, but kernels linked with mold
could crash due to this bug. This bug has been fixed. (3c96828)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 27 09:47:12 UTC 2022 - Martin Liška <mliska@suse.cz> Tue Dec 27 09:47:12 UTC 2022 - Martin Liška <mliska@suse.cz>

View File

@ -1,7 +1,7 @@
# #
# spec file for package mold # spec file for package mold
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: mold Name: mold
Version: 1.8.0 Version: 1.9.0
Release: 0 Release: 0
Summary: A Modern Linker (mold) Summary: A Modern Linker (mold)
License: AGPL-3.0-or-later License: AGPL-3.0-or-later
@ -49,7 +49,6 @@ BuildRequires: valgrind
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: zstd BuildRequires: zstd
PreReq: update-alternatives PreReq: update-alternatives
ExcludeArch: ppc
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%define build_args -DMOLD_USE_MIMALLOC=OFF -DMOLD_USE_MIMALLOC=OFF %define build_args -DMOLD_USE_MIMALLOC=OFF -DMOLD_USE_MIMALLOC=OFF