[flang-commits] [clang] [flang] [llvm] [clang] Switch to Default PIE on FreeBSD (PR #206139)
via flang-commits
flang-commits at lists.llvm.org
Thu Jul 16 02:50:39 PDT 2026
aokblast wrote:
> > > > > I thought FreeBSD only defaulted to PIE for 64-bit? And only for 13.1+.
> > > >
> > > >
> > > > Yes, for 13.1+. I can extend the commit msg.
> > >
> > >
> > > But there's no version check?
> >
> >
> > Do you mean pic is unable to run before 13.1+? Or it just doesn't compile in our base by default? I think we only need the version check in the first case?
>
> The latter, but I think the toolchain's defaults should match base's.
Ok. FreeBSD::isPIEDefault() is now with version checking.
https://github.com/llvm/llvm-project/pull/206139
More information about the flang-commits
mailing list