Commit Graph

54 Commits

Author SHA1 Message Date
David Yamnitsky
0566f3f1a1
mold: remove myself as a maintainer 2023-12-10 18:50:25 -05:00
Pavel Sobolev
6755e47637
mold: 2.3.3 -> 2.4.0 2023-11-30 11:20:56 +03:00
Pavel Sobolev
a2fbef4c53
mold: 2.3.2 -> 2.3.3 2023-11-15 11:42:36 +03:00
Pavel Sobolev
a6406b2457
mold: 2.3.1 -> 2.3.2 2023-11-04 20:40:16 +03:00
Pavel Sobolev
7d4efb6a91
mold: 2.3.0 -> 2.3.1 2023-10-20 10:51:21 +03:00
Pavel Sobolev
061c8d6d3e
mold: make some of the tests Linux only 2023-10-19 15:49:25 +03:00
Pavel Sobolev
bff80fa4b4
mold: 2.2.0 -> 2.3.0 2023-10-18 17:37:20 +03:00
Pavel Sobolev
3fce3b9d13
mold: use system libraries where possible 2023-10-13 10:14:38 +03:00
Pavel Sobolev
68e0cf87a3
mold: 2.1.0 -> 2.2.0 2023-10-13 10:13:42 +03:00
Pavel Sobolev
975f709a08
mold: refactor 2023-10-13 10:13:39 +03:00
Artturin
77bf1395d6 mold: add tests for mold-wrapped and useMoldLinker adapter
Make both ready for cross with prefixes

Currently
`pkgsCross.aarch64-multiplatform.mold.passthru.tests.{wrapped,adapter}`
fail with

```
Testing running the 'hello' binary which should be linked with 'mold'
Hello, world!
Checking for mold in the '.comment' section
No mention of 'mold' detected in the '.comment' section
The command was:
aarch64-unknown-linux-gnu-readelf -p .comment ...bin/hello
The output was:
String dump of section '.comment':
  [     0]  GCC: (GNU) 12.3.0
```
2023-10-13 05:23:32 +03:00
Dawid Ciężarkiewicz
30f2ab26fe mold: wrap so it can find system libraries
Add a wrapped version as `mold` as `mold-wrapped`.

Currently `mold` mostly works, but the moment users start to need to
link system libraries they get linking errors. It's been reported on
github:

Re #242816

and on user forums, e.g.:

https://discourse.nixos.org/t/using-mold-as-linker-prevents-libraries-from-being-found
2023-10-13 03:14:22 +03:00
Nilstrieb
67e05d1891 mold: Add meta.mainProgram entry 2023-09-29 18:21:59 +02:00
Pavel Sobolev
35cb746158
mold: 2.0.0 -> 2.1.0 2023-08-13 13:55:26 +03:00
Austin Seipp
9882be680a mold: 1.11.0 -> 2.0.0, license is now MIT
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-07-26 19:31:06 -05:00
Austin Seipp
e604d3a8f3 mold: passthru.updateScript = nix-update-script
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-07-26 19:31:06 -05:00
Austin Seipp
e4db1840dc mold: patch an upstream bug in --strip-debug
Mold currently has a bug where `--strip-debug` is treated the same as
`--strip-all`; this causes things like Rust backtraces to stop working
because the symbol tables get stripped.

The fix is trivial and obvious, and comes from an upstream patch that
needs to be merged and release.

GitHub Issue: rui314/mold#1038
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-07-14 05:46:34 -05:00
R. Ryantm
4170777d70 mold: 1.10.1 -> 1.11.0 2023-03-22 07:53:04 +00:00
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
R. Ryantm
d9da7eeef1 mold: 1.9.0 -> 1.10.1 2023-01-31 01:43:49 +00:00
Fabian Affolter
0ceafc13c9
mold: add changelog to meta 2023-01-08 09:51:50 +01:00
R. Ryantm
8e586a2757 mold: 1.8.0 -> 1.9.0 2023-01-08 02:55:31 +00:00
R. Ryantm
1bc62c4476 mold: 1.7.1 -> 1.8.0 2022-12-28 08:00:39 +00:00
R. Ryantm
07b103c2c6 mold: 1.7.0 -> 1.7.1 2022-11-19 12:29:23 +00:00
Ingo Blechschmidt
50e6fbee57 mold: 1.6.0 -> 1.7.0 2022-11-13 21:17:40 +01:00
Franz Pletz
c190f823d5
Merge pull request #199598 from avdv/mold-on-aarch64-linux
mold: Unbreak on aarch64-linux
2022-11-06 12:31:40 +01:00
Claudio Bley
efa86fc3b0 mold: Unbreak on aarch64-linux
The default stdenv C++ compiler / library on this platform is too old to
support mold's C++20 code base.
2022-11-05 00:56:56 +01:00
R. Ryantm
1e3fded1cb mold: 1.5.1 -> 1.6.0 2022-10-20 08:54:02 +08:00
R. Ryantm
cb1428fce6 mold: 1.5.0 -> 1.5.1 2022-09-29 21:14:53 +00:00
R. Ryantm
2616f6b7c6 mold: 1.4.2 -> 1.5.0 2022-09-28 11:48:43 +08:00
Azat Bahawi
e5244901b9
mold: 1.4.0 -> 1.4.2 2022-09-11 00:58:40 +03:00
R. Ryantm
2fe88023bc mold: 1.3.1 -> 1.4.0 2022-08-05 13:04:38 +00:00
R. Ryantm
dd18a29f98 mold: 1.3.0 -> 1.3.1 2022-07-02 08:21:27 +00:00
R. Ryantm
2f1be9af3e mold: 1.2.1 -> 1.3.0 2022-06-18 06:06:27 +00:00
R. Ryantm
c708eb54af mold: 1.2.0 -> 1.2.1 2022-04-29 08:03:08 +00:00
Mario Rodas
c7e7c0b355
Merge pull request #168885 from r-ryantm/auto-update/mold
mold: 1.1.1 -> 1.2.0
2022-04-22 04:35:30 -05:00
R. Ryantm
6d377ae0a9 mold: 1.1.1 -> 1.2.0 2022-04-16 07:00:44 +00:00
Ben Siraphob
ed863440b8
Merge pull request #163924 from OPNA2608/fix/autoPatchelfHook_isLinux 2022-03-26 16:01:56 -05:00
OPNA2608
d2f268745a treewide: autoPatchelfHook only on Linux 2022-03-23 21:37:39 +01:00
06kellyjac
77140cea8d mold: 1.1 -> 1.1.1 2022-03-09 15:29:14 +00:00
R. Ryantm
4bc58eef87 mold: 1.0.3 -> 1.1 2022-02-25 11:01:53 -08:00
R. Ryantm
7b5df31d50 mold: 1.0.2 -> 1.0.3 2022-02-10 09:25:03 +00:00
Sandro
a67ad30868
Merge pull request #156594 from r-ryantm/auto-update/mold 2022-01-30 00:51:28 +01:00
Sergei Trofimovich
a1cf620871 mold: add trivial updater 2022-01-27 08:46:07 +00:00
R. Ryantm
5861f8e15d mold: 1.0.1 -> 1.0.2 2022-01-24 19:47:29 +00:00
Robert T. McGibbon
baf11b26b2 mold: set enableParallelBuilding = true 2022-01-16 16:00:11 +01:00
Ben Siraphob
6e1fb8e635
mold: 1.0.0 -> 1.0.1 2022-01-01 15:00:26 +07:00
Finn Behrens
ea39401fd7 mold: 0.9.6 -> 1.0.0 2021-12-16 10:39:51 +01:00
jakobrs
72a893c9d0
mold: 0.9.3 -> 0.9.6 (#139920)
* mold: 0.9.3 -> 0.9.6

* Update pkgs/development/tools/mold/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-01 11:20:07 +02:00