bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/6493] New: gold build failure with -Werror


From: doko at debian dot org
Subject: [Bug gold/6493] New: gold build failure with -Werror
Date: 8 May 2008 12:35:39 -0000

built with gcc from the 4.3 branch, binutils cvs 20080507

  Matthias

make[5]: Entering directory
`/scratch/packages/binutils/binutils-2.18.50.20080507/builddir-gold/gold'
if g++ -DHAVE_CONFIG_H -I. -I../../gold -I. -I../../gold -I../../gold/../include
-I../../gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\""
-DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/i486-linux-gnu/bin\""    -W -Wall 
 -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT expression.o -MD
-MP -MF ".deps/expression.Tpo" -c -o expression.o ../../gold/expression.cc; \
        then mv -f ".deps/expression.Tpo" ".deps/expression.Po"; else rm -f
".deps/expression.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I../../gold -I. -I../../gold -I../../gold/../include
-I../../gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\""
-DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/i486-linux-gnu/bin\""    -W -Wall 
 -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT gold.o -MD -MP
-MF ".deps/gold.Tpo" -c -o gold.o ../../gold/gold.cc; \
        then mv -f ".deps/gold.Tpo" ".deps/gold.Po"; else rm -f
".deps/gold.Tpo"; exit 1; fi
cc1plus: warnings being treated as errors
../../gold/gold.cc: In function 'void gold::gold_nomem()':
../../gold/gold.cc:63: error: ignoring return value of 'ssize_t write(int, const
void*, size_t)', declared with attribute warn_unused_result
../../gold/gold.cc:65: error: ignoring return value of 'ssize_t write(int, const
void*, size_t)', declared with attribute warn_unused_result
make[5]: *** [gold.o] Error 1
make[5]: Leaving directory
`/scratch/packages/binutils/binutils-2.18.50.20080507/builddir-gold/gold'
make[4]: *** [all-recursive] Error 1

-- 
           Summary: gold build failure with -Werror
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: doko at debian dot org
                CC: bug-binutils at gnu dot org


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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