This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building gold from binutils-2.20 alongside gcc trunk errors out:


Toon Moene wrote:
As follows:

g++ -DHAVE_CONFIG_H -I. -I../../gcc/gold -I../../gcc/gold -I../../gcc/gold/../include -I../../gcc/gold/../elfcpp -DLOCALEDIR="\"/usr/snp/share/locale\"" -DBINDIR="\"/usr/snp/bin\"" -DTOOLBINDIR="\"/usr/snp/x86_64-unknown-linux-gnu/bin\"" -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=reduced_debug_output.o -g -fkeep-inline-functions -MT reduced_debug_output.o -MD -MP -MF .deps/reduced_debug_output.Tpo -c -o reduced_debug_output.o ../../gcc/gold/reduced_debug_output.cc
../../gcc/gold/plugin.cc: In member function ‘void gold::Plugin::load()’:
../../gcc/gold/plugin.cc:195: error: ‘LDPT_ADD_INPUT_LIBRARY’ was not declared in this scope
../../gcc/gold/plugin.cc:196: error: ‘union ld_plugin_tv::<anonymous>’ has no member named ‘tv_add_input_library’
make[5]: *** [plugin.o] Error 1

Fixed that by downloading a version 2.20.51 dated 24th of October.


Unfortunately, while it builds without a hitch, it apparently cannot cope with Fortran COMMON blocks:

/usr/snp/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/bin/ld: error: /scratch/hirlam/hl_home/EXP/lib/src/linuxgfortran/lib/port.a: multiple definition of casihl_
/usr/snp/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/bin/ld: error: /scratch/hirlam/hl_home/EXP/lib/src/linuxgfortran/lib/port.a: previous definition here


....

--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]