Re: Benefit to cross-compile sparc on sparc64

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc
Message-ID <[email protected]>
On Mon, Nov 25, 2024 at 10:59:43PM -0500, Mouse wrote:
> Don't sparc64 kernels support sparc (ie, sparc32) userland?  If that
> memory of mine is correct, you should be able to just plop a sparc
> userland in place and chroot to it, instead of cross-building.

Yes, *but* in my experience this does not work well due to bugs in the
sparc userland when it comes to threading. The "fast" cpu of the v240 will
trigger bugs there more easily.

So anything that uses threads will be tricky.

I was never able to e.g. run a full ATF test run in this environment
(and that is not due to the [few, minor] missing parts in our COMPAT_NETBSD32
emulation, this works quite well on amd64 and aarch64).

I would love to add sparc-on-sparc64 regular ATF tests to my weekly runs.
Please someone nail this bugs and fix them :-)

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.