Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2023 16:16:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        haskell@FreeBSD.org
Subject:   [Bug 271928] lang/ghc: 'make configure' fails with bad --target argument if lang/gcc is installed.
Message-ID:  <bug-271928-16154-d6bn1CLCvU@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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271928

John Hein <jcfyecrayz@liamekaens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jcfyecrayz@liamekaens.com
 Attachment #242878|                            |maintainer-approval?(haskel
              Flags|                            |l@FreeBSD.org)

--- 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).

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



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