jmp label(,%eax,4) bug
rob@icell.hu
rob@icell.hu
Fri Jan 14 04:21:00 GMT 2000
Hi.
I have a debian linux, and I am using gcc_2.95.2-4 . The Quake qwcl source
compiles with is, but gives a segfault when I try to connect to a server.
gcc272_2.7.2.3-14 also have the same property.
The problem is in the assembler:
When I replace the 3 occurances of a
jmp a_Label(,%eax,4)
with
push Label(,%eax,4)
ret
, everything is going fine.
If the bug seems to be context-sensitive, please check the qw1source.zip on
any mirror, see ./QW/client/{d_parta.s,d_polysa.s,math.s}.
I tried a lots of compiler options, with no effect on the segfault.
Please find attached two lists of the packages on two of the machines I have
access to:
pkg-zoom.gz is my machine, compilig on it, qwcl segfaults. (not anymore, heh)
pkg-bela.gz is a mailserver, the binary compiled on it runs fine.
It has a gcc 2.95.1-1, haven't tried the gcc272, tho.
I included these two files in case the problem would depend on an other
package.
Or something.
Hope it's enough to catch the bug.
Should you have any further questions, drop me a letter.
bye,
rob - László, Róbert - rob@sch.bme.hu - http://www.sch.bme.hu/~rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg-bela.gz
Type: application/x-gzip
Size: 2583 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000114/898944c0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg-zoom.gz
Type: application/x-gzip
Size: 3534 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000114/898944c0/attachment-0001.bin>
More information about the Gcc-bugs
mailing list