shared static this not invoked on almalinux 8.5, all is well on fedora 35

ichneumwn idonotenjoyemail at idonotenjoyemail.org
Mon Jun 13 15:44:00 UTC 2022


On Monday, 13 June 2022 at 14:14:43 UTC, ichneumwn wrote:

> And that seems to invoke /bin/ld which through 
> /etc/alternatives/ld links to /usr/bin/ld.bfd. So that seems 
> how I end up with ld.bfd... Meson not to blame, apologies to 
> meson :). I might be able to get meson to pass -fuse-ld=ld.gold 
> or lld through ldc2 to /bin/cc.

This gives some interesting behaviour with ldc-1.29.0 on 
AlmaLinux:

I can see ldc now pass ldc_rt.dso.o to /usr/bin/cc. The effect 
is, With the old ld.bdf (2.30), that the shared static this in 
md_static_import.d does get invoked, but not the one in main.d !? 
In any case, all is well with the newer ld.bdf as before.



More information about the digitalmars-d-ldc mailing list