From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Smith Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: gcc mips-tfile compile error Date: Sat, 17 Jul 2004 23:41:33 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: <200407161435.KAA15804@oflume.zk3.dec.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; format=flowed; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1090125747 16250 80.91.224.253 (18 Jul 2004 04:42:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jul 2004 04:42:27 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sun Jul 18 06:42:17 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Bm3VB-000836-00 for ; Sun, 18 Jul 2004 06:42:17 +0200 Original-Received: (qmail 4488 invoked by uid 5); 18 Jul 2004 04:42:08 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4473 invoked by uid 49501); 18 Jul 2004 04:42:08 -0000 Original-Received: from neils@ariel.met.tamu.edu by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.9/5.0):. Processed in 0.645836 secs); 18 Jul 2004 04:42:08 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 18 Jul 2004 04:42:07 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I1100KH46E61Q@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 18 Jul 2004 00:42:06 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I11005026DB72@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 18 Jul 2004 00:41:36 -0400 (EDT) Original-Received: from ariel.met.tamu.edu (ariel.met.tamu.edu [128.194.104.175]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I11003BX6DAI2@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 18 Jul 2004 00:41:34 -0400 (EDT) Original-Received: from [192.168.168.226] (dyna-4186.vpn.tamu.edu [172.16.48.90]) by ariel.met.tamu.edu (8.8.8+Sun/8.8.8) with ESMTP id XAA17819 for ; Sat, 17 Jul 2004 23:44:41 -0500 (CDT) In-reply-to: <200407161435.KAA15804@oflume.zk3.dec.com> Original-To: "tru64-unix-managers@ornl. gov \(\(E-mail\)\)" X-Mailer: Apple Mail (2.618) Xref: main.gmane.org gmane.os.tru64.managers:7311 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7311 Original question below. The problem has to do with an upgrade done to the assembler, as, during a 5.1A upgrade or patch, where the newer as had a change that confused the older 2.9x gcc compiler. A workaround is to invoke the assembler with an "-oldas" option. This can be done more globally with a script put in, say, /sbin that contains: #!/bin/sh /usr/bin/as -oldas $* Then before doing a build that requires this, make sure your PATH is set to find this /sbin/as script before it can find /usr/bin/as. There is a suggestion that an upgrade to gcc 3.2 is the better fix, but I couldn't find a setld package for it, and the workaround satisfied our current needs. So I didn't bother building gcc 3.2 from source. Maybe later. Thanks to Joe Mario for the basic answer and the inspiration to google out the rest. -Neil Original Question: > Machine: Alpha ES45 4x1GHz > OS: True-64 5.1A, PK 6 > gcc version: 2.9-gnupro-99r1 > f90 version: Compaq Fortran V5.5-1877 > Compaq Fortran Compiler V5.5-1877-48BBF > > One of our users is trying to build the WRF atmopheric meso-scale > model. The compilers specified are gcc, cpp, and f90. > > During running of the perl build script, the following error occurs: > mips-tfile:Symbol table is not last (symbol table ends at 4776, .o > ends at 4808 > > Any clues as to what is the problem here? > Is this an issue with the gcc compiler and/or its version? -- Neil R. Smith neils@ariel.met.tamu.edu Comp.Sys.Mngr. (979)845-6272 Dept. Atmospheric Sciences/Texas A&M University