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 5FB762EFD3 for ; Tue, 27 Mar 2001 12:19:36 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f2RHLBg30296 for axp-list@listman.redhat.com; Tue, 27 Mar 2001 12:21:11 -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 f2RHLBV30291 for ; Tue, 27 Mar 2001 12:21:11 -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 TAA08452 for ; Tue, 27 Mar 2001 19:19:21 +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 TAA07984 for ; Tue, 27 Mar 2001 19:19:18 +0200 Message-Id: <200103271719.TAA07984@extreme.takefive.co.at> Date: Tue, 27 Mar 2001 19:19:15 +0200 (MEST) From: Max Weninger Subject: assert in ld when trying to link static exec To: axp-list@redhat.com 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 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 .-| _________._|____________________________________________________