scott%prism@GATECH.EDU (Scott Holt) (10/25/89)
A couple of the libg++ tests fail under the test release of g++ dated
Oct 18th. I am using this on a Sequent Symmetry with g++ compiled with
gcc 1.36 and gas (not as). The test programs were compiled with the following
options:
g++ -I{my include directory} -g -pipe -c ...
test0 produces the following results:
Enter file to link: (test.bye or test.bye2 or test.shell)
test.bye
Hello! linking `test.bye'...
... timing incremental load...
Command terminated abnormally.
0.6 real 0.1 user 0.1 sys
Error in temp file seek
: Bad file number
closing output file `/dev/tty'
closing input file `/dev/tty'
tFix produces a floating exception, gdb shows the following:
GDB 3.2, Copyright (C) 1988 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /hydra3/scott/gnutest/libg++/tests/tFix...done.
u.u_tsize= 0x14, u.u_dsize= 0x1b, u.u_ssize= 0x2, stack_off= 0x8000
Reading in symbols for File.cc...done.
Type "help" for a list of commands.
(gdb) where
#0 0x10522 in form__4FilePCce ($this=(File *) 0x0, fmt=(char *) 0xc1f00000 <Add
ress 0xc1f00000 out of bounds>) (File.cc line 524)
#1 0xffffc000 in ?? (0, -1041235968)
#2 0xc28c in new_Fix__FUsd (...) (...)
#3 0x1b65 in main (...) (...)
(gdb) asdump
Dump of assembler code from 0x10504 to 0x1052c:
0x10504 <__fixdfsi>: pushl %ebp
0x10505 <__fixdfsi+1>: movl %esp,%ebp
0x10507 <__fixdfsi+3>: subl $0xc,%esp
0x1050a <__fixdfsi+6>: fstcw -4(%ebp)
0x1050e <__fixdfsi+10>: movw -4(%ebp),%ax
0x10512 <__fixdfsi+14>: orb $0xc,%ah
0x10515 <__fixdfsi+17>: movw %ax,-2(%ebp)
0x10519 <__fixdfsi+21>: fldcw -2(%ebp)
0x1051c <__fixdfsi+24>: fldl 8(%ebp)
0x1051f <__fixdfsi+27>: fistpl -12(%ebp)
0x10522 <__fixdfsi+30>: fldcw -4(%ebp)
0x10525 <__fixdfsi+33>: movl -12(%ebp),%eax
0x10528 <__fixdfsi+36>: leave
0x10529 <__fixdfsi+37>: ret
0x1052a <__fixdfsi+38>: nop
0x1052b <__fixdfsi+39>: nop
End of assembler dump.