X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com From: "Pierre Muller" To: "'Eli Zaretskii'" Cc: References: <83hbvj80ht DOT fsf AT gnu DOT org> <93c172b50909040715n791c007ema4715db95e946e2e AT mail DOT gmail DOT com> <83y6ou4sls DOT fsf AT gnu DOT org> <83tyzi4nn6 DOT fsf AT gnu DOT org> <83fxb14c4i DOT fsf AT gnu DOT org> <001801ca2f96$43b892d0$cb29b870$@u-strasbg.fr> <83vdju3ami DOT fsf AT gnu DOT org> <000301ca305d$bff70850$3fe518f0$@u-strasbg.fr> <83ljkp2uuy DOT fsf AT gnu DOT org> In-Reply-To: <83ljkp2uuy.fsf@gnu.org> Subject: RE: Building latest GDB snapshots Date: Wed, 9 Sep 2009 10:02:24 +0200 Message-ID: <001801ca3123$ddf88ab0$99e9a010$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcowrHR3Mv4Y43RRSoKmZU5HZuy84QAdvqxQ Content-Language: en-us X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (mailhost.u-strasbg.fr [IPv6:2001:660:2402::152]); Wed, 09 Sep 2009 10:02:25 +0200 (CEST) X-Virus-Scanned: ClamAV 0.94.2/9786/Wed Sep 9 04:58:04 2009 on mr2.u-strasbg.fr X-Virus-Status: Clean X-Spam-Status: No, score=-100.0 required=5.0 tests=USER_IN_WHITELIST autolearn=disabled version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mr2.u-strasbg.fr Reply-To: djgpp-workers AT delorie DOT com Hi Eli, > > Nevertheless, I first tried to compile in a separate > > directory (I wanted to check both 2.03 and 2.04...) > > and it crashed when I tried this :( > > But directly in source directory your way works ! > > See above: I'd like to know where it crashed and how. I made some new tests: Test with DJGPP version 2.03 with GNU bash, version 2.05b.0(1) Last lines of history to show what I did: 536 djtar -x -p -o gdb-6.8.50.20090909/djunpack.bat gdb.tar > djunpack.bat 537 ls -alt 538 edit djunpack.bat 539 cd build 540 dir 541 rm -Rf * 542 cd .. 543 djunpack gdb.tar 544 djunpack.bat gdb.tar 545 cmd djunpack.bat gdb.tar 546 cmd /c djunpack.bat gdb.tar 547 cd build/ 548 sh ../gdb-6.8.50.20090909/gdb/config/djgpp/djconfig.sh ../gdb-6.8.50.20090909 549 history > hist.log Screen at crash: File `./sim/mcore/configure' created File `./sim/mips/configure' created File `./sim/mn10300/configure' created File `./sim/moxie/configure' created File `./sim/ppc/configure' created File `./sim/sh/configure' created File `./sim/sh64/configure' created File `./sim/testsuite/configure' created File `./sim/testsuite/d10v-elf/configure' created File `./sim/testsuite/frv-elf/configure' created File `./sim/testsuite/m32r-elf/configure' created File `./sim/testsuite/mips64el-elf/configure' created File `./sim/v850/configure' created Running the configure script... configure: loading site script e:/djgpp/share/config.site checking build system type... i586-pc-msdosdjgpp checking host system type... i586-pc-msdosdjgpp checking target system type... i586-pc-msdosdjgpp checking for a BSD-compatible install... /dev/env/DJDIR/bin/ginstall -c checking whether ln works... yes checking whether ln -s works... no, using ln checking for a sed that does not truncate output... /dev/env/DJDIR/bin/sed checking for gawk... gawk checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... Exiting due to signal SIGSEG V General Protection Fault at eip=00073d0e eax=d8537a39 ebx=d8537a39 ecx=00000000 edx=d8537a39 esi=001a71c0 edi=001a71c0 ebp=001a6e28 esp=001a6e28 program=e:\djgpp\bin\sh.exe cs: sel=02bf base=02dd0000 limit=4d1dffff ds: sel=024f base=02dd0000 limit=4d1dffff es: sel=024f base=02dd0000 limit=4d1dffff fs: sel=023f base=00020810 limit=0000ffff gs: sel=021f base=00000000 limit=0010ffff ss: sel=024f base=02dd0000 limit=4d1dffff App stack: [001a85a0..000a85a4] Exceptn stack: [000a7be8..000a5ca8] Call frame traceback EIPs: 0x00073d0e 0x00086e35 0x0008dbab 0x00039188 0x000145d1 Aditional infos: bash-2.05b$ which sh /dev/e/djgpp/bin/sh.exe bash-2.05b$ sh --version GNU bash, version 2.05b.0(1)-release (i786-pc-msdosdjgpp) Copyright (C) 2002 Free Software Foundation, Inc. bash-2.05b$ ls -al /djgpp/bin/*sh.* -rwxr-xr-x 1 dosuser root 636928 May 12 2008 /djgpp/bin/bash.exe -rwxr-xr-x 1 dosuser root 2048 May 12 2008 /djgpp/bin/sh.exe bash-2.05b$ Second try with DJGPP 2.04 (with rebuilt bash, allowing to use bfdsymify on stack trace) bash-2.05b$ cd /cygwin/usr/local/src/gdb-snapshot/build/