Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2023 16:16:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        haskell@FreeBSD.org
Subject:   maintainer-approval requested: [Bug 271928] lang/ghc: 'make configure' fails with bad --target argument if lang/gcc is installed. : [Attachment 242878] [patch] explicitly use base cc (clang) - v0
Message-ID:  <bug-271928-16154-rz9nhzmpWI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271928-16154@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271928-16154@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
John Hein <jcfyecrayz@liamekaens.com> has asked freebsd-haskell (Nobody)
<haskell@FreeBSD.org> for maintainer-approval:
Bug 271928: lang/ghc: 'make configure' fails with bad --target argument if
lang/gcc is installed.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271928

Attachment 242878: [patch] explicitly use base cc (clang) - v0
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242878&action=3Dedit



--- Comment #3 from John Hein <jcfyecrayz@liamekaens.com> ---
Created attachment 242878
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242878&action=
=3Dedit
[patch] explicitly use base cc (clang) - v0

During pre-configure, explicitly specify base CC=3Dcc - cc is clang now in =
all
supported major versions of FreeBSD (even powerpc these days I think, but I
have not confirmed that).

This works around whatever bootstrap issue is going on with gcc (possibly
FreeBSD specific, but not known at this time).

With this patch, poudriere now builds lang/ghc if lang/gcc is installed (te=
sted
on 12-amd64/stable).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271928-16154-rz9nhzmpWI>