X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 2002:a05:620a:2903:: with SMTP id m3mr7138243qkp.452.1635760104017; Mon, 01 Nov 2021 02:48:24 -0700 (PDT) X-Received: by 2002:a25:6f05:: with SMTP id k5mr31581967ybc.15.1635760103749; Mon, 01 Nov 2021 02:48:23 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Mon, 1 Nov 2021 02:48:23 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=81.217.199.198; posting-account=RR3OeQoAAACYgn23XqTski3oGOFlt-O1 NNTP-Posting-Host: 81.217.199.198 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4016e9cd-0be1-4758-8f29-db7770508ed6n@googlegroups.com> Subject: Re: DJGPP build of gcc-10.3.0 and make 4.3 incompatibility From: "Stefan Ring (stefanrin AT gmail DOT com) [via djgpp AT delorie DOT com]" Injection-Date: Mon, 01 Nov 2021 09:48:24 +0000 Content-Type: text/plain; charset="UTF-8" Lines: 19 Bytes: 2597 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 1A1A01aY026845 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 Precedence: bulk On Monday, November 1, 2021 at 10:21:03 AM UTC+1, Stefan Ring wrote: > While trying to recreate the DJGPP gcc binaries, by following the excellent instructions in readme.DJGPP, I stumbled across this problem that caused me a lot of grief. I used Windows XP for building and even installed Vista as a possible remedy, but to no avail. The same thing happened there. > > The last line in libgcc/Makefile.in does an include of *.dep, but somehow in make 4.3 the expansion of this wildcard expression gets truncated somewhere in the middle, and then it complains about not being able to find the file whose name got truncated. I patched around this by splitting it up into multiple chunks of wildcard matches on multiple lines, but this got me further only by a tiny amount. The next problem was that during an "exit 0" in the configuration stage, make would say "memory fouled" and abort. > > After switching to make 4.1r2, the build worked beautifully. I forgot to mention: I used Andris Pavenis' builds from the directory "rpms/djcross-gcc-10.3.0" to create gcc1030s.zip and this in turn for building on Windows. And I consider it very likely that at least 10.2.0 will be affected in the same way, but I have not tested this.