[OE-core] [RFT][PATCH 0/2] Systemd 209

Khem Raj raj.khem at gmail.com
Sat Feb 22 19:52:47 UTC 2014


On Feb 22, 2014, at 10:12 AM, Phil Blundell <pb at pbcl.net> wrote:

> On Sat, 2014-02-22 at 01:31 -0800, Khem Raj wrote:
>> builds might work but they won’t run and yes so far IFUNC support is needed so it won’t work on non-x86
>> architectures. One common runtime problem I am seeing is logind not being able to talk to dbus
>> across all architectures. I have pushed my latest rework to pull branch
> 
> What is the problem with ifunc on non-x86?  

they are not enabled across all architectures, well specifically, its not enabled on arm and seems also ppc is missing it.

> As far as I know the
> compiler, assembler, linker and ld.so for all reasonable architectures
> support that nowadays (though prelink support is a bit patchy).  GCC
> didn't have ifuncs enabled for some architectures until quite recently
> but if that was the problem then you'd see compile-time failures.  So,
> if it compiles then I can't think of any reason why it oughtn't to run.

systemd is using ifuncs to patch up the library migration it has done in 209
so it only shows up when we enable compat lib support in systemd, and if we patch the apps to forward port to systemd 209 then we don’t need to enable compat lib support and
it could be left alone.

if we want to enable compat libs/ifunc then we can think of adding --enable-gnu-indirect-function
to gcc configure but then it may not work on all architectures that we are interested in.


> Is this a uclibc thing?

no

> 
> p.
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140222/d99db2d6/attachment-0002.sig>


More information about the Openembedded-core mailing list