mold 2.38.1
mold 2.38.1 is a maintenance release of the high-speed linker. It includes the following bug fix:
- Fixed a bug where mold could fail with a spurious
mutually-recursive .so detectederror message when building an executable. This happened if there was a circular dependency between shared libraries given to the linker (i.e., libfoo.so depends on libbar.so and vice versa). Even though libraries with circular dependencies are rare and a strong indication of a bug in the original program's library layering, the dynamic loader can load such libraries, and the linker shouldn't reject them. (21e20e0)