[systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)
Samuli Suominen
ssuominen at gentoo.org
Mon Apr 7 23:17:37 PDT 2014
I can work on a patch that creates the new header, if this is something
you'd be willing to consider.
On 08/04/14 09:04, Samuli Suominen wrote:
> First, some history, we have within Gentoo been pushing changes to
> uClibc head for functions that are used
> by the udev code of systemd, that were prior to that, only in glibc.
> I assume this is the way you want to see things integrated, to not carry
> uClibc specific hacks in systemd's code.
>
> However, sometime after 204, unconditional use of locale_t was applied
> to src/shared/util.h, and that same header
> is used also in udev parts of the systemd build, and that is something
> we can't change in uClibc to keep on supporting
> NLS-less builds of it.
>
> File src/shared/util.h is using locale_t which isn't used by the
> strictly udev parts of the systemd code, I propose to move
> this to a different header, so it is only used where it's actually required.
>
> I'm attaching the patch we are currently using to workaround the
> problem, not because it should be applied in systemd's code,
> but only to demonstrate the part of the header that should get it's own
> header, only to demonstrate the problem we
> are having.
>
> This is the *only* patch we are carrying for udev currently, otherwise
> uClibc builds work fine, so please at least consider what
> I just said.
>
> - Samuli
>
>
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
More information about the systemd-devel
mailing list