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]

error when building with LTO


Hello,

Without using LTO binutils is build successfully. But, when I add the
'-flto' flag in LDFLAGS I get the following error:

binutils-2.22.90/gas/write.c: In function 'chain_frchains_together':
binutils-2.22.90/gas/write.c:409:3: error: 'dummy.fr_type' may be used
uninitialized in this function [-Werror=uninitialized]
In file included from binutils-2.22.90/bfd/../include/coff/internal.h:541:0,
                 from :631:
binutils-2.22.90/gas/write.c:392:9: note: 'dummy' was declared here
lto1.exe: all warnings being treated as errors


how can I fix it?


-- 
Regards,
niXman
___________________________________________________
Dual-target(32 & 64 bit) MinGW compilers for 32 and 64 bit Windows:
http://sourceforge.net/projects/mingwbuilds/


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