From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27638 invoked by alias); 13 Jan 2002 08:14:46 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27599 invoked from network); 13 Jan 2002 08:14:43 -0000 Received: from unknown (HELO dell-paw-2.cambridge.redhat.com) (195.224.55.226) by sources.redhat.com with SMTP; 13 Jan 2002 08:14:43 -0000 Received: from north-pole.nickc.cambridge.redhat.com (host217-35-40-66.in-addr.btopenworld.com [217.35.40.66]) by dell-paw-2.cambridge.redhat.com (Postfix) with ESMTP id 1EFB92B4E7 for ; Sun, 13 Jan 2002 08:14:43 +0000 (GMT) Received: from north-pole.nickc.cambridge.redhat.com.nickc.cambridge.redhat.com (localhost [127.0.0.1]) by north-pole.nickc.cambridge.redhat.com (Postfix) with ESMTP id 61757112131; Sun, 13 Jan 2002 08:13:37 +0000 (GMT) To: kettenis@science.uva.nl Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: Multilib support in gdb.asm tests References: <3C3F05DE.8010007@cygnus.com> From: Nick Clifton Date: Sun, 13 Jan 2002 00:14:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-01/txt/msg00338.txt.bz2 Hi Mark, > I'm a bit puzzled by this comment. These tests already invoke `gcc' > for doing the final link. Isn't that a problem too? Actually that is the source of the problem. Since the final link uses 'gcc' it does get the correct multilib flags. But the assembler sources were not being built with the appropriate 'gas' versions of those flags. So, for example, the assembler object files would be built with the default endian setting, but the final link would be done with the proper multilib endian setting. This causes the final link to fail if the two endian settings are not the same, (and it was this failure that lead me to detect the problem in the first place). Cheers Nick