Re: git: 2f3a961487c9 - main - Add RELRO build knob, default to enabled

From: Ed Maste <emaste_at_freebsd.org>
Date: Fri, 24 Jun 2022 14:35:49 UTC
On Fri, 24 Jun 2022 at 09:27, Ed Maste <emaste@freebsd.org> wrote:
>
> On Fri, 24 Jun 2022 at 09:19, Ed Maste <emaste@freebsd.org> wrote:
> >
> > On Thu, 23 Jun 2022 at 21:23, John Baldwin <jhb@freebsd.org> wrote:
> > >
> > > This broke the cross-build on macOS (the GitHub jobs are failing on main now).
> > >
> > > Looks like macOS's linker doesn't like '-z relro'.
> >
> > Interesting. I see that the cross-build jobs install Clang and LLD on
> > Ubuntu, but only Clang (via brew install ...) on MacOS. Do you know
> > what linker is getting used in this case?
>
> Oh, this is the host linker, linking build tools. Let me see how we
> handle this elsewhere.

I have a fix for review in https://reviews.freebsd.org/D35589