bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/18764] New: arm.cc:4495: error: Reloc_stub::Key::name() const


From: dilyan.palauzov at aegee dot org
Subject: [Bug gold/18764] New: arm.cc:4495: error: Reloc_stub::Key::name() const defined but not used
Date: Mon, 03 Aug 2015 11:08:37 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18764

            Bug ID: 18764
           Summary: arm.cc:4495: error: Reloc_stub::Key::name() const
                    defined but not used
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: dilyan.palauzov at aegee dot org
                CC: ian at airs dot com
  Target Milestone: ---

Compiling gold with GCC 6.0 -Werror fails with:


armv6kz-hardfloat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I.
-I/git/binutils-gdb/gold  -I/git/binutils-gdb/gold
-I/git/binutils-gdb/gold/../include -I/git/binutils-gdb/gold/../elfcpp
-DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\""
-DTOOLBINDIR="\"/usr/armv6kz-hardfloat-linux-gnueabi/bin\""
-DTOOLLIBDIR="\"/usr/armv6kz-hardfloat-linux-gnueabi/lib\""   -W -Wall   
-Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=arm.o  -pipe
-O3 -flto -fno-fat-lto-objects -MT arm.o -MD -MP -MF .deps/arm.Tpo -c -o arm.o
/git/binutils-gdb/gold/arm.cc
/git/binutils-gdb/gold/arm.cc:4495:1: error: ‘std::__cxx11::string
{anonymous}::Reloc_stub::Key::name() const’ defined but not used
[-Werror=unused-function]
 Reloc_stub::Key::name() const
 ^
  cc1plus: all warnings being treated as errors
Makefile:851: recipe for target 'arm.o' failed
make: *** [arm.o] Error 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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