From nobody Mon Jan 30 18:44:50 2023 X-Original-To: freebsd-ports@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 4P5HD42fNjz3cCty for ; Mon, 30 Jan 2023 18:44:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (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 (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P5HD36r11z3PpD; Mon, 30 Jan 2023 18:44:51 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Authentication-Results: mx1.freebsd.org; none Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.16.1/8.16.1) with ESMTPS id 30UIioNd088784 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 30 Jan 2023 10:44:50 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.16.1/8.16.1/Submit) id 30UIiolq088783; Mon, 30 Jan 2023 10:44:50 -0800 (PST) (envelope-from sgk) Date: Mon, 30 Jan 2023 10:44:50 -0800 From: Steve Kargl To: Gleb Popov Cc: freebsd-ports@freebsd.org Subject: Re: lang/llvm15 -- Why is flang being built? Message-ID: Reply-To: sgk@troutmask.apl.washington.edu References: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4P5HD36r11z3PpD X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Mon, Jan 30, 2023 at 09:17:07PM +0300, Gleb Popov wrote: > On Mon, Jan 30, 2023 at 7:59 PM Steve Kargl > wrote: > > > > Why does the lang/llvm15 port default to building flang > > (ie., the Fortran compiler)? > > > > % flang15 -o z a.f90 > > error: /usr/ports/devel/llvm15/work/llvm-project-15.0.7.src/flang/lib/Optimizer/CodeGen/Target.cpp:312: not yet implemented: target not implemented > > % flang-new15 -o z a.f90 > > error: /usr/ports/devel/llvm15/work/llvm-project-15.0.7.src/flang/lib/Optimizer/CodeGen/Target.cpp:312: not yet implemented: target not implemented > > > > Inspection of Target.cpp shows that the word "FreeBSD" > > does not appear anywhere. > > > > This was fixed shortly after the release, but Flang itself still isn't > capable of producing working executables. It should probably be turned > off for now. Thanks for confirming that I wasn't missing something obvious. -- Steve