Port-sparc archive

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

Re: Benefit to cross-compile sparc on sparc64



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


Home | Main Index | Thread Index | Old Index