Re: [PATCH] elf: build the IFUNC resolver stack protector tests only with ssp

Matt Turner <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <CAEdQ38GR9D97c+O=GQe0BiR7xzFdxZzT07ZAcm9Z431Ra3o7TA@mail.gmail.com>
On Tue, Aug 11, 2026 at 8:18 AM Adhemerval Zanella Netto
<[email protected]> wrote:
>
>
>
> On 10/08/26 16:09, Matt Turner wrote:
> > The three resolver translation units are compiled with
> > -fstack-protector-all so that the canary code is emitted whatever the
> > default is.  A target whose compiler has no stack protector at all cannot
> > do that, and on alpha the build stopped:
> >
> >   cc1: error: '-fstack-protector' not supported for this target [-Werror]
>
> I think it is worth to mention that current alpha has not ifunc support
> (have-gcc-ifunc=no), and this comes from enabling ifunc support.

Indeed. FWIW, I have patches out on the binutils and gcc mailing lists
to add ifunc support to alpha. I'll send the glibc patch series
enabling multi-arch later today.

I also have WIP patches adding -fstack-protector to Alpha.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.