This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
jmp label(,%eax,4) bug
- To: gcc-bugs at gcc dot gnu dot org
- Subject: jmp label(,%eax,4) bug
- From: rob at icell dot hu
- Date: Fri, 14 Jan 2000 13:28:41 +0100 (CET)
- cc: gcc at packages dot debian dot org
- Reply-To: rob at icell dot hu
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
pkg-bela.gz
pkg-zoom.gz