From nobody Sun Feb 05 02:56:59 2023 X-Original-To: dev-commits-ports-all@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 4P8Yvb5lqgz3klZ1; Sun, 5 Feb 2023 02:56:59 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P8Yvb5BFrz4GFk; Sun, 5 Feb 2023 02:56:59 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675565819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Y/wA2oSqbOr6Tk/l26DF0QxIu5SFBFUkXQTNufF7L3c=; b=UJZft9+WKq/QvX8ai9tV69eaCIAOVk1w5nbSKw6V9HISDC3CNBaZKkk0y3wtK1pdXmkPY+ 5Su6sTfgI3IgQFrMpdtOzzTqIGM8h9avUrdjObKBl9cpXC2W5lzz9NN5txjB42saN2iE84 QeZ93RlMfKo5EnY/pPUmB9qS37cYDZINlz060tm9c7G9ph6E+n7HVRASMrf1RhWzfY0J3y EzUGIgHdQ/8kCVAC8Nm4esD6aR87qhdSzkTEFtQ3vUR9x7fO6ltxFmgBXvZSxVVV3Kp9t2 syTJitDXXnOu2UuIJgEmogCkqkRxQtKc2yA8q04Mwvnrx9esS3jRA82iyNj4fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675565819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Y/wA2oSqbOr6Tk/l26DF0QxIu5SFBFUkXQTNufF7L3c=; b=wK3SZDn+33Z24conk82L47QGwb1nVSuXKfni2inoUn27S5A1W5pTDINFTQPtgxStiJnLCX 2NNKZyaZ29gQX/vBBrEU1JE9fHqEO/Bmm1iBJ5KayUG/cgPpkt7VfOZvI5C6GB1umxMqIK MTbt/pa6s3YoeZokTZhK+R6OTTgcNa44VFlu1hxD7jOWIr7PuYmWaVNEJAheDl3i/bUl87 M2WJMN/8Z4LSWFiRz1MWXXbTGc2rct5hyYuGTrmtUSoQHLLDY7GuvrE+C4w/YsV+BBW/uN RFGGmLnyDVWGzRoH9D52lSTkDhCo9jN3+N9Pcvf49cCUTHDjupd8HDkBaDHgdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675565819; a=rsa-sha256; cv=none; b=s2lo0GNmuftNPLj/GkVErRLsg0YhGovDPcB8qVxar+IoJX0qpcnSUh4qQSUv6yu+VRDe// t5PYsfp178Yw52+7SwIL6K9k9cfrOIY+nzu56Eo0ZeZ8rEaTxi2HvfutbGrIWnHwEg4bBc WTNp/fFdlXKv0CkUQNBj6LjJ/B6acl8rgnj/OO9zvlPY6GFn1MSocJdJoWX45e4gBiu1hA k4qgEWMj6ZKZyp9OsYyNeqLcnTiJoI1yUWaInTi2E6JcoNldoK6ncimNiv5nq6CCteRsvC qqkedBs9miQ7+VWjboWcs1ClC+B5hUwlxq1zB71vUYRDmPkr2LbN40+bgWLPpQ== Received: by freefall.freebsd.org (Postfix, from userid 1033) id 90E0E140DD; Sun, 5 Feb 2023 02:56:59 +0000 (UTC) Date: Sun, 5 Feb 2023 02:56:59 +0000 From: Alexey Dokuchaev To: Jan Beich Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 84ba2383e7be - main - games/openenroth: unbreak the port's build in pre-C++20 environments Message-ID: References: <202302041511.314FBD0R014553@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ThisMailContainsUnwantedMimeParts: N On Sat, Feb 04, 2023 at 04:17:06PM +0100, Jan Beich wrote: > Alexey Dokuchaev writes: > ... > > +.if !exists(/usr/include/c++/v1/concepts) > > +BUILD_DEPENDS+= ${LOCALBASE}/include/boost/unordered_map.hpp:devel/boost-libs > > +USES+= llvm:13 > > +CXX= ${LLVM_PREFIX}/bin/clang++ > > Beware, setting CXX but not CC can break WITH_LTO. Compiler bitcode is > generally not compatible between different compiler versions/vendors. Interesting. At first I've started to spell out all variables (CC, CPP, CXX) but then decided to test how stable C ABI is. :-) I don't know about LTO, but failure to link C code generated by different compilers looks more like the bug in the compilers, no? ./danfe