X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Sun, 30 Aug 2020 19:14:04 +0300 Message-Id: <835z90xgab.fsf@gnu.org> From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" To: djgpp AT delorie DOT com In-Reply-To: (djgpp@delorie.com) Subject: Re: SIGSEGV when trying to compile helloworld References: 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 > From: "sleepy_dog AT gmx DOT de [via djgpp AT delorie DOT com]" > Date: Sun, 30 Aug 2020 17:30:17 +0200 > > Saved in: C:\DOSBOX_dos_projects\DJGPP\testproj\test.cpp > With Windows7 (32bit) Cmd shell in that folder, called this, and got the > output: > > C:\DOSBOX~3\DJGPP\testproj>gcc -g test.cpp -o test.exe > Exiting due to signal SIGSEGV > Stack Fault at eip=00000a11 > eax=00010001 ebx=01c40080 ecx=0165a400 edx=004207bf esi=000023c2 > edi=000023b2 > ebp=0042773a esp=0042773a program=C:\DJGPP_~1\BIN\GCC.EXE > cs: sel=00cf base=0000d150 limit=00000db0 > ds: sel=00b7 base=00005860 limit=0000ffff > es: sel=0040 invalid > fs: sel=0000 > gs: sel=0000 > ss: sel=00b7 base=00005860 limit=0000ffff > App stack: [00423b78..00223b7c] Exceptn stack: [00223ac8..00221b88] > . > Since the delorie.com site is currently down I looked elsewhere and > found some FAQ where it says this could come from the .env file having > extra whitespace somewhere... although supposedly fixed by now. And I > did not edit that file, it's the one I just unzipped. > > Any ideas what could be wrong? What does go32-v2 reports in that DOSBox?