mold
mold copied to clipboard
Mold: A Modern Linker 🦠
Hi, in order to try out mold for linking all of FreeBSD base and kernel, I've patched the source code of mold: `elf/cmdline.cc: } else if (arg == "elf_i386" ||...
`emerge --info net-libs/nodejs`: ``` net-libs/nodejs-20.11.0::gentoo was built with the following: USE="icu inspector lto snapshot ssl system-icu system-ssl -corepack -debug -doc -npm -pax-kernel -test" CPU_FLAGS_X86="sse2" CFLAGS="-march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -fuse-ld=mold"...
Hello! I am not a programmer, but unable to compile with Mold =x11-drivers/nvidia-drivers-390.157::gentoo The error occur: cd image_data/; mold -m elf_x86_64 -O2 --as-needed --hash-style=gnu --sort-common -z relro -r -z noexecstack...
When I use it with rustc.And I tried valgrind to run the program.The valgrind will report error: ``` Can't make sense of .rodata section mapping ``` After I switch to...
If you just create a blank project and add this dependency: ``` tealr = { version = "0.9", features = [ "mlua_luajit", "mlua_vendored", "mlua_send", "mlua_macros", ] } ``` You should...
For larger projects or projects in general where multiple linker might be used for various build targets it nice to have some help in avoiding link-order issues. Mold mostly does...
I did nothing special to reproduce this on new clean machine: * have VS2022 professional * have clang 18.1 * Clone https://github.com/rui314/mold/ * run "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvars64.bat" && cmake.exe...
I am trying to cross compile my rust code to `x86_64-unknown-linux-musl` I have tried in `.cargo/config.toml`: ``` [target.x86_64-unknown-linux-musl] linker="clang" rustflags = ["-C", "linker=clang", "-C", "link-arg=--ld-path=/nix/store/fm5083fc4ylj6zyld7n1j270m8kx0q8i-mold-2.31.0/bin/mold", "-C", "target-feature=+crt-static", "-C", "link-arg=-v"] ```...
I'm testing using mold as a replacement for ld.bfd on a large Linux project. The build speed times look impressive. However I am getting new failures in some of our...
Wine has this special ```__wine_spec_nt_header``` https://github.com/wine-mirror/wine/blob/master/tools/winebuild/spec32.c#L738 is that possible to make the elf linker to print this out so that we can easily build linux .so that can be used...