Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2023 21:17:07 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        sgk@troutmask.apl.washington.edu
Cc:        freebsd-ports@freebsd.org
Subject:   Re: lang/llvm15 -- Why is flang being built?
Message-ID:  <CALH631m=XPMsNAAkOUM446mEFLf7rRwTnkEPK8qSM0eTDOYX6Q@mail.gmail.com>
In-Reply-To: <Y9f3QaK%2BQ/O6KlAi@troutmask.apl.washington.edu>
References:  <Y9f3QaK%2BQ/O6KlAi@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 30, 2023 at 7:59 PM Steve Kargl
<sgk@troutmask.apl.washington.edu> 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.
>
> --
> Steve
>

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631m=XPMsNAAkOUM446mEFLf7rRwTnkEPK8qSM0eTDOYX6Q>