From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13938 invoked by alias); 4 Feb 2002 02:40:11 -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 13862 invoked from network); 4 Feb 2002 02:40:10 -0000 Received: from unknown (HELO localhost.redhat.com) (24.114.26.18) by sources.redhat.com with SMTP; 4 Feb 2002 02:40:10 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 8DCEF3E4D; Sun, 3 Feb 2002 21:39:57 -0500 (EST) Message-ID: <3C5DF47D.8090803@cygnus.com> Date: Sun, 03 Feb 2002 18:40: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: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00069.txt.bz2 > While linking gdb, I get: > > ld: 0711-224 WARNING: Duplicate symbol: PC > ld: 0711-224 WARNING: Duplicate symbol: BC > ld: 0711-341 WARNING: Replaced XTY_CM symbol BC requires an > alignment more strict than the alignment of the symbol that replaces it. > ld: 0711-224 WARNING: Duplicate symbol: UP > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. > ld: 0711-781 ERROR: TOC overflow. TOC size: 76340 Maximum size: 65536 > collect2: ld returned 12 exit status > make[2]: *** [gdb] Error 1 > > The duplicate-symbol warnings are probably not to be too concerned > about (they come from ncurses and readline, and have never hurt), but > the actual error is the TOC overflow. 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 Andrew