Saturday, October 30, 2021

Re: sqlports on riscv64 (was: Re: CVS: cvs.openbsd.org: ports)

On Sat, Oct 30, 2021 at 10:45:16AM +0200, Jeremie Courreges-Anglas wrote:
> On Fri, Oct 29 2021, Daniel Dickman <didickman@gmail.com> wrote:
> > So I guess ONLY FOR ARCHS didn't help here?
>
> That's right. make dump-vars output is used even if the port is
> disabled, so a broken RUN_DEPENDS matters. Maybe this port could
> use MODULES=gcc4?
>
> > would never have thought about needing it here.
> >
> >> On Oct 29, 2021, at 5:38 PM, Jeremie Courreges-Anglas <jca@cvs.openbsd.org> wrote:
> >>
> >> CVSROOT: /cvs
> >> Module name: ports
> >> Changes by: jca@cvs.openbsd.org 2021/10/29 15:37:58
> >>
> >> Modified files:
> >> lang/compcert : Makefile
> >>
> >> Log message:
> >> Unbreak sqlports on archs that don't have lang/gcc support (riscv64)
> >>
> >> Culprit found with help from espie@
> >>
> >

The other thing we could do is just put
MODGCC4_VERSION ?= 8 in arch.defines.mk so that this specific case
doesn't break...

or possibly tweak compiler.port.mk so that a port with
COMPILER = ports-gcc
*will* get us the gcc module, even with everything disabled.

No comments:

Post a Comment