[systemd-devel] [PATCH 1/2] build-sys: merge libsystemd-login into libsystemd

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Jan 20 08:42:39 PST 2014


On Mon, Jan 20, 2014 at 01:14:02PM +0100, Lennart Poettering wrote:
> On Sun, 19.01.14 14:51, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:
> 
> > So, I prepared a test patch. This all doesn't seem to be too ugly generally,
> > although the warning generation in patch 2 is a bit.
> > 
> > Comments?
> > 
> > A compatibility libsystemd-login library is created which uses
> > .symver and ifunc magic proposed by Lennart to make programs linked
> > to the old library name continue to work seamlessly.
> > 
> > Unfortunately the bfd linker crashes:
> >   https://sourceware.org/bugzilla/show_bug.cgi?id=16467
> > As a work-around, gold can be used:
> >   LDFLAGS=-Wl,-fuse-ld=gold
> > 
> > This also doesn't work with LLVM:
> >   http://llvm.org/bugs/show_bug.cgi?id=11897
> 
> Looks good to me. That bfd chokes on this is a bummer though... But as
> long as the bfd fix is backportable it sounds totally OK to me to still
> do this.
The bfs fix is backportable, and was proposed for the stable branch too.

Anyway, I don't see why using gold would be bad.

Zbyszek


More information about the systemd-devel mailing list