From: Steve Ellcey <sellcey@cavium.com>
To: Florian Weimer <fweimer@gapps.redhat.com>
Cc: libc-alpha <libc-alpha@sourceware.org>
Subject: Re: Testing build failure with latest GCC
Date: Thu, 25 May 2017 17:14:00 -0000 [thread overview]
Message-ID: <1495732477.18342.20.camel@cavium.com> (raw)
In-Reply-To: <CAO3sB51iTc+MQNEHdLtrcxVXsr+0hYq1VWJzg8xVYesaoaoJRw@mail.gmail.com>
On Thu, 2017-05-25 at 18:56 +0200, Florian Weimer wrote:
>
> The f* stream functions are special. You can check for errors using
> the return value, or using ferror. Therefore, the attribute might not
> be correct.
>
> Considering how difficult is to bypass warn-used attribute (a cast to
> void is not enough), I wonder if we should drop the attribute.
>
> Thanks,
> Florian
I think this is a bug in my scripts. Â I thought I was compiling with
the top-of-tree GCC but it looks like I was actually compiling with GCC
5.4 when building the tests (bad path). Â The actual library however was
compiled with ToT GCC and I think that mixing of building the library
with ToT GCC and the tests with GCC 5.4 is causing the problem.
I think we can just call this a user error.
Steve Ellcey
sellcey@cavium.com
prev parent reply other threads:[~2017-05-25 17:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-25 16:50 Steve Ellcey
2017-05-25 16:56 ` Florian Weimer
2017-05-25 17:05 ` Steve Ellcey
2017-05-29 14:27 ` Cyril Hrubis
2017-05-25 17:14 ` Steve Ellcey [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1495732477.18342.20.camel@cavium.com \
--to=sellcey@cavium.com \
--cc=fweimer@gapps.redhat.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).