From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5231 invoked by alias); 25 Oct 2009 18:48:27 -0000 Received: (qmail 5223 invoked by uid 22791); 25 Oct 2009 18:48:26 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,SARE_MSGID_LONG40,SPF_PASS,WEIRD_PORT X-Spam-Check-By: sourceware.org Received: from mail-vw0-f178.google.com (HELO mail-vw0-f178.google.com) (209.85.212.178) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 25 Oct 2009 18:48:22 +0000 Received: by vws8 with SMTP id 8so1282633vws.0 for ; Sun, 25 Oct 2009 11:48:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.88.220 with SMTP id b28mr8206551vcm.35.1256496500862; Sun, 25 Oct 2009 11:48:20 -0700 (PDT) In-Reply-To: <4AE49C02.5000203@moene.org> References: <4AE4423B.3050302@moene.org> <4AE49C02.5000203@moene.org> Date: Sun, 25 Oct 2009 22:56:00 -0000 Message-ID: <84fc9c000910251148g17db44dem2e5b52da7fcbeb69@mail.gmail.com> Subject: Re: Building gold from binutils-2.20 alongside gcc trunk errors out: From: Richard Guenther To: Toon Moene Cc: gcc mailing list Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg00512.txt.bz2 On Sun, Oct 25, 2009 at 7:42 PM, Toon Moene wrote: > Toon Moene wrote: >> >> As follows: >> >> g++ -DHAVE_CONFIG_H -I. -I../../gcc/gold =A0-I../../gcc/gold >> -I../../gcc/gold/../include -I../../gcc/gold/../elfcpp >> -DLOCALEDIR=3D"\"/usr/snp/share/locale\"" -DBINDIR=3D"\"/usr/snp/bin\"" >> -DTOOLBINDIR=3D"\"/usr/snp/x86_64-unknown-linux-gnu/bin\"" =A0 -W -Wall = -Werror >> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 >> -frandom-seed=3Dreduced_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 =91void gold::Plugin::load(= )=92: >> ../../gcc/gold/plugin.cc:195: error: =91LDPT_ADD_INPUT_LIBRARY=92 was not >> declared in this scope >> ../../gcc/gold/plugin.cc:196: error: =91union ld_plugin_tv::= =92 has >> no member named =91tv_add_input_library=92 >> 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-unknow= n-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-unknow= n-linux-gnu/bin/ld: > error: /scratch/hirlam/hl_home/EXP/lib/src/linuxgfortran/lib/port.a: > previous definition here I think that's PR41764. Richard.