From nobody Tue May 17 22:36:54 2022 X-Original-To: dev-commits-ports-main@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 A7AF01B3BCD1 for ; Tue, 17 May 2022 22:37:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-24.consmr.mail.gq1.yahoo.com (sonic311-24.consmr.mail.gq1.yahoo.com [98.137.65.205]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4L2rbB5Gh2z4sGv for ; Tue, 17 May 2022 22:37:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652827022; bh=Kqqt0O53Ay+JEpjjG7hiwA4lZU51PHcQnu/yewA7RgE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=QxqShriATIL7LJ50ktL9RyrizCWGRjSwWTNRH86e3pfpMGsVSQM6nRSUmZeW1SSWQKL66rQFf7Nj5QGBeMe7N0f4dAvb9m34/lDI/9mq92f0F7B7zFESgP2ZGOZ+xAqolxutQkmAhy/D6HihzEHDD61mdZRhdHzRnX76illNIHA/RDK1GXKeM9j/8RgxTBIPqp3wTVPtJssx+6JxzJRPSIwY5czYpsIeC+ht4VkQ/xk+G/wXvrUqXHiCX6gQZLu4WgH2s7aR0XWi28rIhLmOFytNTkmFMQjJDHrlTQEefPIuFC+6h4Kd3HFqV4/XlVUfGDeEMbheWtJRLqPlo+wCEg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652827022; bh=jbw2M9vFAh/EePP6s99fiPQqhpPxTR57HOPC8bHnA8t=; h=X-Sonic-MF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f1BQuZLqGDuj3xNxx_kJisPG0e5Ml1JdDvsMR0e_iB5_qEFfe9dGn awbB3_4g48DahBW0kSXDIUeYr.ZCup_sIDGDReMQdf7SQf9NUZ_BkHoPPMLFABvBors8MVoAxHXP pSZ8AEb3K.BCyDSQ4J0vdstI9Bs0AMcXJv8YD2Arh6AGz1sHqrBO9EoUTw7WW.yv.K8wi_i3FFkV tXQrBWYR7kKPdN1xXQVCgkgf7l4JHY6F.fCtqPhn3M6vwtBqaEmoIqsJSZoichYX70V64qzGKUja j98Hqe7JFIvjI9t5uI9IW2cfrH_mJBH9w.2m27KpPAoCT2w0QOo63sBXRl870FzUOeduW4gWaL0s 4.F78HzzFiq.mAL0PY1qrme.ujtYEHjhCrUh0Y47PTFJXTYoJRLurYCyhv7gryJBXwhYuTFOMKNQ kMhYTLFdQM3f_ril_9P9zpE.kPaFBdc7Yu37paKLS4JCxDdagnv3R0UyKK4cAKeydAaGKbj_kJ7c dX2.TZw9rwqvNT.qr16Ysb826vgV3B8QSfwPL9noJSfUnaYs3riWeE9s5GyZBZaZwzJtL27j10GY rRWlbCCdmpJE0mbTk4qIreeBOTL3PkAD1bCfgqV9wVmbn.OKnqFe7nBXcomXOIomRgdAjUQA.qPl wsp6XpJuJI_USCkAWf1w- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Tue, 17 May 2022 22:37:02 +0000 Received: by hermes--canary-production-gq1-555f44848f-48d5h (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 841dd4316c85823d8719021f580f61f2; Tue, 17 May 2022 22:36:57 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: git: 70d8d9125c9f - main - devel/llvm-devel: New snapshot From: Mark Millard In-Reply-To: <20220517221917.GG15201@spindle.one-eyed-alien.net> Date: Tue, 17 May 2022 15:36:54 -0700 Cc: dev-commits-ports-main@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4A94850E-A700-4221-A694-2CF61AB79514@yahoo.com> References: <8FA3EDC0-CCD8-4EC5-87DB-5CE8CEF55067.ref@yahoo.com> <8FA3EDC0-CCD8-4EC5-87DB-5CE8CEF55067@yahoo.com> <20220517221917.GG15201@spindle.one-eyed-alien.net> To: Brooks Davis X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4L2rbB5Gh2z4sGv X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2022-May-17, at 15:19, Brooks Davis wrote: > On Tue, May 17, 2022 at 02:44:21PM -0700, Mark Millard wrote: >> Brooks Davis wrote on >> Date: Tue, 17 May 2022 20:24:35 GMT : >>=20 >>> The branch main has been updated by brooks: >>>=20 >>> URL: = https://cgit.FreeBSD.org/ports/commit/?id=3D70d8d9125c9f5b1da36b134408b3d5= 80a39f1aa8 >>>=20 >>> commit 70d8d9125c9f5b1da36b134408b3d580a39f1aa8 >>> Author: Brooks Davis >>> AuthorDate: 2022-05-17 20:23:26 +0000 >>> Commit: Brooks Davis >>> CommitDate: 2022-05-17 20:23:26 +0000 >>>=20 >>> devel/llvm-devel: New snapshot >>>=20 >>> Add support for COMPILER_RT on powerpc*. [0] >>>=20 >>> Don't enable MLIR by default. Instead, rely on FLANG's = dependency >>> on it to turn it on for architectures that support FLANG. This = removes >>> MLIR from default packages on 32-bit system. >>> . . . >>> -OPTIONS_DEFAULT+=3D EXTRAS FLANG LIT LLDB MLIR STATIC_LIBS >>> +OPTIONS_DEFAULT+=3D EXTRAS FLANG LIT LLDB STATIC_LIBS >>> . . . >>> OPTIONS_EXCLUDE_powerpc=3D FLANG >>>=20 >>=20 >> What of the armv7 and armv6 32-bit contexts? >=20 > *sigh* I didn't notice that llvm-devel doesn't exclude FLANG on = arm[67]. > I'll sync that with the other ports when I update llvm-devel next. For reference, as stands the attempted FLANG build on the FreeBSD build server for armv7 (via qemu) leads to devel/llvm-devel failing to build overall for armv7: FAILED: = tools/flang/runtime/CMakeFiles/obj.FortranRuntime.dir/transformational.cpp= .o=20 /nxb-bin/usr/bin/c++ -DFLANG_LITTLE_ENDIAN=3D1 -D_FILE_OFFSET_BITS=3D64 = -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS = -D__STDC_LIMIT_MACROS = -I/wrkdirs/usr/ports/devel/llvm-devel/work-default/.build/tools/flang/runt= ime = -I/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-2c2568f39e= c641aa8f1dcc011f2ce642c2d3423f/flang/runtime = -I/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-2c2568f39e= c641aa8f1dcc011f2ce642c2d3423f/flang/include = -I/wrkdirs/usr/ports/devel/llvm-devel/work-default/.build/tools/flang/incl= ude -I/wrkdirs/usr/ports/devel/llvm-devel/work-default/.build/include = -I/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-2c2568f39e= c641aa8f1dcc011f2ce642c2d3423f/llvm/include -isystem = /wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-2c2568f39ec6= 41aa8f1dcc011f2ce642c2d3423f/llvm/../mlir/include -isystem = /wrkdirs/usr/ports/devel/llvm-devel/work-default/.build/tools/mlir/include= -isystem = /wrkdirs/usr/ports/devel/llvm-devel/work-default/.build/tools/clang/includ= e -isystem = /wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-2c2568f39ec6= 41aa8f1dcc011f2ce642c2d3423f/llvm/../clang/include -O2 -pipe -DNDEBUG = -fstack-protector-strong -isystem /usr/local/include = -fno-strict-aliasing -DNDEBUG -isystem /usr/local/include -fPIC = -fvisibility-inlines-hidden -Werror=3Ddate-time = -Werror=3Dunguarded-availability-new -Wall -Wextra -Wno-unused-parameter = -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic = -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough = -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor = -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion = -Wmisleading-indentation -fdiagnostics-color -ffunction-sections = -fdata-sections -Wno-deprecated-copy -Wno-string-conversion = -Wno-unused-command-line-argument -Wstring-conversion = -Wcovered-switch-default -Wno-nested-anon-types -O2 -pipe -DNDEBUG = -fstack-protector-strong -isystem /usr/local/include = -fno-strict-aliasing -DNDEBUG -isystem /usr/local/include -std=3Dc++17 = -fno-exceptions -MD -MT = tools/flang/runtime/CMakeFiles/obj.FortranRuntime.dir/transformational.cpp= .o -MF = tools/flang/runtime/CMakeFiles/obj.FortranRuntime.dir/transformational.cpp= .o.d -o = tools/flang/runtime/CMakeFiles/obj.FortranRuntime.dir/transformational.cpp= .o -c = /wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-2c2568f39ec6= 41aa8f1dcc011f2ce642c2d3423f/flang/runtime/transformational.cpp = /wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-2c2568f39ec6= 41aa8f1dcc011f2ce642c2d3423f/flang/runtime/transformational.cpp:194:29: = error: non-constant-expression cannot be narrowed from type 'long long' = to 'Fortran::runtime::SubscriptValue' (aka 'int') in initializer list = [-Wc++11-narrowing] SubscriptValue sourceAt{lb + (j + shift) % extent}; ^~~~~~~~~~~~~~~~~~~~~~~~~ = /wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-2c2568f39ec6= 41aa8f1dcc011f2ce642c2d3423f/flang/runtime/transformational.cpp:194:29: = note: insert an explicit cast to silence this issue SubscriptValue sourceAt{lb + (j + shift) % extent}; ^~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) = /wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-2c2568f39ec6= 41aa8f1dcc011f2ce642c2d3423f/flang/runtime/transformational.cpp:305:29: = error: non-constant-expression cannot be narrowed from type 'long long' = to 'Fortran::runtime::SubscriptValue' (aka 'int') in initializer list = [-Wc++11-narrowing] SubscriptValue sourceAt{lb + j - 1 + shift}; ^~~~~~~~~~~~~~~~~~ = /wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-2c2568f39ec6= 41aa8f1dcc011f2ce642c2d3423f/flang/runtime/transformational.cpp:305:29: = note: insert an explicit cast to silence this issue SubscriptValue sourceAt{lb + j - 1 + shift}; ^~~~~~~~~~~~~~~~~~ static_cast( ) 2 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 >> Are other devel/llvm* examples to also eventually >> drop MLIR from being explicitly in the OPTIONS_DEFAULT >> lists in order to get a similar default behavior of >> tracking FLANG 's status? >=20 > That's my current plan, but I'll let this change settle a bit. I may > eventually extract them from the llvm ports if upstream improves > out of tree build support a bit more. We're in the current situation > because I want flang to be available as a package and building it by > default seems to be the most practical way to do that. Good to know. Thanks. =3D=3D=3D Mark Millard marklmi at yahoo.com