[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55833: cross-base error: wrong type argument in position 1
From: |
Josselin Poiret |
Subject: |
bug#55833: cross-base error: wrong type argument in position 1 |
Date: |
Wed, 08 Jun 2022 12:35:41 +0200 |
Hello Maxime and Ekaitz,
Maxime Devos <maximedevos@telenet.be> writes:
> Ekaitz Zarraga schreef op di 07-06-2022 om 15:43 [+0000]:
> Proposed solution:
>
> * rename platform-linux-architecture to
> '%platform-linux-architecture'
> and define a wrapper 'platform-linux-architecture' displaying
> a proper error message ‘unsupported target’ or such.
>
> and
>
> * use "riscv64-linux-gnu" instead of "riscv64-unknown-linux-gnu"
> (as expected by (guix platforms riscv)).
I don't think we should deviate from the usual behaviour of a procedure
returning #f it wasn't able to find the thing it was searching for.
Ideally, cross-libc should take a platform argument itself, so that we
can lookup the target earlier and throw an exception there instead.
WDYT?
Best,
--
Josselin Poiret