From nobody Fri Jun 23 10:43:21 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 4QnYk15tTlz4gkhF for ; Fri, 23 Jun 2023 10:43:21 +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 4QnYk14nXsz3mYW for ; Fri, 23 Jun 2023 10:43:21 +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=1687517001; 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=cLg5BHu9eEbwg4sQ7MIZzoW5mY7rD6GJV8/jGLK3om4=; b=AGfun0lb3L4eME9UhyvTbQwQptnwYKWXi0WYgSUuUDYvSsfZWOzfA1K9GNdwHQwVY1PUpr 4p1j6XmUbwyODqIZ92fbX7/7wJfFsKUnHwaq/9Du/qjfnWrzwn+NSD+pDX2Evrtm8s2tHZ 8D6fwqmGyqEKxNPJxzyoQDTXXhf26yWvYd5Zr5+PaqK9fw6BH0GshtSaS3ngQ55nZT0cp9 YkIYeDOpEZvXg5LK4/dR9WGsyPMeCCNQQ6qTn1robtkC+v/j2KUqt8NuuJcSpBDwpYlwo3 FKFqGFni/YF8U3ygiUyB3SborY8quXqqo7sRja757sPsR7obgurp0h/1XYImKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687517001; a=rsa-sha256; cv=none; b=wPYP1R4kyI9s5QJ+bX0+IYk0CJJ5R6x7h526qB/F+mKh8EE+Fkd4XcizcSQCQnWbmw9nzl jO/SkqkGLO/M87uHypJAeMcZdnGEgsOcPSQGHpnCKttK/W30GUJuhRhgOD3hJ6MWB+/pU3 vUgJXxTTI6QqkozR+kTn+hOuM9k+AG3a+nwOnTlhW0708sChvDk6yc2AOfkGeWkRvZZICg 3LqTHWKJkT7Ot+Z3dhmkE9h3e25ZMpjSMy7AQSN7daEkKaIiEg7A2LlTk9vlYchNwFpGxm 5Sm02RuYBlsCTYdFp2HZdGQwlgge3sQyPltTBIpGaRau8WSOtUtDnpMmCkUxxg== 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 4QnYk13sYJz11R1 for ; Fri, 23 Jun 2023 10:43:21 +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 35NAhLLq010651 for ; Fri, 23 Jun 2023 10:43:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35NAhLs0010650 for haskell@FreeBSD.org; Fri, 23 Jun 2023 10:43:21 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 271928] lang/ghc: 'make configure' fails with bad --target argument if lang/gcc is installed. Date: Fri, 23 Jun 2023 10:43:21 +0000 X-Bugzilla-Reason: CC 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 Some People X-Bugzilla-Who: evenson.not.org@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271928 --- Comment #6 from Mark Evenson --- I had to patch the `pre-install` target's configure with the CXX compiler in order to get this build, otherwise I ran into problems finding libstdc++, otherwise: [=E2=80=A6] configure:7672: $CC is not gcc; assuming it's a reasonably new C compiler= =20=20=20=20=20=20=20 configure:7678: checking whether CC supports -no-pie=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 configure:7688: result: no=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 configure:7694: checking for extra options to pass gcc when compiling via C= =20=20=20=20=20 configure:7708: result:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 configure:7716: checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS= and CPPFLAGS=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 configure:7810: result: done=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 configure:7815: checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0=20=20=20=20 configure:7909: result: done=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 configure:7914: checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1=20=20=20=20 configure:8008: result: done=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 configure:8014: checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2=20=20=20=20 configure:8108: result: done=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 configure:8220: checking C++ standard library flavour=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 configure:8233: result: libstdc++=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 configure:2: checking for linkage against 'stdc++'=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 configure:15: result: failed=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 configure:2: checking for linkage against 'stdc++ supc++'=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 configure:15: result: failed=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 configure:8279: error: Failed to find C++ standard library=20=20 [=E2=80=A6] --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=