Commit Graph

63 Commits

Author SHA256 Message Date
Dominique Leuenberger
52c6f1dc68 Accepting request 993355 from devel:tools:compiler
- Update to version 1.4.0
  * Initial support for the 32-bit RISC-V (RV32) has landed. (d9db6bc)
  * mold now demangles Rust symbols in error messages thanks to @eddyb's rust-demangle.c. (22e1bba)
  * --export-dynamic-symbol and --export-dynamic-symbol-list are now supported for
    the sake of compatibility with LLVM lld. With these options, you can specify
    symbols that should be exported using glob pattern. (e115aae)
  * [x86-64] PLT entries created by mold now always begins with ENDBR64 instruction
    to improve compatibility with Intel IBT (Indirect Branch Tracking.) (e3e371d)
  * mold now defines __dso_handle symbol. The lack of this linker-synthesized symbol
    caused a link error with GCC in some environments (#507). (764d757)
- Remove fix-tests.patch.

OBS-URL: https://build.opensuse.org/request/show/993355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=18
2022-08-06 20:07:57 +00:00
Martin Liška
82db4db9b4 - Update to version 1.4.0
* Initial support for the 32-bit RISC-V (RV32) has landed. (d9db6bc)
  * mold now demangles Rust symbols in error messages thanks to @eddyb's rust-demangle.c. (22e1bba)
  * --export-dynamic-symbol and --export-dynamic-symbol-list are now supported for
    the sake of compatibility with LLVM lld. With these options, you can specify
    symbols that should be exported using glob pattern. (e115aae)
  * [x86-64] PLT entries created by mold now always begins with ENDBR64 instruction
    to improve compatibility with Intel IBT (Indirect Branch Tracking.) (e3e371d)
  * mold now defines __dso_handle symbol. The lack of this linker-synthesized symbol
    caused a link error with GCC in some environments (#507). (764d757)
- Remove fix-tests.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=60
2022-08-05 16:58:16 +00:00
Richard Brown
8078092d2d Accepting request 992001 from devel:tools:compiler
- Add fix-tests.patch which fixes tests on i586.

OBS-URL: https://build.opensuse.org/request/show/992001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=17
2022-08-01 19:32:54 +00:00
Martin Liška
4586013f4d - Add fix-tests.patch which fixes tests on i586.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=58
2022-08-01 10:58:27 +00:00
Martin Liška
cbc179fa0a Remove ARM-related hunk.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=57
2022-08-01 10:58:15 +00:00
Martin Liška
5781c2aea9 Fix skipping of mold-wrapper.sh for ARM targets.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=56
2022-08-01 08:47:05 +00:00
Martin Liška
468c496c82 Use uname.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=55
2022-08-01 08:42:30 +00:00
Martin Liška
c413ec24a6 Add identification of machine.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=54
2022-08-01 08:39:31 +00:00
Martin Liška
dea666a05b - Add fix-tests.patch which fixes tests on i586 and ARM targets.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=53
2022-08-01 05:35:49 +00:00
Dominique Leuenberger
908d6992d7 Accepting request 986181 from devel:tools:compiler
- Update to version 1.3.1
  * mold now supports .preinit_array sections. Without this,
    AddressSanitizer didn't work in some environments. (3b75398)
  * [ARM32] R_ARM_MOVT_PREL and R_ARM_PREL31 relocations are now handled
    correctly so that mold no longer emit spurious "recompile with -fPIC" errors. (5294300)

OBS-URL: https://build.opensuse.org/request/show/986181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=16
2022-07-01 11:45:05 +00:00
Martin Liška
82bd458f3e - Update to version 1.3.1
* mold now supports .preinit_array sections. Without this,
    AddressSanitizer didn't work in some environments. (3b75398)
  * [ARM32] R_ARM_MOVT_PREL and R_ARM_PREL31 relocations are now handled
    correctly so that mold no longer emit spurious "recompile with -fPIC" errors. (5294300)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=51
2022-07-01 09:18:34 +00:00
Martin Liška
7cf5acf1d6 Use %arm.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=50
2022-06-30 08:47:53 +00:00
Martin Liška
b924d6fb7f Enable armv6l.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=49
2022-06-30 08:47:08 +00:00
Martin Liška
9e9ebe3eae Use ExclusiveArch again.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=48
2022-06-30 08:46:37 +00:00
Martin Liška
01f9c7cdd1 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=47 2022-06-30 08:44:19 +00:00
Martin Liška
76de83f8a4 Enable ARM 32-bit archs.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=46
2022-06-29 13:39:12 +00:00
Dominique Leuenberger
4d42ce56a6 Accepting request 983544 from devel:tools:compiler
- Update to version 1.3.0
  * The --icf=safe option has been supported.
  * LTO now works reliably under a heavy load.
  mold used to abort occasionally under such condition on Linux
  due to a spurious failure of pthread_create(2). (d8a8877)
  * mold now prints out undefined symbol errors in a format similar to LLVM lld. (13816a1)
  * mold now prints out a better error message for the disk full situation. (5969260)
  * mold can now build GCC 12 with LTO. (708ad63)
  * Fixed an LTO issue on 32-bits hosts such as i686. (920266b)
  * mold is now AddressSanitizer and UndefinedSanitizer clean. (fafb75b, 3499ee6)
  * mold used to create broken debug info on 32-bits hosts (#490).
    The bug has been fixed. (0abd0a4)
  * mold used to accept not only a single dash but also double
    dashes for single-letter options. For example, --S was accidentally accepted as an alias for-S.
    This is unconventional, and such options are no longer accepted. (232dafa)
  * --color-diagnostics is now an alias for --color-diagnostics=auto
    instead of --color-diagnostics=always for compatibility with LLVM lld.
  * pkg-config is no longer needed to build mold.
  * The --package-metadata option is supported. (#505, e9f6715)

OBS-URL: https://build.opensuse.org/request/show/983544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=15
2022-06-18 20:06:11 +00:00
Martin Liška
875d6a3f8a Add Group for the package.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=44
2022-06-18 07:21:47 +00:00
Martin Liška
c9bfed62a4 - Update to version 1.3.0
* The --icf=safe option has been supported.
  * LTO now works reliably under a heavy load.
  mold used to abort occasionally under such condition on Linux
  due to a spurious failure of pthread_create(2). (d8a8877)
  * mold now prints out undefined symbol errors in a format similar to LLVM lld. (13816a1)
  * mold now prints out a better error message for the disk full situation. (5969260)
  * mold can now build GCC 12 with LTO. (708ad63)
  * Fixed an LTO issue on 32-bits hosts such as i686. (920266b)
  * mold is now AddressSanitizer and UndefinedSanitizer clean. (fafb75b, 3499ee6)
  * mold used to create broken debug info on 32-bits hosts (#490).
    The bug has been fixed. (0abd0a4)
  * mold used to accept not only a single dash but also double
    dashes for single-letter options. For example, --S was accidentally accepted as an alias for-S.
    This is unconventional, and such options are no longer accepted. (232dafa)
  * --color-diagnostics is now an alias for --color-diagnostics=auto
    instead of --color-diagnostics=always for compatibility with LLVM lld.
  * pkg-config is no longer needed to build mold.
  * The --package-metadata option is supported. (#505, e9f6715)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=43
2022-06-18 07:14:10 +00:00
Dominique Leuenberger
58099077b1 Accepting request 978268 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/978268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=14
2022-05-20 15:51:10 +00:00
Martin Liška
fa0fbd7b84 Increase constraints.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=41
2022-05-13 11:39:22 +00:00
Martin Liška
0bad48ca85 Rename file.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=40
2022-05-13 09:45:57 +00:00
Martin Liška
08aca1e80c Update memory constraint.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=39
2022-05-13 09:40:52 +00:00
Martin Liška
780232e176 - Use better CC and TEST_CC variables.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=38
2022-05-13 09:31:45 +00:00
Martin Liška
9b47313083 - Add memory per job constraint.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=37
2022-05-13 09:22:13 +00:00
Dominique Leuenberger
4523468ef6 Accepting request 976062 from devel:tools:compiler
- Do not use mimalloc, use system glibc allocator.

- Add valgrind as BuildRequire argument.

OBS-URL: https://build.opensuse.org/request/show/976062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=13
2022-05-12 20:58:17 +00:00
Martin Liška
a894d21dcb Fix extra option.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=35
2022-05-10 12:30:57 +00:00
Martin Liška
5bed486ad0 - Do not use mimalloc, use system glibc allocator.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=34
2022-05-10 12:30:23 +00:00
Martin Liška
3c3e3c8ac6 - Add valgrind as BuildRequire argument.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=33
2022-05-05 11:17:20 +00:00
Dominique Leuenberger
bb1e92e38a Accepting request 973715 from devel:tools:compiler
- Update to version 1.2.1
  * Various bugs in --gdb-index have been fixed.
  * mold now recognizes --thinlto-cache-dir and --thinlto-cache-policy
    for the sake of compatibility with LLVM lld. (7ebd071)
  * mold can now handle TLS common symbols. It looks like GCC
    sometimes creates such symbol for a thread-local variable. (cf850f8)
  * In some edge cases, mold created a non-versioned symbol and
    a versioned one for the same symbol, even though if one symbol is versioned,
    all symbols of the same name must be versioned.
    This bug has been fixed. (8298c0a)
  * mold used to write a PLT address of a symbol instead
    of its address to .symtab. This bug has been fixed. (e088db7)
  * mold can now handle an input file
    with more than 219 symbols. (f1f2d40)
  * /usr/local/libexec/mold/ld is now installed
    as a relative symlink instead of an absolute symlink. (5803c3c)
- Removed upstreamed fix-gdb-index.patch patch.

OBS-URL: https://build.opensuse.org/request/show/973715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=12
2022-04-28 21:08:17 +00:00
Martin Liška
527f629246 - Removed upstreamed fix-gdb-index.patch patch.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=31
2022-04-28 12:58:56 +00:00
Martin Liška
5d625fa62c - Update to version 1.2.1
* Various bugs in --gdb-index have been fixed.
  * mold now recognizes --thinlto-cache-dir and --thinlto-cache-policy
    for the sake of compatibility with LLVM lld. (7ebd071)
  * mold can now handle TLS common symbols. It looks like GCC
    sometimes creates such symbol for a thread-local variable. (cf850f8)
  * In some edge cases, mold created a non-versioned symbol and
    a versioned one for the same symbol, even though if one symbol is versioned,
    all symbols of the same name must be versioned.
    This bug has been fixed. (8298c0a)
  * mold used to write a PLT address of a symbol instead
    of its address to .symtab. This bug has been fixed. (e088db7)
  * mold can now handle an input file
    with more than 219 symbols. (f1f2d40)
  * /usr/local/libexec/mold/ld is now installed
    as a relative symlink instead of an absolute symlink. (5803c3c)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=30
2022-04-28 12:50:42 +00:00
Martin Liška
d04f4e7270 Add one more dependency.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=29
2022-04-21 14:24:10 +00:00
Dominique Leuenberger
57c4236847 Accepting request 971086 from devel:tools:compiler
- Run test serially.
- Install some packages in order to increase test coverage.
- Use ExclusiveArch.

- Add fix-gdb-index.patch.
- Enable tests.

OBS-URL: https://build.opensuse.org/request/show/971086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=11
2022-04-20 14:54:40 +00:00
Martin Liška
aff34a2a4d - Use ExclusiveArch.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=27
2022-04-20 11:55:42 +00:00
Martin Liška
1840c4f05c Add one more dependency.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=26
2022-04-20 07:01:37 +00:00
Martin Liška
32a66047e6 Remove one build dependency.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=25
2022-04-20 06:55:48 +00:00
Martin Liška
ed425b4dab Fix dependency.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=24
2022-04-20 06:53:47 +00:00
Martin Liška
bc9dcddb13 Fix dependency.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=23
2022-04-20 06:53:26 +00:00
Martin Liška
cb283e3224 - Run test serially.
- Install some packages in order to increase test coverage.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=22
2022-04-20 06:51:04 +00:00
Martin Liška
bc12ac6696 Fix BuildRequires for older releases.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=21
2022-04-19 07:21:49 +00:00
Martin Liška
42faa439c5 - Add fix-gdb-index.patch.
- Enable tests.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=20
2022-04-19 06:44:11 +00:00
Dominique Leuenberger
d402a1f5f9 Accepting request 970337 from devel:tools:compiler
- Update to version 1.2.0
  * The ARM32 target is now supported.
  * --gdb-index is implemented.
  * mold now supports the following flags: --start-address, -Tbss,
    -Tdata, -Ttext, --oformat=binary, --disable-new-dtags

OBS-URL: https://build.opensuse.org/request/show/970337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=10
2022-04-15 22:15:34 +00:00
Martin Liška
c71a968589 - Update to version 1.2.0
* The ARM32 target is now supported.
  * --gdb-index is implemented.
  * mold now supports the following flags: --start-address, -Tbss,
    -Tdata, -Ttext, --oformat=binary, --disable-new-dtags

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=18
2022-04-15 11:55:07 +00:00
Dominique Leuenberger
46008095b5 Accepting request 967876 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/967876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=9
2022-04-08 20:46:26 +00:00
Martin Liška
70dab6c523 Accepting request 967874 from home:gmbr3:Active
- Set LIBEXECDIR
- Disable default stripping

OBS-URL: https://build.opensuse.org/request/show/967874
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=16
2022-04-08 15:45:32 +00:00
Dominique Leuenberger
f6af5e61f3 Accepting request 960207 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/960207
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=8
2022-03-08 19:32:11 +00:00
Martin Liška
46b455b507 Accepting request 960204 from home:jengelh:branches:devel:tools:compiler
changelog

OBS-URL: https://build.opensuse.org/request/show/960204
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=14
2022-03-08 12:36:29 +00:00
Martin Liška
683bac0124 - Respect %{optflags}.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=13
2022-03-08 12:07:45 +00:00
Martin Liška
33f43f09d4 - Update to version 1.1.1:
https://github.com/rui314/mold/releases/tag/v1.1.1

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=12
2022-03-08 09:58:43 +00:00