[review v3] slotinfo in struct dtv_slotinfo_list should be flexible array [BZ #25...

Florian Weimer fw@deneb.enyo.de
Wed Nov 13 16:25:00 GMT 2019


* Sandra Loosemore:

> On 11/12/19 10:47 PM, Florian Weimer wrote:
>> * Sandra Loosemore:
>> 
>>> OK, having a self-contained test case is very helpful.  I'll take a look
>>> at fixing this in GCC, although I might not get to it for a few days.
>>> Probably the solution is to not use GP-relative addressing for any
>>> object declared with a flexible array member.
>> 
>> Thanks for looking into this.  Should I file a GCC PR?
>
> Yes, please.  That will make it easier to track on the GCC side.

It's PR 92499.  I'm going to post a glibc patch with the workaround
based on the compiler option.



More information about the Libc-alpha mailing list