Re: Go on sparc

Stuart Henderson <[email protected]> Tue, 12 Nov 2019 07:25:45 +0200
Newsgroups gmane.os.openbsd.sparc,gmane.os.openbsd.ports
Message-ID <16e5e132ba8.2792.545c230b3f27d53b49609e7db70685b8@spacehopper.org>
sparc64 isn't on upstream's list of supported architectures 
(https://golang.org/doc/install/source).

There's a third party fork adding this for an old version of go 
(https://github.com/4ad/go) but even with this it's going to be a lot of 
work to get something usable, and even then there will be problems building 
many programs that bundle a "vendored" copy of standard go libraries that 
will need updating before they can be used.

It's likely to be much easier to rewrite the tools you want in C than it is 
to get go working.

Side note: if something isn't present in release packages on some 
particular arch (but is present for other arch), it's not going to build 
directly from ports either.

On 12 November 2019 05:56:03 Chris Ross <[email protected]> wrote:

> So, I was trying to follow a recipie online to get a mail server running
> on an OpenBSD 6.6 box [1].  Among the packages it wants to install are
> opensmtpd-filter-rspamd and opensmtpd-filter-senderscore.  Those packages
> don't exist, and I find that they do for amd64 and not sparc.  So,
> I thought I'd build them myself, but ports shows those as not supported
> for sparc64, and I traced that back to go.
>
>
> Does anyone know if there is a go for sparc64, or if there are known
> issues that just need to be resolved?  I'd be happy to help if I can,
> but don't know go at all, and merely moderately good at understanding
> architectural problems that I've seen affecting code working on sparc64
> systems.
>
>
> Thanks.
>
>
>                - Chris
>
>
> 1 
> https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/