From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d0d2b4c14fcba49a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-03-02 12:54:15 PST Sender: ro@xayide.TechFak.Uni-Bielefeld.DE Newsgroups: comp.unix.tru64 Subject: Re: Getting GCC on Tru64 5.1 References: <873dcwilgj.fsf@fzidpc73.tu-graz.ac.at> <3A9FF0AC.57724DD0@zk3.dec.com> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Rainer Orth Date: 02 Mar 2001 21:52:38 +0100 Message-ID: Organization: Technical Faculty, University of Bielefeld X-Newsreader: Gnus v5.6.44/Emacs 19.34 NNTP-Posting-Host: xayide.techfak.uni-bielefeld.de X-Trace: 2 Mar 2001 21:52:39 +0100, xayide.techfak.uni-bielefeld.de Path: supernews.google.com!sn-xit-03!supernews.com!freenix!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!news.uni-bielefeld.de!xayide.techfak.uni-bielefeld.de Xref: supernews.google.com comp.unix.tru64:1746 Jeff Sullivan writes: > Rainer Orth wrote: > > > > I've just posted a patch for the upcoming GCC 3.0 release to deal with the > > new assembler Compaq introduced in V5.1: > > > > http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01448.html > > This is the first I've heard of this problem with the new > assembler. I've forwarded the info to the developers, so that > they can address it asap. excellent, thanks. I'd planned to open a support call for this, but haven't found the time yet. Anyway, here's a minimal example that shows the problem: % cat _clz.s .verstamp 3 11 .set noreorder .set volatile .set noat .arch ev4 .file 1 "libgcc2.i" .text $Ltext0: .globl __clz_tab .rdata .quad 0 __clz_tab: .byte 0 % as -v _clz.s -o _clz.o /usr/lib/cmplrs/cc/cpp -DLANGUAGE_ASSEMBLY -D__LANGUAGE_ASSEMBLY__ -D__unix__ -D__alpha -D_SYSTYPE_BSD -D_LONGLONG -D__digital__ -D__arch64__ -D__osf__ -std0 -I/usr/include _clz.s > /tmp/ctmppAAAakrefa /usr/lib/cmplrs/cc/cpp: 0.00u 0.00s 0:00 0% 0+0k 0+8io 0pf+0w 0stk+952mem /usr/lib/cmplrs/cc/adu -v /tmp/ctmppAAAakrefa -O1 -G 8 -g0 -p0 -o _clz.o Alpha Assembler for Tru64 UNIX: Version 3.04.29 Copyright (c) Digital Equipment Corporation, 1993-1997, All Rights Reserved. adu -v -O1 -nopp -symbols_not_aligned -stack_aligned_0mod8 -thread_pointer_not_aligned /tmp/ctmppAAAakrefa -o _clz.o /usr/lib/cmplrs/cc/adu: 0.00u 0.00s 0:00 0% 0+0k 0+2io 0pf+0w 0stk+392mem % nm _clz.o Name Value Type Size __clz_tab | 0000000000000008 | R | 0000000000000000 % as -oldas -v _clz.s -o _clz.o /usr/lib/cmplrs/cc/cpp -DLANGUAGE_ASSEMBLY -D__LANGUAGE_ASSEMBLY__ -D__unix__ -D__alpha -D_SYSTYPE_BSD -D_LONGLONG -D__digital__ -D__arch64__ -D__osf__ -std0 -I/usr/include _clz.s > /tmp/ctmppAAAakrdxa /usr/lib/cmplrs/cc/cpp: 0.00u 0.00s 0:00 0% 0+0k 0+7io 0pf+0w 0stk+952mem /usr/lib/cmplrs/cc/as0 -G 8 -g0 -O1 -v /tmp/ctmppAAAakrdxa -o /tmp/ctmpaBAAakrdxa -t /tmp/ctmpaCAAakrdxa as0: /usr/lib/cmplrs/cc/as0: 0.00u 0.00s 0:00 0% 0+0k 0+3io 0pf+0w 0stk+360mem /usr/lib/cmplrs/cc/as1 -O1 -G 8 -g0 -p0 -v /tmp/ctmpaBAAakrdxa -o _clz.o -t /tmp/ctmpaCAAakrdxa as1: /usr/lib/cmplrs/cc/as1: 0.00u 0.00s 0:00 0% 0+0k 0+1io 0pf+0w 0stk+336mem % nm _clz.o Name Value Type Size $Ltext0 | 0000000000000000 | N | 0000000000000000 __clz_tab | 0000000000000008 | R | 0000000000000000 I.e. the $Ltext0 symbol is lost with the new assembler. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Faculty of Technology, Bielefeld University Email: ro@TechFak.Uni-Bielefeld.DE