From nobody Mon Nov 15 19:35:30 2021 X-Original-To: arm@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 17CCD189BEB0 for ; Mon, 15 Nov 2021 19:35:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-55.consmr.mail.gq1.yahoo.com (sonic307-55.consmr.mail.gq1.yahoo.com [98.137.64.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HtKDD1dfBz4lYc for ; Mon, 15 Nov 2021 19:35:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637004938; bh=W4gFthozDO6PSjo0AW+gqAsC8sdi8ZAH8sKjCYiWZ0o=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ldYoifUOkXtIIoGJjxeDRam0QbiKltfjLh7y/qou3yUsB03uUhYBVnJzmkQqQTQsfZI+KInjNbb30yWrSBftr4HV9UMjjjU0XI6j5yXzlC2mQeDTHJrMAU1cYeJyjWTexNGh8DV+3U7kfI/WkUzC3b+cvztY2XxrQPnWxUFGqAaRqJFv+/aCfrwVgw8B5UfKuvGdkq2NfGYcgj+yx4HZ5maGeOmkyIMu4BatEetAuombrCNIBP2Qp8XTKmce4VW6Hyy/+jADfGi8dGgYFnn8zAV6R8MYsR4xxXy4oLhTa7h7yTRN1pBB3J7VsEfyDCTGy0z9qg1h0sXjwKOEsa9chg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637004938; bh=hTmbZwqv+gtE1wmSoGoXntG0nPzFlW8153rtnMZqPXJ=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=Koo5SNEcPr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gQBPBP.2.i_DmzL0kKIH_64in74AIch35ToDuRTa9bubcT3jSg0AzQWgveL53a fRiBwuI.fsal0NCGZmSGeJa_ESEDkZK8kdJvuz3OkSp6HFWOKzLOI2cwMj0N9OgonSMu4iLrkscV qtvX.DpkJ5g5NHk1tjJpBYd12lGMKf7LK0_pFER0On71D1I9w6tmMLrw6QcrQPRMm3Kf_x459Gvd 23thTk0.oDZXCegN3iHIxh95QrakqlAKhmLEurNJhhxo4TTHlYAA5j3.6Co8P9A57PuP_N8TRsLd 3tbgfXPh01jeHZR5WBhtlQe1quF2bRpuwrO37AQ2NMLVqk7jww2vUwsrDFkXu1m495wEsZZrog9Q yJ5RB5Bf_aBc5t_aAJFtG5sEnMEPjUO_nZvn.lD0MhB9oBhnS7.AqKzsUbMijKN2KOb56FM8LU6K MjMXlgc3conqOUAejMPcDjEHl6ungw_AuugmgsPbyMJrOxthN X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Mon, 15 Nov 2021 19:35:38 +0000 Received: by kubenode549.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 83fe48e92d87a725de8beeca5848aea2; Mon, 15 Nov 2021 19:35:31 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: armv7 targeting (on aarch64, via poudriere-devel): system's clang 13 rejected building devel/lllvm13 In-Reply-To: <91AD337B-6D40-4639-A43C-688699981167@FreeBSD.org> Date: Mon, 15 Nov 2021 11:35:30 -0800 Cc: "brooks@freebsd.org" , FreeBSD Toolchain , freebsd-current , freebsd-ports@freebsd.org, "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <3F3F1A2B-87E2-47CA-A9C6-BC65B71F1DE7@yahoo.com> References: <15A74B79-47CF-4743-A831-D7C0E9B1DD0E.ref@yahoo.com> <15A74B79-47CF-4743-A831-D7C0E9B1DD0E@yahoo.com> <91AD337B-6D40-4639-A43C-688699981167@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4HtKDD1dfBz4lYc X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-toolchain X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Nov-15, at 10:40, Dimitry Andric wrote: > On 15 Nov 2021, at 19:14, Mark Millard via arm = wrote: >>=20 >> There error was: >>=20 >> error: non-constant-expression cannot be narrowed from type 'long = long' to 'std::size_t' (aka 'unsi >> gned int') in initializer list [-Wc++11-narrowing] >> std::size_t resultBytes{size * elementBytes}; >> ^~~~~~~~~~~~~~~~~~~ >> = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.0.src/flang/runtime= /misc-intrinsic.cpp:50:27: note: insert an explicit cast to silence this = issue >> std::size_t resultBytes{size * elementBytes}; >> ^~~~~~~~~~~~~~~~~~~ >> static_cast( ) >=20 > The flang subproject does quite a lot of mixing of size_t and = uint64_t, assuming in various places that they are the same. You will = also encounter similar errors when attempting to build it for e.g. i386, = or other 32 bit architectures. I think it is quite a lot of work to get = all of these right, and it should really be discussed upstream. >=20 > So for now, I would advise to only turn on the flang option for amd64 = by default. flang was not being built: # more /usr/local/etc/poudriere.d/options/devel_llvm13/options=20 # This file is auto-generated by 'make config'. # Options for llvm13-13.0.0 _OPTIONS_READ=3Dllvm13-13.0.0 _FILE_COMPLETE_OPTIONS_LIST=3DBE_AMDGPU CLANG DOCS EXTRAS FLANG LIT LLD = LLDB MLIR OPENMP PYCLANG BE_FREEBSD BE_NATIVE BE_STANDARD OPTIONS_FILE_SET+=3DBE_AMDGPU OPTIONS_FILE_SET+=3DCLANG OPTIONS_FILE_SET+=3DDOCS OPTIONS_FILE_SET+=3DEXTRAS OPTIONS_FILE_UNSET+=3DFLANG OPTIONS_FILE_SET+=3DLIT OPTIONS_FILE_SET+=3DLLD OPTIONS_FILE_SET+=3DLLDB OPTIONS_FILE_SET+=3DMLIR OPTIONS_FILE_UNSET+=3DOPENMP OPTIONS_FILE_UNSET+=3DPYCLANG OPTIONS_FILE_UNSET+=3DBE_FREEBSD OPTIONS_FILE_SET+=3DBE_NATIVE OPTIONS_FILE_UNSET+=3DBE_STANDARD =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)