[systemd-devel] udev-212 and up on Sparc v8

Lennart Poettering lennart at poettering.net
Mon Jun 23 05:30:06 PDT 2014


On Sat, 21.06.14 09:05, Chase Rayfield (cusbrar2 at yahoo.com) wrote:

> >If I interpret that correctly, systemd would need to define
> >_sync_sub_and_fetch_4 when building for 32-bit processors which do not
> >support the __sync_sub_and_fetch operation natively.
> 
> Yes exactly... I think libatomic_ops can help with that and I have
> built it from git on Sparc v8 (This flag is required 
> -DAO_NO_SPARC_V9). But I am not sure how to implement
> __sync_sub_and_fetch with it. Details on getting it to build here:
> https://github.com/ivmai/libatomic_ops/issues/9
>
> I can give a systemd developer access to a box to fix this on if someone 
> wants to give it a shot. I believe the reason GCC doesn't provide an 
> implementation there are some pretty huge trade offs to be made with 
> either performance or functionality.

Thanks, but please work with the gcc developers to solve this
generically for all gcc users, instead of work around this limitation in
every individual project independently. It's certainly time much better
spent.

Thanks,

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list