Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-09 Thread Samuli Suominen
On 08/04/14 19:16, Cristian Rodríguez wrote: El 08/04/14 03:04, Samuli Suominen escribió: 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. All this locale_t thing is standarized in POSIX 2008, . it

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-09 Thread Lennart Poettering
On Wed, 09.04.14 09:40, Samuli Suominen (ssuomi...@gentoo.org) wrote: 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. All this locale_t thing is standarized in POSIX 2008, . it is up to the

[systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Samuli Suominen
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.

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Samuli Suominen
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

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Apr 08, 2014 at 09:04:37AM +0300, Samuli Suominen wrote: 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 see the usefulness of

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Lennart Poettering
On Tue, 08.04.14 09:04, Samuli Suominen (ssuomi...@gentoo.org) wrote: I am sorry, but we are not interested in carrying compat code for exotic libc's. We have made this clear in the past. The onus is on those libc's to be compatible with glibc and POSIX and all these things, and systemd is not

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Samuli Suominen
On 08/04/14 18:52, Lennart Poettering wrote: On Tue, 08.04.14 09:04, Samuli Suominen (ssuomi...@gentoo.org) wrote: I am sorry, but we are not interested in carrying compat code for exotic libc's. We have made this clear in the past. The onus is on those libc's to be compatible with glibc and

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Samuli Suominen
On 08/04/14 15:25, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Apr 08, 2014 at 09:04:37AM +0300, Samuli Suominen wrote: 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

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Cristian Rodríguez
El 08/04/14 03:04, Samuli Suominen escribió: 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. All this locale_t thing is standarized in POSIX 2008, . it is up to the particular libc to keep up with