Re: [systemd-devel] discussions of pkg-config black magic over at gentoo

2014-02-22 Thread Kay Sievers
On Thu, Feb 20, 2014 at 7:34 PM, Lennart Poettering
lenn...@poettering.net wrote:
 On Thu, 20.02.14 19:31, Jason A. Donenfeld (ja...@zx2c4.com) wrote:

 So right now we're considering something like this [2] or [3]. A bit of a
 bummer to patch the build system like this, but we don't want to rely on
 IFUNC, and this seems like the cleanest solution. So I thought I'd mention
 this up here in case folks have opinions and such.

 Harald found a way to do what we want to do without ifunc. Expect this
 to be fixed shortly in git. And we are likely going to do another
 release soon. Maybe today, maybe tomorrow.

We now just build the compat libraries from the code and don't use
indirect functions. Not nice, but should work fine and not require any
magic. Please test systemd git if the compat stuff works for you now.

Thanks,
Kay
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] discussions of pkg-config black magic over at gentoo

2014-02-20 Thread Jason A. Donenfeld
Hey guys,

Thought I'd put this discussion upstream. At the moment at Gentoo [1],
we're considering building without the compat-libs, but still with
installing the pkg-config files, so that most out of date packages will
work with a rebuild without having to patch the build system, and we won't
have to ship the old libraries, which is problematic for us because we want
to support ARM.

So right now we're considering something like this [2] or [3]. A bit of a
bummer to patch the build system like this, but we don't want to rely on
IFUNC, and this seems like the cleanest solution. So I thought I'd mention
this up here in case folks have opinions and such.

Thanks,
Jason

[1] https://bugs.gentoo.org/show_bug.cgi?id=501860
[2] https://bugs.gentoo.org/attachment.cgi?id=370894action=diff
[3] https://bugs.gentoo.org/attachment.cgi?id=370896action=diff
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] discussions of pkg-config black magic over at gentoo

2014-02-20 Thread Lennart Poettering
On Thu, 20.02.14 19:31, Jason A. Donenfeld (ja...@zx2c4.com) wrote:

 Hey guys,
 
 Thought I'd put this discussion upstream. At the moment at Gentoo [1],
 we're considering building without the compat-libs, but still with
 installing the pkg-config files, so that most out of date packages will
 work with a rebuild without having to patch the build system, and we won't
 have to ship the old libraries, which is problematic for us because we want
 to support ARM.
 
 So right now we're considering something like this [2] or [3]. A bit of a
 bummer to patch the build system like this, but we don't want to rely on
 IFUNC, and this seems like the cleanest solution. So I thought I'd mention
 this up here in case folks have opinions and such.

Harald found a way to do what we want to do without ifunc. Expect this
to be fixed shortly in git. And we are likely going to do another
release soon. Maybe today, maybe tomorrow.

http://willnewton.name/uncategorized/using-gnu-indirect-functions/

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel