X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Subject: Re: [ANNOUNCE] DJGPP port of gcc-6.1.0 To: djgpp AT delorie DOT com References: <201604281739 DOT u3SHdF9o009018 AT delorie DOT com> <572B61D5 DOT 2040400 AT gmx DOT de> From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" Message-ID: <77f635e4-2d72-733f-3bdb-aa07734d7861@iki.fi> Date: Thu, 5 May 2016 19:36:36 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <572B61D5.2040400@gmx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 05/05/2016 06:08 PM, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com] wrote: > Am 28.04.2016 19:19, schrieb Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via > djgpp-announce AT delorie DOT com]: >> >> This is announcement of an update of DJGPP port of GCC-6.1.0 >> > [snip] > > OFYI, I have tried to compile gcc610s on WinXP, Win2K and Win98SE and it is not > possible. I have used gcc610, gpp610, bnu226br3, djdev205, gmp610b, mpc103b and > mpfr313b. The build process stops with the creation of the following file: > > gpp -std=gnu++98 -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W > -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute > -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings > -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -static-libstdc++ -static-libgcc -no-pie > -o build/genautomata.exe \ > build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o > build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o > build/errors.o ../build-djgpp/libiberty/libiberty.a -lm > build/genautomata.exe /gnu/gcc-6.10/gcc/common.md /gnu/gcc-6.10/gcc/config/i386/i386.md \ > insn-conditions.md > tmp-automata.c > > The file tmp-automata.c is completely empty. If I start genautomata.exe manually > with the above arguments I get again an empty file. The program itself seems to > work to some extend because if I start it manually without options and I interrupt > it with Control-Z I get the following output: I do not know. I have never see that behavior (even on WIn10). gcc-6.1.0 DJGPP packages were built under Windows Vista Business SP2 (on old Lenovo Thinkpad...) What gcc version was used for bootstrapping? What happens if old version is used for bootstrapping (try for example http://ap1.pp.fi/djgpp/gcc/4.4.7/v205/ ) It could also be caused by the same problem than we see under Win10. showing in a different way. It seems that gcc versions beginning from 4.6 miscompiles code in some cases. How else one can explain that I'm only seeing preprocessor failures under Win10 when stage2 and stage3 compiler is being used and staga1 compiler built with gcc-4.4.7 works under Win10. Of course it could also be related with binutils. At least I got the failures with binutils-2.20 and gcc-4.6.4, so large relation count support is not the source of problem. Andris