This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [review v3] slotinfo in struct dtv_slotinfo_list should be flexible array [BZ #25...
* 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.