X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 2002:ac8:6d35:: with SMTP id r21mr33657590qtu.9.1641009838335; Fri, 31 Dec 2021 20:03:58 -0800 (PST) X-Received: by 2002:a05:6902:124a:: with SMTP id t10mr22052508ybu.287.1641009838021; Fri, 31 Dec 2021 20:03:58 -0800 (PST) Newsgroups: comp.os.msdos.djgpp Date: Fri, 31 Dec 2021 20:03:57 -0800 (PST) Injection-Info: google-groups.googlegroups.com; posting-host=180.150.111.33; posting-account=Q2OZEwoAAAANKo2GT_l3uUEobIMUphXY NNTP-Posting-Host: 180.150.111.33 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: binutils 2.37 fails PDCurses library make with "ar: invalid operation" From: "Jamie Bainbridge (jamie DOT bainbridge AT gmail DOT com) [via djgpp AT delorie DOT com]" Injection-Date: Sat, 01 Jan 2022 04:03:58 +0000 Content-Type: text/plain; charset="UTF-8" Bytes: 1950 Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: 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