Hi Paul, Arnold, Jim,
If the 'dfa' module supposed to be multithread-safe?
I'm asking because dfa.c invokes
setlocale (LC_ALL, NULL),
and I've found out that this call is not MT-safe on musl libc, macOS,
FreeBSD, NetBSD, OpenBSD, AIX, Haiku, Cygwin, MSVC.
I'm workin
Hi Rich,
> -- it would preclude advance creation of a file actions object which
> will open or dup onto high fd numbers at a later time after the rlimit
> has been increased.
This is a highly theoretical use-case, isn't it?
If you think POSIX should not specify things the way it does, please
rep
On 04/15/2014 03:43 PM, Natanael Copa wrote:
> * lib/physmem.c (physmem_total): Some systems like musl libc does not
> (yet) support _SC_PHYS_PAGES. Use the linux syscall sysinfo first and
> fallback to sysconf with _SC_PHYS_PAGES and _SC_PAGESIZE.
This looks good.
I confirmed the value
;> has to malloc() some pushback storage, and if the malloc fails then so
>> does the ungetc().
>
> This is where we (musl vs glibc and perhaps you) have very different
> design philosophies. Using a single non-switchable buffer simplifies
> all the stdio code paths a lot, and r
On 06/25/2012 08:31 AM, Paul Eggert wrote:
On 06/24/2012 03:42 PM, John Spencer wrote:
anything is better than a failed build.
Isn't this discussion moot now, with respect to musl?
That is, I thought the problem with musl and gnulib
is fixed, so we don't have a failed build now.
k_rdlock_prefer_writer=yes],
[gl_cv_pthread_rwlock_rdlock_prefer_writer=no],
- [gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes"])
+ [case "$host_os" in
+ # Guess no on glibc systems.
+ *-gnu* | gnu*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing
ILE_IFELSE(
@@ -1434,6 +1433,7 @@ changequote(,)dnl
[gl_cv_func_snprintf_directive_n="guessing
yes"],
[gl_cv_func_snprintf_directive_n="guessing
no"])
;;
+changequote(,)dnl
'' builds (compiler option @samp{-MD}) are
+supported, not ``debug'' builds (compiler option @samp{-MDd}).
@item
@c There is musl-gcc on Ubuntu, and Alpine Linux 3.3.3.
musl libc is rarely tested.
> From: Bruno Haible
> Cc: gavinsmith0...@gmail.com, s...@gentoo.org, bug-texi...@gnu.org,
> bug-gnulib@gnu.org
> Date: Thu, 08 Dec 2022 20:00:31 +0100
>
> Eli Zaretskii wrote:
> > > Attempting to --whole-archive link on that platform grants us:
> > >
>
glibc ptsname_r sets errno when it fails, but this is not specified in
https://www.gnu.org/software/libc/manual/html_node/Allocation.html
and musl libc does not do the same thing. This leads to a test failure
of 'test-ptsname_r' on Alpine Linux 3.7.0.
This patch fixes it.
2018-02
yes
> Linux Alpine 3.7 (musl libc) nono, but it is partly working
> Linux alpha (Debian 5) nono, but it is partly working
> kFreeBSD yes no, but it is partly working
> Hurd
Hi,
Many people refuse to click on URLs that are hosted on an unknown domain,
moreover with the word 'click' and a long identifier in it. This is the
kind of URL that is most often used to invade our privacy and steal our
secrets.
Could you therefore please write a self-contained mail (no URLs)?
This patch removes the need to link with -lpthread on several platforms,
by using the "weak symbols" trick from lock.h. With this, the only platform
on which setlocale-null requires -lpthread is AIX.
2019-12-16 Bruno Haible
setlocale-null: Remove need for -lpthread on musl
nclude
-#if HAVE___FPURGE /* glibc >= 2.2, Haiku, Solaris >= 7,
Cygwin >= 1.7.10, Android API >= 23 */
-# include
+#if HAVE___FPURGE /* glibc >= 2.2, Haiku, Solaris >= 7,
Cygwin >= 1.7.10, Android API >= 23, musl libc */
+# if HAVE_
(no failure in 20 runs)
The test-pthread-cond, test-cond, test-cnd tests are not the only ones that
fail in this VM configuration. test-pthread_sigmask[12] and test-sigprocmask
occasionally fail as well. Both in glibc and in musl libc systems.
This patch avoids the test failures.
2024-06-29 Br
it test
tests/test-fdopen.c
it appears that it was not the intent of gnulib to prohibit this behaviour.
Rather, musl is the first platform to exhibit this behaviour, and gnulib's
intent was to make sure that fdopen(invalid fd, ...)
1. does not crash,
2. sets errno when it fails.
Er
On 04/18/2014 10:16 AM, Natanael Copa wrote:
> * lib/physmem.c (physmem_total): Some systems like musl libc does not
> (yet) support _SC_PHYS_PAGES. Use the linux syscall sysinfo as fallback
> if _SC_PHYS_PAGES or _SC_PAGESIZE fails.
>
> Signed-off-by: Natanael Copa
> ---
ted.
@item
-@c There is Alpine Linux 3.14, and also musl-gcc on Ubuntu.
+@c There is Alpine Linux 3.19, and also musl-gcc on Ubuntu.
musl libc on Linux is occasionally tested.
@end itemize
@item
macOS@. In versions 12.5, it's occasionally tested. In version
10.5, it's rarely tested
> "Jim" == Jim Meyering writes:
Jim> That is correct. It is a feature of gdb-7.0 and newer.
Jim> You can inspect (watch/break-at/etc.) the same address and expect it
Jim> to refer to the same memory location in multiple invocations.
Jim> This makes gdb's command-line history even more useful
macros
> macOS: self-contained
> mingw: self-contained
> Minix: self-contained
> musl: self-contained
> NetBSD: self-contained
> OpenBSD: self-contained
> Solaris 10: #include -> #include ,
> #include , defines only macros
> Solaris 11: #includ
Maxin B. John wrote:
> ./stdint.h:89:5: error: #if with no expression
> #if
> ...
> (Link: http://errors.yoctoproject.org/Errors/Details/123659/ )
>
> This appears to be an error introduced by the gnulib commit:
>
> http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=5a400b3f5a1f5483dbfd75d38
Hi Collin,
> I'll submit a bug report on the musl lists now.
Thanks.
> I don't think this function is used too much
Probably no one noticed the bug before, because the typical use of
this function is to test whether a given shell string is valid,
as in [1], and for this use
/* Return the number of pending (aka buffered, unflushed)
bytes on the stream, FP, that is open for writing. */
diff --git a/lib/freadable.c b/lib/freadable.c
index 160fc3074..882906175 100644
--- a/lib/freadable.c
+++ b/lib/freadable.c
@@ -26,7 +26,8 @@
#endif
/* This file is not used on
Hi Bruno,
On 5/19/24 5:03 PM, Bruno Haible wrote:
> Perfect. Thanks a lot!
Sadly, it looks like this uncovered that the gnulib version is buggy
too.
Given this etc/shells:
# valid login shells
/bin/sh # abc
/bin/ash # 123
/bin/bash # def
===
Collin Funk wrote:
> Sadly, it looks like this uncovered that the gnulib version is buggy
> too.
You don't need an Alpine Linux machine to debug this. You can debug it
on a glibc system like this:
1. create a testdir for the module getusershell,
2. configure through
ac_cv_func_getusersh
Some more measurements in virtual machines with 8 CPUs:
Debian 9 (glibc 2.24) 4 CPUs: 0.33 sec 8 CPUs: 0.34 sec
Debian 10 (glibc 2.28) 4 CPUs: 23 sec8 CPUs: 29 sec
So, while glibc < 2.25 did not prefer writers (like musl libc, OpenBSD 7.5,
AIX), it's only start
On 06/20/2012 07:21 PM, Rich Felker wrote:
>>> Replacement of mktime, because of
>>> checking for working mktime... no
>
> This test is buggy; it goes into an infinite loop due to integer
> overflow UB, because the condition to break out of the loop is only
> checked when the test does not fail
eading until error, and count the bytes read. Then
> >> ungetc all the bytes that you read, in reverse order, and restore
> >> the file descriptor. Of course ISO C doesn't guarantee this, but
> >> it should be fairly portable in practice.
> >
> > N
lying file descriptor for fflush() and fclose(),
most systems
- either do it right for both — like musl libc —
- or wrong for both — like glibc (at least up to version 2.32) —,
whereas AIX gets it right for fflush() but wrong for fclose().
This patch fixes it.
2021-01-05 Bruno Haible
This function misbehaves on consecutive slashes on some platforms:
musl libc 1.2.2, AIX 7.
diff --git a/m4/canonicalize.m4 b/m4/canonicalize.m4
index 6821c70..0dfb2da 100644
--- a/m4/canonicalize.m4
+++ b/m4/canonicalize.m4
@@ -1,4 +1,4 @@
-# canonicalize.m4 serial 36
+# canonicalize.m4 serial 37
dnl Co
e;
+#endif
+
+ return false;
}
diff --git a/tests/test-hard-locale.c b/tests/test-hard-locale.c
index eb02f4f6e6..6f94e6c3ac 100644
--- a/tests/test-hard-locale.c
+++ b/tests/test-hard-locale.c
@@ -38,8 +38,10 @@ test_one (const char *name, int failure_bitmask)
/* musl libc has special
--- Original Message ---
On Thursday, February 16th, 2023 at 10:55 PM, Bruno Haible
wrote:
> Ørjan Malde wrote:
>
> > I had no intention of hiding my name:-)
>
>
> OK, we're past step 1 :)
>
> > we rely on musl for the C library, theoreticall
Hi,
On Alpine Linux 3.7.0, which uses musl libc, the gnulib test 'test-getopt-posix'
fails. To me, this looks like a POSIX compliance bug of musl.
Find attached a reduced test case.
$ gcc foo.c -Wall
$ ./a.out
foo.c:134: assertion 'options[0] == ':' || ((optio
Regarding the run-time complexity of the memmem, strstr, strcasestr, wcsstr
implementations:
- For memmem: It's interesting to see that after glibc and musl, now also
FreeBSD, NetBSD, and OpenBSD have adopted the two-way algorithm
for O(n) behaviour.
- For strcasestr, on the other
Hello,
I'm using musl as a libc, and have run into a number of times that
gnulib stopped build.
By defining SLOW_BUT_NO_HACKS, the software ended up working.
This is the documented behavior, but it doesn't seem like the right one:
if a stub is usable enough to allow using it, why shoul
27;s the complete matrix:
posix_memalign aligned_alloc memalign
glibc Y Y Y
musl Y Y Y
macOS - - -
FreeBSD Y Y -
Net
Robert Pluim wrote:
> Thorsten> They don't record at all.
> Thorsten> Which means tools like who just don't show anything. And emacs
> will
> Thorsten> never find out the boot time with the current code.
>
> What API do you suggest we use inste
> Thanks, this change looks fine to me.
Thanks. But before I do the rewrite, let me add a unit test first.
It's a bit tricky only on musl libc, NetBSD, and OpenBSD. Other
than that, there's a test failure on Android 4.3, where
- setlocale (category, NULL) always returns NULL.
tnot that they don't need.
Instead, wouldn't it be better to change gnulib/lib/stdio-impl.h
so that it groks the musl FILE object? Naturally, this would
inspect musl's "internals", but that'd be no different from
all those other libraries that stdio-impl.h supports.
On Sun, Jun 17, 2012 at 11:57:05PM +0200, Bruno Haible wrote:
> Rich Felker wrote:
> > considering printf broken, and replacing printf
> > because of this, is a big issue. Replacing printf is non-trivial
>
> There is also another test that causes musl's printf to be overridden:
>
> checking whe
On Mon, Jun 18, 2012 at 02:59:56AM +0200, Bruno Haible wrote:
> For 2), the issue is that for a stream opened in write-only mode,
> immediately after the fopen() call, gnulib expects fwriting(fp) to be
> true:
Thanks. I committed a change whereby __freading now returns 1 whenever
the stream is rea
Bruno Haible wrote:
> Rich Felker wrote:
>> The problem was an obscure pointer-arithmetic overflow ...
>> where the stack pointer is near the 4GB boundary.
>
> This explains also why it occurred only with a certain probability
> outside gdb, but with 100% probability from within gdb: Apparently gdb
Hello,
On 2018-12-29 7:51 a.m., Necktwi Ozfguah wrote:
Its coreutils-8.30 with musl-1.1.20 Linux aarch64, Gentoo. I've untared
coreutils-8.30.tar.xz cd coreutils-8.30 ./bootstrap ./configure
CFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -mcpu=cortex-a53
-ftree-vectorize -O2 -pipe -f
On 3/22/19 12:31 PM, Necktwi Ozfguah wrote:
> Please patch the gnulib with
> https://u7535577.ct.sendgrid.net/wf/click?upn=S8VPHvg5-2FzxqlLfWXPq42mUxcZDSyC3MqblYskqrUpUxEeXj2ty4PFy2n-2BuTk72hD1MBwWBQhPZQm9-2FjzWfaTam8LAKZgRnJaqW2A7Bwxgbx-2FknGWQJOWHXuaHJTvXOh_xXjksHEkT5Azm40kLn-2F-2BTLbhdQ6JTRXNvW
ers for use and set up some defines.
> >
> > Does this change fix a compilation problem? You did not say so.
>
> Context in http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00025.html
> glibc-2.23 and musl now need this change it seems.
heh, i completely forgot about that thread ;)
-mike
signature.asc
Description: Digital signature
s.
Since (correct me if I'm wrong on this) the goal of gnulib seems to be
making programs that use it extremely portable, there needs to be a
portable fallback solution regardless of what solution ends up being
best with musl. So far there are the options of the ugly dup/dup2 mess
to imple
| defined __ANDROID__
+
+/* Store the uptime counter, as managed by the Linux kernel, in *P_UPTIME.
+ Return 0 upon success, -1 upon failure. */
+_GL_ATTRIBUTE_MAYBE_UNUSED
+static int
+get_linux_uptime (struct timespec *p_uptime)
+{
+ /* The clock_gettime facility returns the uptime with a
Since glibc and musl libc are now two libcs with supposedly the same API,
it's useful to be able to reference the common specification behind this API.
Beyond POSIX, it is the LSB.
Also some of the API (e.g. dl_iterate_phdr) is found on BSD systems as well,
but not specified by POSIX.
Ther
On Tue, Aug 08, Bruno Haible wrote:
> Thorsten Kukuk wrote:
> > On musl libc systems like Alpine,
> > you don't have utmp nor wtmp.
>
> But on Alpine Linux, I don't see a systemd nor a logind daemon.
> How are logins meant to be recorded on this system?
The
>>>>> On Tue, 8 Aug 2023 14:29:27 +, Thorsten Kukuk said:
Thorsten> On Tue, Aug 08, Bruno Haible wrote:
>> Thorsten Kukuk wrote:
>> > On musl libc systems like Alpine,
>> > you don't have utmp nor wtmp.
>>
>&
al was in fact not used,
since the beginning of the getopt-posix and getopt-gnu modules. Apparently
we considered this optimization "not worth it".
But this optimization is OK. I verified that it works fine on
- Linux/glibc, from CentOS 6 to Ubuntu 20.04
- Linux/musl
- Hurd
- FreeB
me thing.
> They're purposefully opaque so that they can be changed if an
> alternate implementation proves better.
Dragonfly BSD attacked this problem by supplying a
function __sreadahead that returns the value in question.
Perhaps musl could do something similar? That would fix
the probl
Eli Zaretskii wrote:
> > Attempting to --whole-archive link on that platform grants us:
> >
> > $ x86_64-linux-musl-gcc -o ginstall-info install-info.o \
> > -Wl,--whole-archive ../gnulib/lib/libgnu.a -Wl,--no-whole-archive
> > /usr/libexec/gcc/x86_64-linux-musl/l
nce it's too easy to set up fake
accounts automatically).
So, please use your real name, be it Ørjan Malde, Rumpelstilzchen, or
whatever.
2) I understand from [1] that midipix is based on musl libc, with the
Linux kernel replaced with a 'psxscl' layer that is based on Windo
+}
+ ]])],
+ [gl_cv_func_modfl_works=yes],
+ [gl_cv_func_modfl_works=no],
+ [case "$host_os" in
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_modfl_works="guessing yes" ;;
+
uot; ;;
+# Guess no on native Windows.
+ mingw*) gl_cv_func_strtol_works="guessing no" ;;
+# Guess no on glibc systems.
+*-gnu* | gnu*) gl_cv_func_strtol_works="guessing no" ;;
+
* Paul Eggert:
> On 1/22/20 2:05 PM, Rich Felker wrote:
>> I think we're approaching a consensus that glibc should fix this too,
>> so then it would just be gnulib matching the fix.
>
> I installed the attached patch to Gnulib in preparation for the upcoming
> glibc fix. The patch causes fchmodat
Forwarding to gnulib, which owns this test.
On Mon, Apr 11, 2022 at 12:15:47PM +0200, Natanael Copa wrote:
> ncopa-desktop:~/aports/main/m4/src/m4-1.4.19 (master)$ cat
> tests/test-suite.log
> =
>GNU M4 1.4.19: tests/test-suite.log
> ==
nux CentOS 5 nono, but it is partly working
Linux CentOS 6 nono, but it is partly working
Linux CentOS 7 noyes
Linux Alpine 3.7 (musl libc) nono, but it is partly working
Linux alpha (Deb
tithreaded results.
> Solaris 11.4 Expected value #55372 not found in multithreaded results.
> OpenBSD 7.4 rand() is non-deterministic.
> Cygwin 3.4.6 rand() is non-deterministic.
And also:
musl libc 3.18 Expected value #13730 not found in multithreaded results. (3
failures
d not say so.
Context in http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00025.html
glibc-2.23 and musl now need this change it seems.
I suggested a makedev gnulib module in the thread above
as it's not just the headers that are varying,
as also some systems use mkdev() and some maked
e case is that this unresolved call will
be resolved by linking against libc.
> I imagine this would result is some very strange runtime failures if
> anyone ever observed install-info hit an xalloc_die condition.
Not if the reference in xalloc_die was resolved to the libc function
by the same
correct.
* lib/ptsname_r.c (__ptsname_r): If HAVE_ESSENTIALLY_WORKING_PTSNAME_R
is defined, just fix the return value.
* doc/glibc-functions/ptsname_r.texi: Mention the Android bug. Reword:
The behaviour of musl libc is nothing to be "fixed", since it is
- "O_SEARCH: Open directory for search only."
does not support an expectation that fchmod() would succeed
for a file descriptor opened with one of these flags.
Nor does
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/fchmod.html>.
* musl libc define
Currently localcharset uses m4/glibc21.m4 (ac_cv_gnu_library_2_1) to
figure out if charset.alias needs to be installed or not.
However, a separate ac_cv_iconv_has_standard_charset_names or similar
would be better so it can be controlled better. Especially important
with musl c library, where
gwin 1.5, mingw.
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function produces wrong results on some platforms:
+musl libc/powerpc64le when emulated by QEMU 5.0.0.
+@c https://bugs.launchpad.net/qemu/+bug/1912934
@end itemize
-08 Paul Eggert
+
+ mktime: back in sync with GNUlib
+ * config/srclist.txt: glibc has synced mktime from Gnulib.
+
2022-09-07 Bruno Haible
posix_spawn_file_actions_addclose tests: Avoid test failure on musl.
diff --git a/config/srclist.txt b/config/srclist.txt
index
On 04/15/2014 03:49 PM, Pádraig Brady wrote:
> On 04/15/2014 03:43 PM, Natanael Copa wrote:
>> * lib/physmem.c (physmem_total): Some systems like musl libc does not
>> (yet) support _SC_PHYS_PAGES. Use the linux syscall sysinfo first and
>> fallback to sysconf with _SC_PHYS_P
Hi Bruno,
On Mon, Jan 30, 2017 at 3:58 PM, Bruno Haible wrote:
> Maxin B. John wrote:
>> ./stdint.h:89:5: error: #if with no expression
>> #if
>> ...
>> (Link: http://errors.yoctoproject.org/Errors/Details/123659/ )
>>
>> This appears to be an error introduced by the gnulib commit:
>>
>> http://
Hi Reuben,
Reuben Thomas wrote:
> Please see this issue report for the 'mmv' project, which I maintain:
>
> https://github.com/rrthomas/mmv/issues/23
Since you did not give a "How to reproduce" recipe, I am forced to do
guesswork. Building the 'free' module on Alpine Linux works fine, for
years
ff --git a/lib/boot-time.c b/lib/boot-time.c
index c1171e8024..c9dff8de4e 100644
--- a/lib/boot-time.c
+++ b/lib/boot-time.c
@@ -82,7 +82,7 @@ get_boot_time_uncached (struct timespec *p_boot_time)
/* Try to find the boot time in the /var/run/utmp file. */
-# if defined UTMP_NAME_FUNCTION /* g
POSIX leaves the value of *endptr unspecified if the base is invalid;
it is not unmodified.
glibc and musl libc leave the object unmodified. However, the BSDs and
Bionic libc modify it to be nptr.
That, combined with the fact that POSIX allows implementations of
strtol(3) to set EINVAL when no
plaforms:
+and test this directory on various platforms:
- Linux/glibc systems,
- Linux/musl systems,
- macOS,
--
2.44.0
{wf32},
+@code{wf64}) on some platforms:
+glibc 2.38, musl libc, macOS 12.5, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
+AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), this function does not set
@code{errno}
upon failure.
@item
... etc.
a1b0
error in section .text of .../install-info/ginstall-info
(gdb) info symbol 0x77eb56c0
error_at_line in section .text of /usr/lib64/libc.so.6
(gdb) # symbol values obtained via p &...
And it wouldn't be, since the executable contains:
76: 61b0249 FUN
Many i18n tests in gnulib and gettext are not really exercised, because so far
all m4/locale-*.m4 tests report that there is no usable French / Turkish / etc.
locale on a musl system. This is correct when one looks at all locale categories
together and expects e.g. in the French UTF-8 locale a
Rich Felker wrote:
> considering printf broken, and replacing printf
> because of this, is a big issue. Replacing printf is non-trivial
There is also another test that causes musl's printf to be overridden:
checking whether printf supports the 'ls' directive... no
The test program exited with
On Sun, Jun 17, 2012 at 6:15 PM, Bruno Haible wrote:
> Paul Eggert wrote:
>> On 06/12/2012 04:21 AM, Paolo Bonzini wrote:
>> > perhaps we can follow the suggestion and
>> > replace "if (freadahead (f))" with "if (freading(f) && !feof(f))" in
>> > closein.c.
>>
>> Yes, thanks, I like this idea the
* Rich Felker:
> Note that in any case, musl's lchmod/fchmodat is not affected since it
> always refuses to change symlink modes; I did this because I was
> worried that chmod on the magic symlink in /proc might pass through
> not just to the symlink it refers to, but to the symlink target if one
hetical system doesn't exist:
>
> O_RDONLY O_WRONLY O_RDWR
>
> AIX
> Android
> BeOS
> Cygwin
> FreeBSD
> glibc/Linux
> Haiku
> HP-UX
> Interix
> IRIX
> macOS
> mingw, MSVC
> Minix
> MirBSD
> musl
> NetBSD
> Op
musl libc.
diff --git a/NEWS b/NEWS
index 1a1c21970a..e5a875021e 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,8 @@ Important general notes
DateModules Changes
+2022-02-20 (all) Automake >= 1.14 and Autoconf >= 2.64 are required.
+
2021-06-04 (all) The l
Paul Eggert wrote:
> I also installed the 2nd attached patch which is just a doc update.
The platforms that have O_PATH are:
- Linux (glibc ≥ 2.14, musl, Android)
- FreeBSD ≥ 13.1
I'm therefore doing this doc update:
2022-06-12 Bruno Haible
doc: Update O_PATH platfo
but it is partly working
>> Linux CentOS 7 no yes
>> Linux Alpine 3.7 (musl libc) nono, but it is partly working
>> Linux alpha (Debian 5) nono, but it is partly working
>> kFreeBSD
nd likewise the LSB 3.0
https://refspecs.linuxfoundation.org/LSB_3.0.0/LSB-PDA/LSB-PDA/baselib-dgettext.html
> since my libc is musl, tar is using builtin argp implementation, which will
> pass NULL as msgid to dgettext without additional checks.
>
>
> could you please check if
gt; >>will probe some headers for use and set up some defines.
> >
> >Does this change fix a compilation problem? You did not say so.
>
> Context in
> http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00025.html
> glibc-2.23 and musl now need this change it s
On Wed, 10 Jul 2024 at 02:58, Bruno Haible wrote:
>
> Since you did not give a "How to reproduce" recipe, I am forced to do
> guesswork. Building the 'free' module on Alpine Linux works fine, for
> years already.
>
Do feel free to simply ask for more information! I do not want to spend
time unne
+ doc/posix-functions/grantpt.texiFri Jun 22 12:33:52 2012
@@ -20,5 +20,5 @@
IRIX 5.3.
@item
This function reports success for invalid file descriptors on some platforms:
-Cygwin 1.7.9.
+OpenBSD, Cygwin 1.7.9, musl libc.
@end itemize
--- lib/grantpt.c.orig Fri Jun 22 12:33:55 2012
+
english good enough to contact this list, they
probably don't have much interest to discuss with you guys for days
until they finally get a gnulib fix upstream (which will be in their
software of choice months or years later) or not, unless they know how
to apply patches manually.
you seem
On Wed, Jul 24, 2024 at 09:27:14PM GMT, Alejandro Colomar wrote:
> POSIX leaves the value of *endptr unspecified if the base is invalid;
> it is not unmodified.
>
> glibc and musl libc leave the object unmodified. However, the BSDs and
> Bionic libc modify it to be nptr.
>
>
.
* doc/gnulib-intro.texi (Target Platforms): List HP-UX as unsupported.
diff --git a/doc/gnulib-intro.texi b/doc/gnulib-intro.texi
index be703a4..f935875 100644
--- a/doc/gnulib-intro.texi
+++ b/doc/gnulib-intro.texi
@@ -156,8 +156,6 @@ musl libc is rarely tested.
@item
Minix 3.3.0 is rarely tested
ey cannot convert. */
+# if !defined _LIBICONV_VERSION
|| (res > 0 && outptr - outbuf == 1 && *outbuf == '?')
# endif
/* musl libc iconv() inserts a '*' if it cannot convert. */
rame-pointer -Wno-error" CXXFLAGS=$CFLAGS
> --prefix="/usr"
> make -j3
You are on your own when you build a tarball in a way that is different
from the one described in the INSTALL file. Namely:
- You shouldn't invoke 'bootstrap' when building from a tarball.
t the boot time with the current code.
>>
>> What API do you suggest we use instead?
Bruno> musl libc runs only on Linux. On Linux, you can use this approach
from Gnulib:
Bruno>
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/readutmp.c;h=4e1d7ec26bef6cba447443
On 5/19/24 7:17 PM, Bruno Haible wrote:
> You don't need an Alpine Linux machine to debug this. You can debug it
> on a glibc system like this:
> 1. create a testdir for the module getusershell,
> 2. configure through
>ac_cv_func_getusershell=no ./configure
> 3. use the unit test, or
On Wed, Feb 12, 2020 at 12:50:19PM +0100, Florian Weimer wrote:
> * Paul Eggert:
>
> > On 1/22/20 2:05 PM, Rich Felker wrote:
> >> I think we're approaching a consensus that glibc should fix this too,
> >> so then it would just be gnulib matching the fix.
> >
> > I installed the attached patch to
nux-gnu.
> >
> > ...
> > FAIL: test-hard-locale
> > FAIL: test-setlocale_null-mt-all
> >
> > Attached are config.log and test-suite.log.
>
> The cause of these two failures is the wrong triplet: $host_os is
> - on Alpine Linux 3.10: linux-gnu,
>
Hi,
While I am building coreutils with musl on aarch64 (RaspberryPi 3B), this
error is thrown:
lib/freadseek.c: In function 'freadptrinc':
lib/freadseek.c:69:3: error: #error "Please port gnulib freadseek.c to your
platform! Look at the definition of getc, getc_unlocked on yo
I wrote:
> * lib/uchar.in.h: Invoke _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END.
> (btoc32): Inline if _GL_WCHAR_T_IS_UCS4.
> (c32isalnum, c32isalpha, c32isblank, c32iscntrl, c32isdigit, c32isgraph,
> c32islower, c32isprint, c32ispunct, c32isspace, c32isupper,
> c32
* lib/physmem.c (physmem_total): Some systems like musl libc does not
(yet) support _SC_PHYS_PAGES. Use the linux syscall sysinfo first and
fallback to sysconf with _SC_PHYS_PAGES and _SC_PAGESIZE.
Signed-off-by: Natanael Copa
---
lib/physmem.c | 13 -
m4/physmem.m4 | 2 +-
2 files
_MAXHOST 1025
Bruno
[1] https://datatracker.ietf.org/doc/html/rfc2553
[2] https://www.openwall.com/lists/musl/2017/04/23/8
201 - 300 of 493 matches
Mail list logo