GNU bug report logs - #54915
[PATCH] Guile rejects empty vendor in GNU triplets, as used by NetBSD

Previous Next

Package: guile;

Reported by: Taylor R Campbell <campbell+guile <at> mumble.net>

Date: Wed, 13 Apr 2022 15:31:03 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 54915-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Taylor R Campbell <campbell+guile <at> mumble.net>
Cc: 54915-done <at> debbugs.gnu.org
Subject: Re: bug#54915: [PATCH] Guile rejects empty vendor in GNU triplets,
 as used by NetBSD
Date: Thu, 16 Jun 2022 09:43:12 +0200
Hi,

Taylor R Campbell <campbell+guile <at> mumble.net> skribis:

>>From 12440a85559c3de5e6bced9c9377f3d5d7f5948e Mon Sep 17 00:00:00 2001
> From: Taylor R Campbell <campbell+guile <at> mumble.net>
> Date: Wed, 13 Apr 2022 09:51:08 +0000
> Subject: [PATCH] Allow empty vendor string in GNU target triplets.
>
> NetBSD and pkgsrc have been using an empty vendor string since the
> mid-'90s, such as x86_64--netbsd.  pkgsrc has been carrying around a
> workaround just the guile build for a long time.  (Before that,
> NetBSD omitted the vendor altogether, so if x86_64 existed then it
> might have been `x86_64-netbsd', but that caused more problems.)
> This change makes Guile accept an empty vendor string so workarounds
> are no longer necessary.
>
> * module/system/base/target.scm (validate-target): Allow empty vendor
> string in GNU target triplets.

I added tests in cross-compilation.test and committed.

Thanks!

Ludo’.




This bug report was last modified 3 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.