From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14380 invoked by alias); 4 Feb 2002 12:15:31 -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 14339 invoked from network); 4 Feb 2002 12:15:30 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (12.107.208.154) by sources.redhat.com with SMTP; 4 Feb 2002 12:15:30 -0000 Received: from free.redhat.lsd.ic.unicamp.br (dhcpd177.meridian.redhat.com [172.16.47.177]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g14CFS326601; Mon, 4 Feb 2002 07:15:28 -0500 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.11.6/8.11.6) id g14CFMY05580; Mon, 4 Feb 2002 10:15:22 -0200 To: Andrew Cagney Cc: gdb@sources.redhat.com Subject: Re: GDB cvs won't build on AIX 4.1 References: <3C5DF47D.8090803@cygnus.com> From: Alexandre Oliva Organization: GCC Team, Red Hat Date: Mon, 04 Feb 2002 04:15:00 -0000 In-Reply-To: Andrew Cagney's message of "Sun, 03 Feb 2002 21:39:57 -0500" Message-ID: User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-02/txt/msg00075.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? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist Professional serial bug killer