Mail Archives: djgpp-workers/2009/09/09/04:02:36
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/
</gdb/config/djgpp/djconfig.sh ../gdb-6.8.50.20090909
Checking the unpacked distribution... ok.
Editing configure scripts for DJGPP...
e:/djgpp/cvs/bin/find.exe: warning: the predicate -ipath is deprecated;
please u
se -iwholename instead.
e:/djgpp/cvs/bin/find.exe: warning: the predicate -ipath is deprecated;
please u
se -iwholename instead.
Running the configure script...
configure: loading site script e:/djgpp/cvs/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=0002bcc3
eax=12fe0000 ebx=000002d1 ecx=00000000 edx=001ccf20 esi=00000054
edi=000c925c
ebp=001c7f08 esp=001c7ef0 program=e:\djgpp\cvs\bin\sh.exe
cs: sel=0257 base=02d10000 limit=002dffff
ds: sel=025f base=02d10000 limit=002dffff
es: sel=025f base=02d10000 limit=002dffff
fs: sel=026f base=00000000 limit=0010ffff
gs: sel=0000
ss: sel=025f base=02d10000 limit=002dffff
App stack: [001c9258..000c925c] Exceptn stack: [000c88a0..000c6960]
Call frame traceback EIPs:
0x0002bcc3 hash_search+32, file e:/djgpp/cvs/gnu/bash-2.05b/hashlib.c,
line 17
0x0001934a hash_lookup+22, file e:/djgpp/cvs/gnu/bash-2.05b/variables.c,
line
0x000193ed find_variable_internal+56, file
e:/djgpp/cvs/gnu/bash-2.05b/variabl
0x00019470 find_variable+33, file e:/djgpp/cvs/gnu/bash-2.05b/variables.c,
lin
0x000431ea restore_shell_variables+124, file
e:/djgpp/cvs/gnu/bash-2.05b/nofor
0x000432be nofork_restore_all_environment+17, file
e:/djgpp/cvs/gnu/bash-2.05b
0x00013ddf execute_in_subshell+1096, file
e:/djgpp/cvs/gnu/bash-2.05b/execute_
0x00000001 .stab+1
0x0024fba0 .stab+1428240
bash-2.05b$ bfdsymify.exe /djgpp/cvs/bin/bash.exe
bash-2.05b$ name on screen doesn't match `/djgpp/cvs/bin/bash.exe'
Maybe there is some environment corruption somewhere...
Trying to run configure directly in source works
for both DJGPP 2.03 (tested on 20090908 tarball)
and 2.04 (tested on 20090909 tarball).
Pierre
- Raw text -