From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5706 invoked by alias); 12 Apr 2011 02:38:46 -0000 Received: (qmail 5593 invoked by uid 22791); 12 Apr 2011 02:38:45 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Apr 2011 02:38:39 +0000 From: "david.kirkby at onetel dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/46072] AIX linker chokes on debug info for uninitialized static variables X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: david.kirkby at onetel dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 12 Apr 2011 02:38:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg01158.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46072 --- Comment #24 from Dr. David Kirkby 2011-04-12 02:38:22 UTC --- (In reply to comment #23) > (In reply to comment #22) > > I found an workaround. When I realized that /usr/bin/as was the culprit (from > > looking at IZ98134), I tried using as from other AIX box at TL4, and it worked > > out just fine. Here is what I did: > > > > Somehow find a copy of /usr/bin/as from older AIX box. > > That's fine if you have an older AIX box. Mine is already a relic - a 32-bit > system with 332 MHz CPUs! Do you know how to find 'as' from the installation > media? Can you email me a copy from an AIX 5.3 machine? > > david dot kirkby onetel.net Someone kindly emailed me an older copy of "as", so I did something like: # mv /usr/ccs/bin/as /usr/ccs/bin/as.nfg # cp /tmp/as /usr/ccs/bin/as (where the older 'as' was in /tmp) That has solved my problem. Of course it is not a perfect solution, but it does at least allow me to compile files now. Dave