bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __GLIBC__ and uClibc


From: Pádraig Brady
Subject: Re: __GLIBC__ and uClibc
Date: Wed, 15 Dec 2010 17:30:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

On 21/11/10 01:31, Bruno Haible wrote:
>> 2010-11-20  Bruno Haible  <address@hidden>
>>
>>      Port to uClibc.
>> ...
> 
> Oops, that patch and its ChangeLog entry were incomplete.
> 
> Here is the corrected ChangeLog:
> 
> 2010-11-20  Bruno Haible  <address@hidden>
> 
>       Port to uClibc.
>       * build-aux/link-warning.h (GL_LINK_WARNING): Treat uClibc like glibc.
>       * lib/fcntl.in.h: Likewise.
>       * lib/hard-locale.c (GLIBC_VERSION): Likewise.
>       * lib/mbrtowc.c (mbrtowc): Likewise.
>       * lib/relocatable.c (find_shared_library_fullname): Likewise.
>       * lib/strerror_r.c: Likewise.
>       * lib/unistr/u8-strnlen.c: Likewise.
>       * lib/vasnprintf.c (decimal_point_char): Likewise.
>       * m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Likewise.
>       * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Likewise.
>       * m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Likewise.
>       * m4/glibc21.m4 (gl_GLIBC21): Likewise.
>       * tests/test-sigaction.c (handler, main): Likewise.
>       * lib/freading.h: Treat uClibc like a non-glibc platform.
>       * lib/freading.c: Likewise.
>       * lib/gettext.h: Likewise.
>       * lib/localename.c (gl_locale_name_thread_unsafe, HAVE_LOCALE_NULL):
>       Likewise.
>       * lib/printf-parse.h (FLAG_LOCALIZED): Likewise.
>       * lib/printf-parse.c (PRINTF_PARSE): Likewise.
>       * lib/propername.c (proper_name_utf8): Likewise.
>       * lib/spawn.in.h: Likewise.
>       * lib/striconv.c (mem_cd_iconv, str_cd_iconv, str_iconv): Likewise.
>       * lib/striconveh.c (iconveh_open, iconv_carefully, iconv_carefully_1,
>       mem_cd_iconveh_internal): Likewise.
>       * lib/striconveha.c (mem_iconveha, str_iconveha): Likewise.
>       * lib/string.in.h (memchr, memrchr, rawmemchr, strchrnul, strpbrk,
>       strstr, strcasestr): Likewise.
>       * lib/unicodeio.c (unicode_to_mb): Likewise.
>       * lib/uniconv/u16-conv-from-enc.c (UTF16_NAME): Likewise.
>       * lib/uniconv/u16-conv-to-enc.c (UTF16_NAME): Likewise.
>       * lib/uniconv/u16-strconv-to-enc.c (UTF16_NAME): Likewise.
>       * lib/uniconv/u32-conv-from-enc.c (UTF32_NAME): Likewise.
>       * lib/uniconv/u32-conv-to-enc.c (UTF32_NAME): Likewise.
>       * lib/uniconv/u32-strconv-to-enc.c (UTF32_NAME): Likewise.
>       * lib/unistr/u8-stpncpy.c: Likewise.
>       * lib/vasnprintf.c (VASNPRINTF): Likewise.
>       * lib/xmalloc.c (HAVE_GNU_CALLOC): Likewise.
>       * m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise.
>       * m4/getline.m4 (gl_FUNC_GETLINE): Likewise.
>       * m4/glibc2.m4 (gt_GLIBC2): Likewise.
>       * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN): Likewise.
>       * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE, gl_FUNC_MEMMEM): Likewise.
>       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Likewise.
>       * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE, gl_FUNC_STRCASESTR):
>       Likewise.
>       * m4/strstr.m4 (gl_FUNC_STRSTR_SIMPLE, gl_FUNC_STRSTR): Likewise.
>       * m4/strtod.m4 (gl_FUNC_STRTOD): Likewise.
>       * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Likewise.
>       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise.
>       * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise.
>       * m4/sys_times_h.m4 (gl_SYS_TIMES_H): Likewise.
>       * m4/unistd_h.m4 (gl_UNISTD_H): Likewise.
>       * m4/wchar_h.m4 (gl_WCHAR_H): Likewise.
>       * tests/test-getopt.h (OPTIND_MIN): Likewise.
>       * tests/test-striconveha.c (main): Likewise.
>       * tests/test-vasnprintf-posix.c (test_function): Likewise.
>       * tests/test-vasnprintf-posix3.c (test_function, main): Likewise.
>       * doc/posix-functions/getdelim.texi: Mention an uClibc bug.
>       * doc/posix-functions/getline.texi: Likewise.
>       Reported by Mike Frysinger <address@hidden>.
> 
> The completed patch is at
> <http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=63bc47a1fecb6e16b620d95fc6f5313f317bb550>
> 
> 

I noticed a slight issue with this on code inspection.
When cross-compiling for uClibc, memmem, printf, strcasestr and strstr
would be replaced, which was a change from the original.
OK to apply the attached?

cheers,
Pádraig.

Attachment: ulibc-cross-ok.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]