[tbb-dev] problem with ESR31 TB build (binutils/gold)

Mark Smith mcs at pearlcrescent.com
Fri Oct 3 19:38:26 UTC 2014


I am trying to build an ESR31-based Tor Browser bundle via gitian.  The 
error below occurs while building the gold linker.  Has anyone else seen 
this?

I am building on an Ubuntu 14.04 LTS system using KVM.

-Mark


g++ -DHAVE_CONFIG_H -I.  -I. -I./../include -I./../elfcpp 
-DLOCALEDIR="\"/home/ubuntu/install/binutils/share/locale\"" 
-DBINDIR="\"/home/ubuntu/install/binutils/bin\"" 
-DTOOLBINDIR="\"/home/ubuntu/install/binutils/i686-pc-linux-gnu/bin\"" 
-DTOOLLIBDIR="\"/home/ubuntu/install/binutils/i686-pc-linux-gnu/lib\"" 
  -W -Wall    -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-frandom-seed=archive.o -g -O2 -MT archive.o -MD -MP -MF 
.deps/archive.Tpo -c -o archive.o archive.cc
In file included from /usr/include/c++/4.6/ext/hash_map:61:0,
                  from system.h:92,
                  from gold.h:35,
                  from archive.cc:24:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: error: #warning 
This file includes at least one deprecated or antiquated header which 
may be removed without further notice at a future date. Please use a 
non-deprecated interface with equivalent functionality instead. For a 
listing of replacement headers and interfaces, consult the file 
backward_warning.h. To disable this warning use -Wno-deprecated. 
[-Werror=cpp]
cc1plus: all warnings being treated as errors
make[2]: *** [archive.o] Error 1
make[2]: Leaving directory `/home/ubuntu/build/binutils-2.24/gold'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/build/binutils-2.24/gold'
make: *** [all] Error 2


More information about the tbb-dev mailing list