This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Testing build failure with latest GCC


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]