This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [PATCH] Add SHF_COMPRESSED support to gas and objcopy


On Wed, Apr 8, 2015 at 8:54 AM, Steve Ellcey <sellcey@imgtec.com> wrote:
> On Wed, 2015-04-08 at 07:56 -0700, H.J. Lu wrote:
>
>>
>> Done.  This is what I checked in.
>>
>> Thanks.
>>
>>
>
> I think this patch broke the bfd build (depending on what GCC you use to compile).
>
> /scratch/sellcey/repos/sim-bug/src/binutils/bfd/compress.c: In function 'bfd_init_section_compress_status':
> /scratch/sellcey/repos/sim-bug/src/binutils/bfd/compress.c:154:12: error: 'zlib_size' may be used uninitialized in this function [-Werror=uninitialized]
> /scratch/sellcey/repos/sim-bug/src/binutils/bfd/compress.c:82:7: note: 'zlib_size' was declared here
> cc1: all warnings being treated as errors
> make[3]: *** [compress.lo] Error 1
>

Which GCC are you using?

-- 
H.J.


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