This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

jmp label(,%eax,4) bug


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]