delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2022/01/01/08:25:19

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=1641043504;
bh=c8aSPGyRSEYGYJcIWYACtoF4+c9pA2nnEL9PM3naQio=;
h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References;
b=WE+IofkMpcclysvLn1LFqaXTdECiDtFFM4NVsifbJdkMlwK6KForJQY9xVT3A0b+a
cA/Ad/TX4KpmDrfksjYQXyvXSXuZajYs0bJ16csuk9M78oqmEM+L3A0qaEh5Fn4JqE
l+9pxUp7cGhExqDGgoQ7IH0D77o11LaAfkcxGdE0=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Date: Sat, 1 Jan 2022 14:24:59 +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: <20220101142459.49e4f49c@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:Sy5U6PWCl9giUVJz0w5BkExJT/lkfJBhYAtGSoeP6EHKmReUuar
M8KSag/1lgeErHKgxJsTelRsxMdsQoJ9bSFyCLMCBaSNE1D3t55hsK43Nv13moVhs2gKrmi
FERBbAjkSEllSVMGw33dRQ6KHtNzs5WYBKK5hTRCZU7f7kEcFOnzs1IsnUDyle9qfn9X1VL
8IBUl/bSuSytyn1BjdmZg==
X-Spam-Flag: NO
X-UI-Out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Z9PA0pRgY7RGnOkBe6CmRLhFUkqMouy2is
cC7cLrOjrpERYgA64DDAHXQ492NCLTs/a+WAXBxiKL/x/k662YrIMAZ2+16CjZ9qnnxu9l/+g
fcWLlf362qd7bE=
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 201DPAjX006581
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


Hello,

Sorry but I cannot reproduce this at all.
I only use VMware as virtual machine.  I have tested it on four
different environments:
  - DOS box of Windows 98 SE without LFN support
  - MS-DOS 7.1 without LFN support
  - MS-DOS 6.22 without LFN support
  - FreeDOS 1.3 RC5 without LFN support

My DJGPP installation uses djdev206 (aka cvs repository code), gcc346b
and bnu237b.  I have compiled the DJGPP port of PDCurses-3.9 (aka
pdcur39s) but I do not think that this shall have any impact in the
analysis of this issue. None of the builds have failed.  It was also
possible to manually create an archive issuing the command:
  ar rcv curses.a *.o
All builds have been checked by building the test programs.  They all
have run flawlessly.  The builds have been repeated 5 times for every
environment, with and without defining PDC_RGB.  But I think that neither
LFN support nor -DPDC_RGB have any impact in this issue.
I will try to install dosbox and see if I can reproduce the issue there.

Regards,
Juan M. Guerrero

- Raw text -


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