Commit Graph

24 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
Martin Liška
2d4436072d - Fix building for openSUSE Leap 15.3 and 15.4.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=11
2022-02-24 12:55:12 +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