[PATCH] elf: build the IFUNC resolver stack protector tests only with ssp
Matt Turner
mattst88@gmail.com
Tue Aug 11 17:25:37 GMT 2026
On Tue, Aug 11, 2026 at 8:18 AM Adhemerval Zanella Netto
<adhemerval.zanella@linaro.org> 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.
More information about the Libc-alpha
mailing list