[systemd-devel] building with uClibc (was: minimal-uclibc: systemd fails with `src/manager.c:257:42: error: 'EPOLL_CLOEXEC' undeclared (first use in this function)`)

Paul Menzel paulepanter at users.sourceforge.net
Tue Jul 12 10:10:00 PDT 2011


Am Mittwoch, den 11.05.2011, 07:58 +0200 schrieb Thierry Reding:
> * Paul Menzel wrote:

[…]

> > I am no uClibc expert, but do you know if uClibc will provide
> > `EPOLL_CLOEXEC` in the near future? How should systemd fix that?
> 
> uClibc is also missing an implementation of the epoll_create1() syscall. I'm
> using a patch against uClibc to fix a similar issue in udev but haven't
> gotten around to sending it upstream yet.

meta-openembedded successfully applies the following patches [1][2]
(also attached) to compile systemd using uClibc.

There were some discussions on the mailing list which you should find in
the archive [3][4].

Would you accept such patches for upstream inclusion or do you have
different ideas?

I put the patch authors into CC.


Thanks,

Paul


[1] http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recipes-core/systemd/systemd
[2] http://cgit.openembedded.org/cgit.cgi/meta-openembedded/log/meta-oe/recipes-core/systemd/
[3] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-June/
[4] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-July/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-systemd-disable-xml-file-stuff-and-introspection.patch
Type: text/x-patch
Size: 3573 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110712/dc5dc0e3/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: format-replace-m-uclibc.patch
Type: text/x-patch
Size: 14050 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110712/dc5dc0e3/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paper-over-mkostemp.patch
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110712/dc5dc0e3/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-nonet-for-docbook.patch
Type: text/x-patch
Size: 1345 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110712/dc5dc0e3/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110712/dc5dc0e3/attachment-0001.pgp>


More information about the systemd-devel mailing list