|
From: | hjl.tools at gmail dot com |
Subject: | [Bug gold/19751] New: Gold failed to build with GCC 6 |
Date: | Tue, 01 Mar 2016 16:49:15 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19751 Bug ID: 19751 Summary: Gold failed to build with GCC 6 Product: binutils Version: 2.27 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com Target Milestone: --- /export/build/gnu/gcc-x32/release/usr/gcc-6.0.0-x32/bin/g++ -DHAVE_CONFIG_H -I. -I/export/gnu/import/git/sources/binutils-gdb/gold -I/export/gnu/import/git/sources/binutils-gdb/gold -I/export/gnu/import/git/sources/binutils-gdb/gold/../include -I/export/gnu/import/git/sources/binutils-gdb/gold/../elfcpp -DLOCALEDIR="\"/usr/local/share/locale\"" -DBINDIR="\"/usr/local/bin\"" -DTOOLBINDIR="\"/usr/local/x86_64-pc-linux-gnu/bin\"" -DTOOLLIBDIR="\"/usr/local/x86_64-pc-linux-gnu/lib\"" -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=dirsearch.o -I/export/gnu/import/git/sources/binutils-gdb/gold/../zlib -g -O2 -MT dirsearch.o -MD -MP -MF .deps/dirsearch.Tpo -c -o dirsearch.o /export/gnu/import/git/sources/binutils-gdb/gold/dirsearch.cc /export/gnu/import/git/sources/binutils-gdb/gold/dirsearch.cc:125:1: error: ‘{anonymous}::Dir_caches::~Dir_caches()’ defined but not used [-Werror=unused-function] Dir_caches::~Dir_caches() ^~~~~~~~~~ cc1plus: all warnings being treated as errors Makefile:853: recipe for target 'dirsearch.o' failed make: *** [dirsearch.o] Error 1 /export/build/gnu/gcc-x32/release/usr/gcc-6.0.0-x32/bin/g++ -DHAVE_CONFIG_H -I. -I/export/gnu/import/git/sources/binutils-gdb/gold -I/export/gnu/import/git/sources/binutils-gdb/gold -I/export/gnu/import/git/sources/binutils-gdb/gold/../include -I/export/gnu/import/git/sources/binutils-gdb/gold/../elfcpp -DLOCALEDIR="\"/usr/local/share/locale\"" -DBINDIR="\"/usr/local/bin\"" -DTOOLBINDIR="\"/usr/local/x86_64-pc-linux-gnu/bin\"" -DTOOLLIBDIR="\"/usr/local/x86_64-pc-linux-gnu/lib\"" -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=arm.o -I/export/gnu/import/git/sources/binutils-gdb/gold/../zlib -g -O2 -MT arm.o -MD -MP -MF .deps/arm.Tpo -c -o arm.o /export/gnu/import/git/sources/binutils-gdb/gold/arm.cc /export/gnu/import/git/sources/binutils-gdb/gold/arm.cc:4527:1: error: ‘std::__cxx11::string {anonymous}::Reloc_stub::Key::name() const’ defined but not used [-Werror=unused-function] Reloc_stub::Key::name() const ^~~~~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |