[Bug 3329] ioquake smashs the stack
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Thu Oct 4 08:49:17 EDT 2007
http://bugzilla.icculus.org/show_bug.cgi?id=3329
------- Comment #12 from next_ghost at quick.cz 2007-10-04 08:49 EDT -------
Edit Makefile and change this:
$(B)/ioquake3.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ) $(LIBSDLMAIN)
$(echo_cmd) "LD $@"
$(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ) $(CLIENT_LDFLAGS) \
$(LDFLAGS) $(LIBSDLMAIN)
to this (just the 4th line is different):
$(B)/ioquake3.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ) $(LIBSDLMAIN)
$(echo_cmd) "LD $@"
$(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ) $(CLIENT_LDFLAGS) \
$(LDFLAGS) -nopie $(LIBSDLMAIN)
then run `make debug` and use the new client executable in gdb. That should
make gdb work.
--
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the quake3-bugzilla
mailing list