mold icon indicating copy to clipboard operation
mold copied to clipboard

Support for -Wl,--allow-shlib-undefined ?

Open jcelerier opened this issue 3 years ago • 4 comments
trafficstars

Hello,

Is support for this option planned ? It is necessary in my case to build a plug-in against a proprietary executable software which exports some symbols dynamically, to give one use case.

Thanks !

jcelerier avatar May 27 '22 12:05 jcelerier

We want to support this flag.

rui314 avatar Jun 04 '22 02:06 rui314

@rui314 should we reopen this issue since you reverted my patch?

rbartlensky avatar Jun 29 '22 22:06 rbartlensky

@jcelerier I believe mold currently ignores --allow-shlib-undefined, so it's not supported, but it shouldn't cause a build failure. Did you get any error when you tried to build your program with mold?

rui314 avatar Jul 18 '22 03:07 rui314

hmm good question, I'll look for the relevant build logs

jcelerier avatar Jul 18 '22 08:07 jcelerier