delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2022/01/01/18:01:33

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=badeba3b8450; t=1641078071;
bh=wqhq0yekzq2uyhKjE6hyMj9bHjIvsnjHIlKMIpcF7Hs=;
h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References;
b=aZVcY2EZdUwDRcSmdyTYRZZ6+MfWyDYkcPgiSr/yXoqjBEBosEdUU63ebtNMVsSdV
M3fgrEJP/E00+DBEiv3YGpvlbQ7hNv15EJr3zcmWPlSW6JVGviQb/3DhFObEsDodO8
sf1+5iwk1Nkn3uQEaVIX0UtwcHLg4fezy+egV8ys=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Date: Sun, 2 Jan 2022 00:01:02 +0100
From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
Subject: Re: binutils 2.37 fails PDCurses library make with "ar: invalid
operation"
Message-ID: <20220102000102.7d7b014f@gmx.de>
In-Reply-To: <ac1dadfd-435e-4f3f-a126-04cfafb8b571n@googlegroups.com>
References: <ac1dadfd-435e-4f3f-a126-04cfafb8b571n AT googlegroups DOT com>
X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu)
MIME-Version: 1.0
X-Provags-ID: V03:K1:2fST/EAcKnegKpJauSoQAitPaQO8H14a3Kgl1HL8ovj8UtX56BW
t96RDFw6X7AqUO6NE7Lxpix6GX2+oQbiDtcx+sHzr7KoQcOO1/jwvRYy3/bwlh9VLGyArug
MqUM8fJlUBHRinYtsjDKTQo0ZHq9kh+CxqNQZvq04QLNQ5RplQ+by0qz26LQkKvb8rAfG2R
FvpeWfrLUMYZW9sZ3OCog==
X-Spam-Flag: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9VN46+Va+K3eCgLJnJlL
Dfd60yFuxcDBzPymSFa0f9/u9ntTxbO5WLk1EpehMtRfQdfCxZsQaecgFvm6pXH7P1xBTGk7r
JuS1jD3P6iqbWM=
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 201N1JG3031638
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Am Fri, 31 Dec 2021 20:03:57 -0800 (PST)
schrieb "Jamie Bainbridge (jamie DOT bainbridge AT gmail DOT com) [via
djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>:

> Hello,
>
> Compiling the PDCurses-3.9 source with the latest binutils (bnu237b)
> fails to create the library file with:
>
>  ar: curses.a: invalid operation
>
> You can also reproduce the same error easily with the same command
> manually:
>
>  ar rcv curses.a *.o
>
> ar makes a small 8-byte curses.a file but that's obviously not valid.
>
> Trying several previous versions (bnu232b, bnu234b, bnu2351b) with
> the same compiled object files all work fine.
>
> I'm compiling the latest stable PDCurses from upstream:
> https://github.com/wmcbrine/PDCurses/releases/tag/3.9
>
> The only change I've made is to add -DPDC_RGB to CFLAGS and change
> the LIBCURSES variable to "curses.a".
>
> My environment is dosbox-staging. I've set "LFN=n" in djgpp.env as
> DOSBox doesn't have LFN support (at least not this fork of it). There
> are no long filenames involved here anyway.
>
> I hope that's a useful enough error report. Please let me know if I
> can provide any more information.
>
> Jamie


OFYI, after having installed DOSBox I was able to reproduce the bug.
What the maintariners of binutils have changed between bnu2351b and
bnu237b is completely unknown to me.  It seems to be a DOSBox specific
issue and AFIAK DOSBox has never been recommended to be used as DJGPP
development environment.  I will try to investigate this issue when I
have enough time. This will not be quite soon.

Use bnu2351b; AFAIK there are no DJGPP specific changes between
bnu2351b and bnu237b.


Regrads,
Juan M. Guerrero

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019