public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Toon Moene <toon@moene.org>
To: gcc mailing list <gcc@gcc.gnu.org>
Subject: Re: Building gold from binutils-2.20 alongside gcc trunk errors out:
Date: Sun, 25 Oct 2009 18:54:00 -0000	[thread overview]
Message-ID: <4AE49C02.5000203@moene.org> (raw)
In-Reply-To: <4AE4423B.3050302@moene.org>

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

  reply	other threads:[~2009-10-25 18:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-25 17:36 Toon Moene
2009-10-25 18:54 ` Toon Moene [this message]
2009-10-25 22:56   ` Richard Guenther
2009-10-26  2:01     ` Toon Moene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE49C02.5000203@moene.org \
    --to=toon@moene.org \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).