From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 81190304D0 for ; Tue, 27 Mar 2001 12:31:03 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f2RHWcU31333 for axp-list@listman.redhat.com; Tue, 27 Mar 2001 12:32:38 -0500 Received: from t2.takefive.co.at (t2.takefive.co.at [193.81.18.130]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f2RHWcV31329 for ; Tue, 27 Mar 2001 12:32:38 -0500 Received: from extreme.takefive.co.at (extreme [193.81.18.174]) by t2.takefive.co.at (8.8.8/1.0T5H) with ESMTP id TAA08535 for ; Tue, 27 Mar 2001 19:30:52 +0200 (MET DST) Received: from takefive.co.at (extreme.takefive.co.at [193.81.18.174]) by extreme.takefive.co.at (8.9.3/8.9.3) with ESMTP id TAA08235 for ; Tue, 27 Mar 2001 19:30:49 +0200 Message-Id: <200103271730.TAA08235@extreme.takefive.co.at> Date: Tue, 27 Mar 2001 19:30:46 +0200 (MEST) From: Max Weninger Subject: SOLVED Re: assert in ld when trying to link static exec To: axp-list@redhat.com In-Reply-To: <200103271719.TAA07984@extreme.takefive.co.at> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Hi again, Sorry for the "noise" :-{ I just discoverd the problem. I was trying to link an intel lib together with alpha libs. Unfortunately there is no error from ld just an assert without any further information :-( Regards Max On 27 Mar, To: axp-list@redhat.com wrote: > Hi > > I just discovered a crash in ld when trying to link an executable with > static libs. (When using shared libs instead the link stage works > "perfect") > > The error message says > > /usr/bin/ld: bfd assertion fail elflink.h:2420 > /usr/bin/ld: final link failed: Bad value > > I am using the following version of binutils > binutils-2.10.0.18-3 > > But the same crash appeard also with > binutils-2.9.5.0.22-8 > > The assert code in elflink.h is the following. > > ... > BFD_ASSERT (shdr->sh_entsize == sizeof (Elf_External_Rela)); > ... > > Because the number of libs that should be linked together is quite large > (88 libs with an file size of ~100 MB) I think it could be an overflow > problem. > > Any help or ideas would be very welcome > > Regards > > Max -- _______________________________________________________________ \ o/\_ DI Max Weninger <\__,\ Email (max@takefive.co.at) ">. | ` .-| Jakob-Haringer-Str. 8 . \ A-5020 Salzburg - AUSTRIA . \ Tel: +43 662 4579150 - Fax: +43 662 4579156 .-| _________._|____________________________________________________