[flashrom] flashrom build fails with gcc-4.6.0

Stephan Raue mailinglists at openelec.tv
Fri Apr 1 17:15:14 CEST 2011


Hi,

building flashrom fails when building with gcc-4.6.0:

/home/stephan/projects/openelec/build.OpenELEC-Generic.i386-devel/toolchain/bin/i686-openelec-linux-gnu-gcc 
-MMD -march=i686 -m32 -fomit-frame-pointer -Wall -pipe -O3 -ffast-math 
-ftree-loop-distribution -floop-interchange -floop-strip-mine 
-floop-block -fgraphite-identity -fexcess-precision=fast -flto -mmmx 
-msse -msse2 -mfpmath=sse -Werror  -D'CONFIG_INTERNAL=1' 
-D'CONFIG_SERPROG=1' -D'CONFIG_RAYER_SPI=1' -D'CONFIG_BITBANG_SPI=1' 
-D'CONFIG_NIC3COM=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1'  
-D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICREALTEK=1' 
-D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_OGP_SPI=1' 
-D'CONFIG_BUSPIRATE_SPI=1' -D'CONFIG_SATAMV=1' -D'NEED_PCI=1' 
-D'HAVE_UTSNAME=1' -D'FLASHROM_VERSION="0.9.3-runknown"' -o 
sst49lfxxxc.o -c sst49lfxxxc.c
/home/stephan/projects/openelec/build.OpenELEC-Generic.i386-devel/toolchain/bin/i686-openelec-linux-gnu-gcc 
-MMD -march=i686 -m32 -fomit-frame-pointer -Wall -pipe -O3 -ffast-math 
-ftree-loop-distribution -floop-interchange -floop-strip-mine 
-floop-block -fgraphite-identity -fexcess-precision=fast -flto -mmmx 
-msse -msse2 -mfpmath=sse -Werror  -D'CONFIG_INTERNAL=1' 
-D'CONFIG_SERPROG=1' -D'CONFIG_RAYER_SPI=1' -D'CONFIG_BITBANG_SPI=1' 
-D'CONFIG_NIC3COM=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1'  
-D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICREALTEK=1' 
-D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_OGP_SPI=1' 
-D'CONFIG_BUSPIRATE_SPI=1' -D'CONFIG_SATAMV=1' -D'NEED_PCI=1' 
-D'HAVE_UTSNAME=1' -D'FLASHROM_VERSION="0.9.3-runknown"' -o sst_fwhub.o 
-c sst_fwhub.c
sst49lfxxxc.c: In function 'erase_sector_49lfxxxc':
sst49lfxxxc.c:64:10: error: variable 'status' set but not used 
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make: *** [sst49lfxxxc.o] Error 1
make: *** Waiting for unfinished jobs....


thanks Stephan




More information about the flashrom mailing list