From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7085 invoked by alias); 3 Sep 2009 14:54:19 -0000 Received: (qmail 7076 invoked by uid 22791); 3 Sep 2009 14:54:18 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_102,J_CHICKENPOX_22,J_CHICKENPOX_72,J_CHICKENPOX_82,J_CHICKENPOX_92,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Sep 2009 14:54:10 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n83Es6ah027414; Thu, 3 Sep 2009 10:54:06 -0400 Received: from [IPv6:::1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n83Es3Db003558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Sep 2009 10:54:05 -0400 Message-ID: <4A9FD88B.1020406@redhat.com> Date: Thu, 03 Sep 2009 14:54:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 MIME-Version: 1.0 To: Russel Winder CC: Insight Subject: Re: Compiling CVS HEAD References: <1250694796.19666.397.camel@launcelot.russel.org.uk> In-Reply-To: <1250694796.19666.397.camel@launcelot.russel.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00036.txt.bz2 On 08/19/2009 08:13 AM, Russel Winder wrote: > and then run make. If I then run make again I see: > > make[7]: Entering directory `/home/Checkouts/CVS/Insight/sid/component/cgen-cpu' > /bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -o libcgencpu.la -rpath /opt/insight-cvs/lib/sidcomp -module -no-undefined compCGEN.lo cgen-fpu.lo fp.lo tracedis.lo arm7t/libarm7t.la -L../../../libiberty/pic -L../../../libiberty -liberty cgen-asm.lo cgen-dis.lo cgen-opc.lo dis-buf.lo dis-init.lo cgen-bitset.lo -lpthread -lm > g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.3.3/crtbeginS.o .libs/compCGEN.o .libs/cgen-fpu.o .libs/fp.o .libs/tracedis.o .libs/cgen-asm.o .libs/cgen-dis.o .libs/cgen-opc.o .libs/dis-buf.o .libs/dis-init.o .libs/cgen-bitset.o -Wl,--whole-archive arm7t/.libs/libarm7t.a -Wl,--no-whole-archive -L/home/Checkouts/CVS/Insight/libiberty/pic -L/home/Checkouts/CVS/Insight/libiberty -liberty -lpthread -L/usr/lib/gcc/x86_64-linux-gnu/4.3.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.3.3/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib/crtn.o -Wl,-soname -Wl,libcgencpu.so.0 -o .libs/libcgencpu.so.0.0.0 > /usr/bin/ld: /home/Checkouts/CVS/Insight/libiberty/libiberty.a(xmalloc.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC > /home/Checkouts/CVS/Insight/libiberty/libiberty.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > > and > > make[5]: Entering directory `/home/Checkouts/CVS/Insight/sid/component/loader' > /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -o libloader.la -rpath /opt/insight-cvs/lib/sidcomp -module -no-undefined compLoader.lo elfload.lo -L../../../libiberty/pic -L../../../libiberty -liberty -lstdc++ -lm > g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.3.3/crtbeginS.o .libs/compLoader.o .libs/elfload.o -L/home/Checkouts/CVS/Insight/libiberty/pic -L/home/Checkouts/CVS/Insight/libiberty -liberty -L/usr/lib/gcc/x86_64-linux-gnu/4.3.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.3.3/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib/crtn.o -Wl,-soname -Wl,libloader.so.0 -o .libs/libloader.so.0.0.0 > /usr/bin/ld: /home/Checkouts/CVS/Insight/libiberty/libiberty.a(xmalloc.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC > /home/Checkouts/CVS/Insight/libiberty/libiberty.a: could not read symbols: Bad value > collect2: ld returned 1 exit status Try updating your sources and see if this was fixed at all. There was a big autotools update a week or two ago. If your problem persists, you should contact the libiberty maintainers. From src/MAINTAINERS: intl/; config.rhost; libiberty/; libiberty's part of include/ gcc: http://gcc.gnu.org Changes need to be done in tandem with the official GCC sources or submitted to the master file maintainer and brought in via a merge. Note: approved patches in gcc's libiberty or intl are automatically approved in this libiberty and intl also; feel free to merge them yourself if needed sooner than the next merge. Otherwise, changes are automatically merged, usually within a day. Keith