From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17795 invoked by alias); 11 Feb 2004 16:06:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 17788 invoked from network); 11 Feb 2004 16:06:15 -0000 Received: from unknown (HELO dberlin.org) (69.3.5.6) by sources.redhat.com with SMTP; 11 Feb 2004 16:06:15 -0000 Received: from [192.168.1.7] (account dberlin [192.168.1.7] verified) by dberlin.org (CommuniGate Pro SMTP 4.1.4) with ESMTP-TLS id 5970597; Wed, 11 Feb 2004 11:06:14 -0500 In-Reply-To: References: <20040202203715.GA2379@artax.karlin.mff.cuni.cz> <20040211.092114.23008033.kazu@cs.umass.edu> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <35502832-5CAC-11D8-B68C-000A95DA505C@dberlin.org> Content-Transfer-Encoding: 7bit Cc: zlomj9am@artax.karlin.mff.cuni.cz, gcc-patches@gcc.gnu.org, Kazu Hirata From: Daniel Berlin Subject: Re: Variable tracking (location lists support) - part 2 Date: Sat, 21 Feb 2004 13:45:00 -0000 To: Rainer Orth X-SW-Source: 2004-02/txt/msg01066.txt.bz2 Message-ID: <20040221134500.9ZOjHwLFiC3uQasdCyaYCVL_rm-8bDxMlA-ZNu80jcA@z> On Feb 11, 2004, at 10:44 AM, Rainer Orth wrote: > Kazu Hirata writes: > >> This patch unfortunately breaks the build of h8300-elf. Specifically, >> I get assembler errors while compiling muldi3 of libgcc2.c. Here is a >> minimized testcase and the errors I get. > > I've the same problem on sparc-sun-solaris2.8 (native assembler) > building > the sparcv9 libgcc (where, unlike sparcv7, DWARF-2 is used by default): > > $ ./xgcc -B./ -B/vol/gcc/share/sparc-sun-solaris2.8/bin/ -isystem > /vol/gcc/share/sparc-sun-solaris2.8/include -isystem > /vol/gcc/share/sparc-sun-solaris2.8/sys-include > -L/vol/gcc/obj/gcc-3.5.0-20040210/8-gcc/gcc/../ld -O2 -DIN_GCC -W > -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes > -Wold-style-definition -isystem ./include -fPIC -g > -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I > -I/vol/gnu/src/gcc/gcc-dist/gcc -I/vol/gnu/src/gcc/gcc-dist/gcc/ > -I/vol/gnu/src/gcc/gcc-dist/gcc/../include -m64 -DL_muldi3 -c > /vol/gnu/src/gcc/gcc-dist/gcc/libgcc2.c -o libgcc/sparcv9/_muldi3.o > /usr/ccs/bin/as: "/var/tmp//cc71zJdd.s", line 275: error: can't > compute value of an expression involving an external symbol > [...] > > Line 275 is > > .uaxword .LLVL0-.text > > I suppose the problem is that there's no symbol .text, only > > .section ".text" > > so .text is assumed extern. > > Please fix. Again, see http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00826.html I have confirmation it works on solaris 9. I expect it to work just as well in your case. :)