Re: compile and run 32bit programs on aarch64eb

Valery Ushakov <[email protected]> Wed, 26 Nov 2025 19:10:40 +0300
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
On Wed, Nov 26, 2025 at 19:07:24 +0300, Valery Ushakov wrote:

> On Wed, Nov 26, 2025 at 14:32:27 +0100, Martin Husemann wrote:
> 
> > On Wed, Nov 26, 2025 at 04:26:30PM +0300, Valery Ushakov wrote:
> > > sligtly different set of atomic primitives is provided by the compat
> > > libc (this might or might not be a bug, I couldn't get an answer from
> > > people in the know).
> > 
> > I think this is because on sparc64 we know the hardware is at least sun4u,
> > so we can assume all sparcv9 instructions are available, while the regular
> > sparc libs are build for sparcv7 (with optional overlays for sparcv8).
> 
> I know.  I don't remember the exact failure scenario - bringing over
> to sparc64 machine a real sparc binary that needs certain symbols that
> compat libc doesn't provide, or something like that.

https://gnats.netbsd.org/58975

-uwe