Rui Ueyama
Rui Ueyama
`mold -run` doesn't work if mold is a statically-linked executable, and that's why I provide "mostly static" as opposed to a fully static. Don't you want to have that feature?
Oh, sorry, the feature that doesn't work without dynamic linking is LTO. LTO uses dlopen to use a compiler-supplied linker plugin.
Good to know that you found a solution. Speaking of LTO, mold doesn't have any ./configure-time options. However you build it, the resulting binary will include all the features it...
The point I wanted to say is that I don't want to provide an official way to do X that (as an unintended consequence) disables some other feature Y of...
Do you mind if I ask you to pack the entire build directory with tar and share it with me?
Hmm, it's hard to run it locally. Can you rebuild mold with the following patch and re-run the final link line to see what will be displayed? ``` diff --git...
There was an issue in the previous patch which made the most important part garbled. Could you try again with this? ``` diff --git a/elf/cmdline.cc b/elf/cmdline.cc index bbbae394..1180d60d 100644 ---...
Was there no `__gxx_personality_v0 symbol type` line in the log?
It looks like no one provides a definition of `__gxx_personality_v0`, which is usually provided by libstdc++.so. You are using `clang` as a linker driver. Shouldn't you use `clang++` instead?
I have no idea, but if ld.gold can link this program, how does it find the definition of `__gxx_personality_v0`? Are the final link command line arguments identical for mold and...