From nobody Mon Aug 14 22:35:02 2023 X-Original-To: haskell@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RPq3B3BQqz4mTmh for ; Mon, 14 Aug 2023 22:35:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RPq3B1NsPz4dMZ for ; Mon, 14 Aug 2023 22:35:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692052502; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4cgZQlSEDsD+Q2o9qj8Zx3LuQ4kx2h2DxFlQti7Twcw=; b=Ey0omDecNUZBvPN14J+sOuYLIz8TFbWvW0f4LMc1fNBSaSgziXua3YaT0114q7HUJxNOih wH8plIXeS1XYMoRt1KbcjSxJIDzHPkFLdTmo3x2GhfXvcVuhu8OelN4k4JQtTcN4OaDcM5 jM9vzLQ6Au3EulYBvSj7G3TUAyGRZ6M2+3LwJOSV8VxcrV3+gpP7T/AbpyfeZBm+RPumoZ IPWq6rWEmf6LlvG2ElWNGGVJfth1NgtHi74VWnIN5VWWglvZSufQ2VWfDdjbVtrSvuUkv7 LzvaZngCyJUUhXOva/ETjSp+4hAkZAUpLkeb+Y9KAY/F0JWtuSpJIxDMK1MGUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692052502; a=rsa-sha256; cv=none; b=ZNBdt7b7h3+r01eE1lnBJh1k7vu/H0/7a7MrHKLEgegM8twKyfzL1VvnTqMvFAjNI0yh3M hrxBAt7uCBCgwl2VwI8LbnRcgz9z4OwWs2cpa4jRLwAu1DjnWBQ8+P9CtTpSJp2bZCMjvX NH+rK2UhnFuaTjiAmfUOucL2R0iccewQ6c9vjYVQHo5p7pcTxujXp7LmthaMKIDWAUrk+f qkdXVFBMgBxZzH1S52pBQadWd23stJN7EfPIb5aIWuoXk7OGniyzHXxoPhvbuiGPzlSAvW 0zLOfARGQfuekxxrvCPo0U6PM1C/UUOCdCnqQcEl/H9Q+GEihO5IMIE1OLwlfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RPq3B0V0mzlyJ for ; Mon, 14 Aug 2023 22:35:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 37EMZ2Y6083454 for ; Mon, 14 Aug 2023 22:35:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37EMZ2gB083453 for haskell@FreeBSD.org; Mon, 14 Aug 2023 22:35:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 273091] lang/ghc 9.4.6 fails to build without the addition of iconv configure flags if gcc is found and used instead of default LLVM Date: Mon, 14 Aug 2023 22:35:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kreinholz@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273091 --- Comment #21 from Kevin Reinholz --- Adding the following lines to /usr/ports/lang/ghc/Makefile force it to sele= ct LLVM over GCC (when GCC is installed on the system), and avoid my reported error: CC=3Dclang CXX=3Dclang++ CPP=3Dclang-cpp I just sandwiched these additional options after line 32 between=20 SHEBANG_FILES=3D ${BOOT_SCRIPT} OPTIONS_DEFINE?=3D DYNAMIC GMP PROFILE DOCS I recognize this is still hacky, but it does prevent picking up gcc if it's installed, and allows ghc-9.4.6 to build successfully using base system LLV= M. --=20 You are receiving this mail because: You are the assignee for the bug.=