mold
mold copied to clipboard
Mold: A Modern Linker 🦠
```asm # RUN: rm -rf %t && mkdir %t # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t/a.o # RUN: llvm-ar rc %t/a.a %t/a.o # RUN: mold -shared -soname=a %t/a.o -o...
Using the latest master (21e1a80cec70152bbe7c1bc8648aaa468a3f1e7a), I see the following failures: ``` Testing hello-static-pie ... make[1]: *** [Makefile.linux:6: elf/hello-static-pie.sh] Error 1 ... Testing ifunc-static-pie ... make[1]: *** [Makefile.linux:6: elf/ifunc-static-pie.sh] Error 1...
I noticed the following test failures on the target: ``` [ 122s] Testing auxiliary ... mold: fatal: unknown emulation: 21 [ 122s] make[1]: *** [Makefile.linux:6: elf/auxiliary.sh] Error 1 [ 122s]...
Currently `gcc` (version 11.2.0) behaves differently on x86-64 and riscv64 platforms. The riscv64 version of `gcc` doesn't pass enough search dirs (such as `/lib`, `/usr/lib`) to mold, resulting in library...
``` /Haiku/data/packages/mold/ld -r objects/haiku/x86_64/release/kits/locale/cat.o objects/haiku/x86_64/release/kits/locale/Catalog.o objects/haiku/x86_64/release/kits/locale/CatalogData.o objects/haiku/x86_64/release/kits/locale/Collator.o objects/haiku/x86_64/release/kits/locale/Country.o objects/haiku/x86_64/release/kits/locale/DefaultCatalog.o objects/haiku/x86_64/release/kits/locale/EditableCatalog.o objects/haiku/x86_64/release/kits/locale/FormattingConventions.o objects/haiku/x86_64/release/kits/locale/HashMapCatalog.o objects/haiku/x86_64/release/kits/locale/InitLocaleKit.o objects/haiku/x86_64/release/kits/locale/Language.o objects/haiku/x86_64/release/kits/locale/Locale.o objects/haiku/x86_64/release/kits/locale/LocaleRoster.o objects/haiku/x86_64/release/kits/locale/LocaleRosterData.o objects/haiku/x86_64/release/kits/locale/MutableLocaleRoster.o objects/haiku/x86_64/release/kits/locale/TextEncoding.o objects/haiku/x86_64/release/kits/locale/TimeZone.o objects/haiku/x86_64/release/kits/locale/DateFormat.o objects/haiku/x86_64/release/kits/locale/DateTimeFormat.o objects/haiku/x86_64/release/kits/locale/DurationFormat.o objects/haiku/x86_64/release/kits/locale/NumberFormat.o objects/haiku/x86_64/release/kits/locale/StringFormat.o objects/haiku/x86_64/release/kits/locale/TimeFormat.o objects/haiku/x86_64/release/kits/locale/TimeUnitFormat.o objects/haiku/x86_64/release/kits/locale/Format.o objects/haiku/x86_64/release/kits/locale/UnicodeChar.o objects/haiku/x86_64/release/kits/locale/RelativeDateTimeFormat.o...
Hi! While testing mold, I have found out a token in a ld script not recognized. I am using openSUSE Tumbleweed, mold-1.1. The file libncursesw.so contains the following script: ```...
It looks like no one is using `--preload` flag, so I want to deprecate it. Please let me know if you want to keep it.
Creating a bug report. Two compilers are affected: GCC 11.2.0 and Clang 14. > https://github.com/golang/go/issues/51875 > $ gcc --version > gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0 > $ clang-14 --version > Ubuntu...
Not an issue, more like a question: When I try to run `./configure` script with `CC='gcc' CFLAGS='-fuse-ld=mold'`, I found that it is a bit faster than `-fuse-ld=gold` but still much...
Mold currently adds new features in the bug fix releases, which doesn't match the semantic versioning convention. https://semver.org/ 