This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] fix #19444 - build failures with -O1 due to -Wmaybe-uninitialized
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, Joseph Myers <joseph at codesourcery dot com>
- Cc: Martin Sebor <msebor at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 13 Jan 2016 13:14:49 -0500
- Subject: Re: [PATCH] fix #19444 - build failures with -O1 due to -Wmaybe-uninitialized
- Authentication-results: sourceware.org; auth=none
- References: <56968319 dot 3070802 at gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1601131740310 dot 17296 at digraph dot polyomino dot org dot uk> <CAMe9rOpBfq9q2X3+7GKe4APKuR6zPnzxDqsv86_aLAw+uN+vhg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1601131756510 dot 17296 at digraph dot polyomino dot org dot uk> <CAMe9rOoHDQCOjs9HT-6fo5ayrLd-4d7VuyZa9xJMJkza9kE5Jg at mail dot gmail dot com>
On 01/13/2016 01:11 PM, H.J. Lu wrote:
> On Wed, Jan 13, 2016 at 9:58 AM, Joseph Myers <joseph@codesourcery.com> wrote:
>> On Wed, 13 Jan 2016, H.J. Lu wrote:
>>
>>> On Wed, Jan 13, 2016 at 9:46 AM, Joseph Myers
>>>> (I agree that -O1 and -Os builds ought to work without any extra build or
>>>> test failures, and preferably -O0 should work except for the specific
>>>> files requiring optimization.)
>>>
>>> I opened an -Os bug:
>>>
>>> https://sourceware.org/bugzilla/show_bug.cgi?id=15105
>>
>> It would be good to have an updated list of issues seen. I'd expect most
>> such issues to be easy to fix (adding missing *_hidden_* for functions
>> where PLT avoidance currently relies on inlining, for example).
>
> This is a regression:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=19462
>
I'm still setting up VMs locally to do this kind of testing, CI builds
with -O1, -O0, and -Os. So hopefully we'll cover common configurations
this way on x86_64.
Cheers,
Carlos.