Commit Graph

40 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
Martin Liška
aba1ba7c05 Update comment.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=10
2022-02-24 12:50:20 +00:00
Martin Liška
7e3d1d3200 Accepting request 957341 from home:mathletic:branches:devel:tools:compiler
Fix building for openSuse Leap 15.3 and 15.4.

OBS-URL: https://build.opensuse.org/request/show/957341
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=9
2022-02-24 12:49:12 +00:00
Martin Liška
90538e3939 - Update to version 1.1:
https://github.com/rui314/mold/releases/tag/v1.1.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=8
2022-02-21 07:51:56 +00:00
Martin Liška
704272e80f Accepting request 950269 from home:marxin:mimalloc
- Start using system library mimalloc.

OBS-URL: https://build.opensuse.org/request/show/950269
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=6
2022-01-31 16:45:04 +00:00
Martin Liška
372f6a02b5 - Update to version 1.0.3:
https://github.com/rui314/mold/releases/tag/v1.0.3.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=5
2022-01-30 15:53:18 +00:00
Dominique Leuenberger
ade014dc5c Accepting request 948209 from devel:tools:compiler
- Update to version 1.0.2: complete release notes can be found here:
  https://github.com/rui314/mold/releases/tag/v1.0.2.

OBS-URL: https://build.opensuse.org/request/show/948209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=4
2022-01-23 12:41:38 +00:00
Dominique Leuenberger
9de417fa98 Accepting request 943544 from devel:gcc
- Start using %{_libexecdir} as an installation location.

- Remove quotationsmarks from build_args as it prevented the use
  of system packages for TBB and xxHash.
- Drop configure-fix.patch as xxHash is used from system package,
  so we don't need to patch the wrong configuration of xxHash.
- Use telling name of source tarball, adjust GitHub url to have
  matching names.

- Update to version 1.0.1:
  * make install now creates /usr/local/libexec/mold/ld as
  a symlink to the mold executable. We do this for GCC.
  By passing -B/usr/local/libexec/mold, you can tell GCC to use ld
  inside that directory instead of /usr/bin/ld. (e8dcecf)
  * xxHash library is now included in the mold's source tree as a subtree for ease of building.
    If you want to link against a libxxhash in a system library directory, pass SYSTEM_XXHASH=1 to make. (665bffa)
  * The extern "C++" directive is now supported in the dynamic list. (7aa5c39)
  * --color-diagnostics is supported. mold used to ignore that flag. (6e290aa)
  * Not only * but also ? are now treated as special characters in the version script wildcard pattern. (31b0248)
  * The --threads=N option has been added as
    an alias for --thread-count=N. (f9ff048)
  * The following option has been added: --defsym (f6e8006), -z nodefaultlib (8c86c28),
    -z separate-code, -z noseparate-code and -z separate-lodable-segments (5601cf4), -z max-page-size (f3766cd)
- Add workaround patch configure-fix.patch.

OBS-URL: https://build.opensuse.org/request/show/943544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=3
2022-01-04 18:37:29 +00:00
Dominique Leuenberger
0d749746e2 Accepting request 942074 from devel:gcc
- Ignore -Wno-sign-compare for now.

- Use system package for tbb and xxhash.

OBS-URL: https://build.opensuse.org/request/show/942074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=2
2021-12-22 19:18:10 +00:00
Dominique Leuenberger
421cee66d5 Accepting request 941885 from devel:gcc
Add new Modern Linker (mold) package.

OBS-URL: https://build.opensuse.org/request/show/941885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=1
2021-12-21 18:39:05 +00:00