bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/13292] Binutils uses "struct stat" instead of "#include <s


From: pgquiles at elpauer dot org
Subject: [Bug binutils/13292] Binutils uses "struct stat" instead of "#include <sys/stat.h>"
Date: Thu, 20 Oct 2011 10:06:32 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13292

--- Comment #2 from Pau Garcia i Quiles <pgquiles at elpauer dot org> 
2011-10-20 10:06:32 UTC ---
(In reply to comment #1)
> (In reply to comment #0)
> > Created attachment 5984 [details]
> > Fix
> > 
> > mingw-w64 recently implemented support for large files using
> > _FILE_OFFSET_BITS=64.
> > 
> > Binutils uses "struct stat" instead of "#include <sys/stat.h>", which makes 
> > it
> > fail to compile with mingw-w64 trunk.
> > 
> > The attached patch fixes the issue.
> 
> I think you shouldn't edit bfd/bfd-in2.h since it is auto generated.
> The bfd-in.h is the file you want to patch, I guess.

You are right. I'm attaching a new patch against bfd/bfd-in.h (which is
essentially the same).


> The patch doesn't seem to solve the problem for me.

What is the problem you are experiencing now? What compiler are you trying?


> Do you have the issue bfd/archive.c?

Sorry, I don't understand :-?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]