[Top][All Lists]

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

Re: GNU poke 2.90.0 on NetBSD/x86_64

From: Bruno Haible
Subject: Re: GNU poke 2.90.0 on NetBSD/x86_64
Date: Mon, 23 Jan 2023 20:48:07 +0100

Jose E. Marchesi wrote:
> >   - but "poke" produces the error
> >       FATAL ERROR: could not make (wider) block for heap
> That seems to be caused by this in jitter/jitter-heap.c:
>   /* If I arrived here then the natural alignment is not enough to satisfy our
>      block alignment constraint.  We have to allocate a larger buffer. */
>   size_t allocated_size = block_size * 2 - natural_alignment;
>   char *unaligned_p;
>   if ((unaligned_p = d->make (allocated_size)) == NULL)
>     jitter_fatal ("could not make (wider) block for heap");
> Luca, any idea what may be going on here?  I guess
> jitter_heap_primitive_allocate_function is the NetBSD malloc?

The return value of malloc() on NetBSD/i386 and NetBSD/sparc has a
particularly small alignment (namely 4) [1]. Maybe something similar happens
on NetBSD/x86_64 ?



reply via email to

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