RE: 0.97 Is a regression for Cygwin
"Brent Fulgham" <[email protected]>
| Newsgroups | gmane.lisp.lush.devel |
|---|---|
| Message-ID | <[email protected]> |
> > However, I can't even run 0.97's (helptool) at all under
> 0.97. I get:
> > **** GASP: Severe error : Signal 11 has occurred
> > **** GASP: Trying to recover
> > **** GASP: You should save your work immediatly
> > I couldn't find a Changelog for the 0.97 release, so I don't
> > have a clue where to start looking.
>
> There are lots of changes in 0.97.
> It might help to have a gdb stack trace.
>
I'm embarassed to admit I can't recreate this right now. Perhaps
I had only partially installed Lush before, or there was some
active remnant of the 0.96 build in my path.
Things seem to work properly now.
> At this point lush already has generated the C and
> compiled the OBJ file. Could you email me
> the output of 'objdump -fh --syms --disassemble xxxx.obj'
> on this file?
>
Certainly. This is the result of running the sequence of commands
in your documentations regarding the "harmonic" function:
junk.o: file format pe-i386
architecture: i386, flags 0x00000039:
HAS_RELOC, HAS_DEBUG, HAS_SYMS, HAS_LOCALS
start address 0x00000000
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 000000f0 00000000 00000000 0000008c 2**4
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
1 .data 000000a0 00000000 00000000 0000017c 2**4
CONTENTS, ALLOC, LOAD, RELOC, DATA
2 .bss 00000000 00000000 00000000 00000000 2**4
ALLOC
SYMBOL TABLE:
[ 0](sec -2)(fl 0x00)(ty 0)(scl 103) (nx 1) 0x00000000 junk.c
File
[ 2](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 1) 0x00000010 _C_harmonic
AUX tagndx 0 ttlsiz 0x0 lnnos 0 next 0
[ 4](sec 2)(fl 0x00)(ty 0)(scl 3) (nx 0) 0x00000020
_KK_harmonic_R0001a1a1
[ 5](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000090 _init_junk
[ 6](sec 1)(fl 0x00)(ty 20)(scl 3) (nx 0) 0x000000b0 _X_harmonic
[ 7](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .text
AUX scnlen 0xe2 nreloc 7 nlnno 0
[ 9](sec 2)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .data
AUX scnlen 0xa0 nreloc 4 nlnno 0
[ 11](sec 3)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .bss
AUX scnlen 0x0 nreloc 0 nlnno 0
[ 13](sec 2)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000000
_K_harmonic_R0001a1a1
[ 14](sec 2)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000098 _majver_junk
[ 15](sec 2)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0000009c _minver_junk
[ 16](sec 0)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000000 _dh_trace_root
[ 17](sec 0)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 _dh_define
Disassembly of section .text:
00000000 <.text>:
0: 43 inc %ebx
1: 5f pop %edi
2: 68 61 72 6d 6f push $0x6f6d7261
7: 6e outsb %ds:(%esi),(%dx)
8: 69 63 00 90 8d 74 26 imul $0x26748d90,0x0(%ebx),%esp
...
00000010 <_C_harmonic>:
10: 55 push %ebp
11: 89 e5 mov %esp,%ebp
13: 83 ec 08 sub $0x8,%esp
16: dd 45 08 fldl 0x8(%ebp)
19: c7 45 f8 00 00 00 00 movl $0x0,0xfffffff8(%ebp)
20: a1 00 00 00 00 mov 0x0,%eax
25: d9 ee fldz
27: 8d 55 f8 lea 0xfffffff8(%ebp),%edx
2a: d9 c0 fld %st(0)
2c: 89 15 00 00 00 00 mov %edx,0x0
32: d9 c1 fld %st(1)
34: 89 45 fc mov %eax,0xfffffffc(%ebp)
37: 89 f6 mov %esi,%esi
39: 8d bc 27 00 00 00 00 lea 0x0(%edi,1),%edi
40: d9 cb fxch %st(3)
42: dd e2 fucom %st(2)
44: df e0 fnstsw %ax
46: 9e sahf
47: 76 0e jbe 57 <_C_harmonic+0x47>
49: dd db fstp %st(3)
4b: d9 e8 fld1
4d: dc c2 fadd %st,%st(2)
4f: d8 f2 fdiv %st(2),%st
51: de c1 faddp %st,%st(1)
53: d9 c0 fld %st(0)
55: eb e9 jmp 40 <_C_harmonic+0x30>
57: dd d8 fstp %st(0)
59: dd d8 fstp %st(0)
5b: dd d8 fstp %st(0)
5d: 8b 42 04 mov 0x4(%edx),%eax
60: a3 00 00 00 00 mov %eax,0x0
65: c9 leave
66: c3 ret
67: 4b dec %ebx
68: 5f pop %edi
69: 68 61 72 6d 6f push $0x6f6d7261
6e: 6e outsb %ds:(%esi),(%dx)
6f: 69 63 5f 52 30 30 30 imul $0x30303052,0x5f(%ebx),%esp
76: 31 61 31 xor %esp,0x31(%ecx)
79: 61 popa
7a: 31 00 xor %eax,(%eax)
7c: 68 61 72 6d 6f push $0x6f6d7261
81: 6e outsb %ds:(%esi),(%dx)
82: 69 63 00 90 8d 76 00 imul $0x768d90,0x0(%ebx),%esp
89: 8d bc 27 00 00 00 00 lea 0x0(%edi,1),%edi
00000090 <_init_junk>:
90: 55 push %ebp
91: 89 e5 mov %esp,%ebp
93: 83 ec 08 sub $0x8,%esp
96: c7 04 24 7c 00 00 00 movl $0x7c,(%esp,1)
9d: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp,1)
a4: 00
a5: e8 00 00 00 00 call aa <_init_junk+0x1a>
aa: 89 ec mov %ebp,%esp
ac: 5d pop %ebp
ad: c3 ret
ae: 89 f6 mov %esi,%esi
000000b0 <_X_harmonic>:
b0: 55 push %ebp
b1: 89 e5 mov %esp,%ebp
b3: 83 ec 18 sub $0x18,%esp
b6: 89 5d fc mov %ebx,0xfffffffc(%ebp)
b9: 8b 45 08 mov 0x8(%ebp),%eax
bc: 8b 48 0c mov 0xc(%eax),%ecx
bf: 8b 40 08 mov 0x8(%eax),%eax
c2: 89 4c 24 04 mov %ecx,0x4(%esp,1)
c6: 89 04 24 mov %eax,(%esp,1)
c9: e8 42 ff ff ff call 10 <_C_harmonic>
ce: dd 5d f0 fstpl 0xfffffff0(%ebp)
d1: 8b 55 f0 mov 0xfffffff0(%ebp),%edx
d4: 8b 5d f4 mov 0xfffffff4(%ebp),%ebx
d7: 89 d0 mov %edx,%eax
d9: 89 da mov %ebx,%edx
db: 8b 5d fc mov 0xfffffffc(%ebp),%ebx
de: 89 ec mov %ebp,%esp
e0: 5d pop %ebp
e1: c3 ret
e2: 90 nop
e3: 90 nop
e4: 90 nop
e5: 90 nop
e6: 90 nop
e7: 90 nop
e8: 90 nop
e9: 90 nop
ea: 90 nop
eb: 90 nop
ec: 90 nop
ed: 90 nop
ee: 90 nop
ef: 90 nop
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com