[Buildroot] [PATCH 1/1] package/gcc: ensure __register_frame is optimized out for glibc

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Nov 25 14:15:26 UTC 2022


On Fri, 25 Nov 2022 15:06:21 +0100
Arnout Vandecappelle <arnout at mind.be> wrote:

>   James previously already reported the problem to glibc:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=29621
> 
>   I picked up the thread in both issues, I was able to narrow the problem down a 
> little more, but in the end the conclusion seems to be "We can't support that on 
> the glibc side at present."
> 
>   So I applied this patch to master, after making two major changes:
> 
> - move it to host-gcc-initial only;
> - instead of putting the full condition in the .mk file, make a Config.in symbol 
> BR2_TOOLCHAIN_HAS_GCC_BUG_107728.
> 
>   ... And now I notice I forgot to put the changes I made in the commit message. 
> But it's pushed already.
> 
>   Anyway, applied to master, thanks!

Thanks for following up on this. I reviewed the change you pushed, and
it looks like the best trade-off. Thanks again!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list