mold icon indicating copy to clipboard operation
mold copied to clipboard

Mold: A Modern Linker 🦠

Results 273 mold issues
Sort by recently updated
recently updated
newest added

The Tensilica Xtensa cores is used in the popular ESP32 MCU. There is gcc and upcoming llvm support for it, but would be great to see mold support for the...

Similarly to other linkers, please consider emitting a warning: a.c: ```c void foo(void) { } static const char foo_warning[] __attribute__((section(".gnu.warning.foo"))) = "foo is deprecated, please use the shiny new foobar...

Title says it all... ``` ld.mold: /usr/src/debug/mold/mold/elf/input-sections.cc:445: bool mold::elf::InputSection::record_undef_error(mold::elf::Context&, const mold::elf::ElfRel&) [with E = mold::elf::X86_64]: Assertion `sym.file' failed. ``` ``` $ ld.mold --version mold 1.10.1 (040180f933d33fa246f9d2961c2d6e8b74241463; compatible with GNU ld)...

mold: fatal: unknown command line option: -defaultlib:libcmt Clang compiles about -defaultlib:libcmt clang++ -o helloworld.exe helloworld.cc -Ofast -std=c++2b -s -flto=thin -I../../include -fuse-ld=mold --target=x86_64-windows-msvc -D_DLL=1 -I/home/cqwrteur/toolchains/triplets-windows-msvc/x86_64-windows-msvc/include -L/home/cqwrteur/toolchains/triplets-windows-msvc/x86_64-windows-msvc/lib -lmsvcrt clang++: warning: argument unused...

Building mold-1.10.1 works fine on Gentoo ppc64 Big Endian but using it as system-wide-linker via `LDFLAGS="-fuse-ld=mold -Wl,-O1 -Wl,--as-needed"` won't work. E.g. emerge less fails at config stage: ``` >>> Emerging...

I'm currently looking forward replacing gold with mold from the toolchain used to build my operating system. Currently I managed to create a string of flags that should replace the...

On Gentoo I run some boxes with musl as system C-library instead of glibc. This is profile `[32] default/linux/amd64/17.0/musl (dev) *` Building almost all of the binaries with mold as...

Hello. I just tried to build GCC with the configure` --with-ld=/usr/bin/mold` and faced into a issue. Actually I thought first this would be a GCC Issue, so I have compiled...

I've been trying to use mold for a corner use case, where I need to link the smallest dynamic linked RISC-V 64GC ELF binary as possible, because in this use...

~~~ [target.riscv64gc-unknown-linux-gnu] linker = "clang" rustflags = ["-C", "link-arg=-fuse-ld=/home/yuyang/projects/mold/build/mold -m elf64-littleriscv"] runner = "qemu-riscv64-static -L /usr/riscv64-linux-gnu -E RUST_LOG=trace -E CRANELIFT_TEST_BLESS=1 -E LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib -E WASMTIME_TEST_NO_HOG_MEMORY=1" ~~~ I don't where to add...