[lfs-support] binutiles make error in section 6.13

William Harrington berzerkula at cox.net
Tue Sep 25 13:48:49 PDT 2012


On Sep 25, 2012, at 06:33 AM, elham abbaszade wrote:

> Hi
> according this hint, I set below environmet variables after  
> chrooting and before installing any packages:
>
> export CFLAGS="-Os -fomit-frame-pointer -march=i686 -pipe" &&  
> CXXFLAGS=$CFLAGS
>
> export CC="gcc -s"
> export LDFLAGS="-s"
>
> gcc -s -DHAVE_CONFIG_H -I. -I../../binutils-2.22/binutils  -I. - 
> I../../binutils-2.22/binutils -I../bfd -I../../binutils-2.22/ 
> binutils/../bfd -I../../binutils-2.22/binutils/../include - 
> DLOCALEDIR="\"/usr/share/locale\"" - 
> Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict- 
> prototypes -Wmissing-prototypes -Wshadow -Werror -Os -fomit-frame- 
> pointer -march=i686 -pipe -MT stabs.o -MD -MP -MF .deps/stabs.Tpo - 
> c -o stabs.o ../../binutils-2.22/binutils/stabs.c
> ../../binutils-2.22/binutils/stabs.c: In function 'parse_stab_type':
> ../../binutils-2.22/binutils/stabs.c:2797:57: error: 'physname' may  
> be used uninitialized in this function [-Werror=maybe-uninitialized]
> ../../binutils-2.22/binutils/stabs.c:2596:16: note: 'physname' was  
> declared here
> cc1: all warnings being treated as errors
>

Look up -Werror at http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/ 
Warning-Options.html#Warning-Options

Sincerely,

William Harrington




More information about the lfs-support mailing list