From nobody Sun May 22 19:19:11 2022 X-Original-To: office@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 F37A11B40BD4 for ; Sun, 22 May 2022 19:19:11 +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 4L5qyR2dT5z3LdV for ; Sun, 22 May 2022 19:19:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 1E87320C38 for ; Sun, 22 May 2022 19:19:11 +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 24MJJBo7051161 for ; Sun, 22 May 2022 19:19:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24MJJB3s051160 for office@FreeBSD.org; Sun, 22 May 2022 19:19:11 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: office@FreeBSD.org Subject: [Bug 263976] editors/libreoffice: Fails to build using llvm/clang14 on recent src main Date: Sun, 22 May 2022 19:19:11 +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: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc 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: Office applications on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-office List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-office@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653247151; 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=owzuiMCYmHSUc1mGUmbh9YCQ296p9O2N7ABLT7z8gDk=; b=GpjSjwH6Z4G6OQfHURynz8wB4CI39il6Lz1yaad+h6rOQvG1cfA64WPKnZy0fSkXNtf/ZN abPC06NNFwLTzFPwV+ne6vHDyBUDvTXVdERjmLYGri0P6YB2Ux4TZAyz+xDmaXcP/lz71u vn7V+ePoILfMjg2PuzXoBpiOBaxxy0+uDVa6BSqFBZh9tI8hJVCbotwIzey1KyWM01lfd3 LhQHaim4wxo+xYlfHli1hq8GLEvFQP+KG7i7jPw/Rb3MlqXWP4honE9y+Re9TRFReOl7EW vglQv6HqODwmQhmRZP+DoaOBy2gYttFDPtv+p1749lnbwhubDa/UfP/BpvyFLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653247151; a=rsa-sha256; cv=none; b=RITV6qD8QopW7zL/9h5BvBZw7ZcjKB93b6SHOr/rRvx4YqdTGjMgTKXVDOmhIbEBJ3S7ZH OEqBDRRE7O/EwByd0SDFdHLe23+fss8IpRvWsiwH4KOuTaTegTUbkGkiwagoDtiPYFlMXY hk7UL8BuB2z/faSq16WzwCknFpaih9PM92IobldqNqKXPjWKMJjR/pc6NmIEaVTHnFbfKP T1sO/3Xc0iFOhiKlq23hL61cbZHFHhWbEs72WtgXG69iAZpQF4HlPy+S1gkLYlwingPiqm R9NhlPtlyf8Lfh/xQeF/SKeRlJfZ68Fg9XXLngSSCegIk9JkocRb80PebezeGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263976 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fluffy@FreeBSD.org --- Comment #8 from Mark Millard --- (In reply to Tomoaki AOKI from comment #7) Your use of: OPTIONS_FILE_SET+=3DLTO causes: .if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} =3D=3D clang CPP=3D ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} CC=3D ${LOCALBASE}/bin/clang${LLVM_DEFAULT} CXX=3D ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} BUILD_DEPENDS+=3D ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DE= FAULT} LLD_UNSAFE=3D yes .endif to be used. But if you do not use LTO that code is not used and the system toolchain is used. Going back to the use of LTO case to provide more description of it . . . LTO use in turn causes use of ${LLVM_DEFAULT} in the places shown above. It no longer uses the system toolchain but instead uses devel/llvm${LLVM_DEFAULT} . If you leave LLVM_DEFAULT at its default you get devel/llvm90 as the toolchain. If you assign a different default, you get what you assign, such as when you assigned 13 and got devel/llvm13 . If you want devel/llvm14 to be used, one way is to use: if ${.CURDIR:M/usr/ports/editors/libreoffice} DEFAULT_VERSIONS+=3D llvm=3D14 .endif in your /etc/make.conf file. If you do this, it seems unlikely that you would get the same failure that you get with devel/llvm90 in use. If it is really different, that would make the subject line for this bugzilla report incorrect/misleading. --=20 You are receiving this mail because: You are the assignee for the bug.=