> > Also, what about static linking (CC="gcc -static")?
> > Pàdraig, does coreutils support building statically?

Yes, I can build coreutils with
  CC="gcc -static" ./configure --enable-systemd --without-selinux

> > Does glibc support dlopen from statically linked binaries meanwhile?
> As far as I can tell with a quick POC it works with glibc, yes

Indeed, yes: With your patch applied, I can still build coreutils with
  CC="gcc -static" ./configure --enable-systemd --without-selinux
and the src/who program works fine.

Bruno




Reply via email to