On Wed, 14 May 2025 10:44:35 -0400
Rich Felker wrote:
> On Wed, May 14, 2025 at 04:15:07PM +0200, Bruno Haible wrote:
> > Rich Felker wrote:
> > > AFAICT the code is in tests/test-lock.c from the gnulib repo and calls
> > > the gl_rwlock_* functions, which should be using the gnulib condvar
> >
[Adding Rich Felker to CC]
On Tue, 13 May 2025 18:05:50 +0200
Bruno Haible wrote:
> Natanael Copa wrote:
> > > So, you could try to install a different scheduler by default and repeat
> > > the test.
> >
> > It passed with chrt --fifo (I had to do
On Tue, 13 May 2025 12:40:58 +0200
Bruno Haible wrote:
> [Dropping bug-gettext from CC.]
>
> Natanael Copa wrote:
> > The test-pthread-rwlock fails on a riscv64 Alpine Linux system with 64
> > cpu cores. The test passes
Hi!
The test-pthread-rwlock fails on a riscv64 Alpine Linux system with 64
cpu cores. The test passes on x86_64 and aarch64.
...
Testsuite summary for gettext-tools 0.24.1
s the problem for Alpine, nor I suspect for
> Android. I suppose Alpine could use the timestamp of /var/run/utmp (or
> is that /run/utmp?) but I don't know how 'configure' would reliably
> detect it's being built or cross-built for Alpine. I'll cc this to
> Nat
On Thu, 10 Aug 2023 17:38:10 +0800
Po Lu wrote:
> Natanael Copa writes:
>
> > 2) Even if it does exist, there is no guarantee that the timestamp is
> > correct. There are machines without RTC (Raspberry PI for example),
> > and in this case the time stamp may end up to
Den 18. apr. 2014 kl. 18:11 skrev Pádraig Brady :
> 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
* 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
---
Changes since v1:
- prefer use _SC_PHYS_PAGES * _SC_PAGESIZE if available and
On Thu, 17 Apr 2014 01:26:13 +0100
Pádraig Brady wrote:
> 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. Us
* 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
Hi,
It seems like physmem_total is broken with musl libc since
_SC_PHYS_PAGES is not implemented.
Would it be an idea to use sysinfo from sys/sysinfo.h first and then
fallback to the current _SC_PHYS_PAGES * _SC_PAGESIZE?
Something like:
diff --git a/lib/physmem.c b/lib/physmem.c
index 7a67fb3
11 matches
Mail list logo