From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23624 invoked by alias); 4 Feb 2002 16:06:37 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23553 invoked from network); 4 Feb 2002 16:06:36 -0000 Received: from unknown (HELO localhost.redhat.com) (24.114.26.18) by sources.redhat.com with SMTP; 4 Feb 2002 16:06:36 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 8E9783E55; Mon, 4 Feb 2002 11:06:35 -0500 (EST) Message-ID: <3C5EB18B.9000900@cygnus.com> Date: Mon, 04 Feb 2002 08:06:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Alexandre Oliva Cc: gdb@sources.redhat.com Subject: Re: GDB cvs won't build on AIX 4.1 References: <3C5DF47D.8090803@cygnus.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00079.txt.bz2 > On Feb 4, 2002, Andrew Cagney wrote: > > >>> Perhaps we should hard-code the link option -bbigtoc for gdb to >>> link properly on AIX? > > >> That was the problem. See gdb/294. >> http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=294 > > > Thanks for the pointer. Would it be pointless then to post a patch > that detected which version of GCC is in use, and whether the linker > it uses accepts -bbigtoc? The oposite! See Peter Schauer's comment - it would solve the problem. Andrew