From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 28B293858D35 for ; Mon, 9 Oct 2023 12:48:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 28B293858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from r6.localdomain (82-217-174-174.cable.dynamic.v4.ziggo.nl [82.217.174.174]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 19D3E300B302; Mon, 9 Oct 2023 14:48:04 +0200 (CEST) Received: by r6.localdomain (Postfix, from userid 1000) id C96733403F9; Mon, 9 Oct 2023 14:48:03 +0200 (CEST) Message-ID: <846163e93bfd31f8fb76177228a2f1b063dfa0b3.camel@klomp.org> Subject: Re: [PATCH] microblaze: fix build error on 32-bit hosts From: Mark Wielaard To: "Frager, Neal" , Michael Eager , "Maciej W. Rozycki" Cc: "Nali, Appa Rao" , "binutils@sourceware.org" , "Erkiaga Elorza, Ibai" , "luca.ceresoli@bootlin.com" , "Hatle, Mark" , "Mekala, Nagaraju" , "nickc@redhat.com" , "Mutyala, Sadanand" , "Hunsigida, Vidhumouli" Date: Mon, 09 Oct 2023 14:48:03 +0200 In-Reply-To: References: <5d2ce973-6287-db3d-fc82-966914f765a7@eagercon.com> <20231007220105.818599-1-mark@klomp.org> <609d027a-0671-4416-ea0f-6d59b32f94f1@eagercon.com> <20231007231407.GC728@gnu.wildebeest.org> <0fa85fa35025cf0771ecad670e57b446f6da6796.camel@klomp.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-3027.1 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Neal, On Mon, 2023-10-09 at 12:42 +0000, Frager, Neal=20 > > On a 32bit host bfd_vma is an unsigned int, but you are using a long pr= intf format. >=20 > > Casting the r_addend to (long) is one way to resolve this. >=20 > I already solved this build issue. I thought the issue Maciej was report= ing was another one. >=20 > If this is the only build issue, then I will submit v3 which solves this = problem now. >=20 > Could you please confirm that this is the only issue that needs to be fix= ed? It is the only issue I noticed that prevented the build to complete on a 32bit host (with --enable-target=3Dall). I didn't try to run the testsuite. Cheers, Mark