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

Lennart Poettering lennart at poettering.net
Mon Jan 20 04:14:02 PST 2014


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.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list