gcc-2.95.3 miscompiles VNC (and maybe XFree86)

Ronald Wahl ronald.wahl@informatik.tu-chemnitz.de
Sun Mar 18 08:01:00 GMT 2001


Hi,

I reported the following bug for pgcc-2.95.1 some time ago. Now I thought
it may be fixed in gcc-2.95.3 but it still occurs (so it's really no pgcc
bug). Now the bug description:

Compiling VNC (version 3.3.3 - but this doesn't matter much) with
-O2 -mcpu=k6 result in a segfaulting VNC server:

  $ programs/Xserver/Xvnc :1
  _XSERVTransSocketINETCreateListener: Unable to get service for `²`
  _XSERVTransMakeAllCOTSServerListeners: failed to create listener for tcp
  Segmentation fault

As I reported some time ago this bug occures on XFree86-3.3.5 (maybe all
XFree releases - not checked) too. With -fno-schedule-insns2 added to
CDEBUGFLAGS the segfault went away. So there must be a bug in instruction
scheduling (at least for -mcpu=k6). Would be nice if anyone could fix
this.

thx,
ron

-- 
/\/\  Dipl.-Inf. Ronald Wahl                /\/\        C S N         /\/\
\/\/  ronald.wahl@informatik.tu-chemnitz.de \/\/  ------------------  \/\/
/\/\  http://www.tu-chemnitz.de/~row/       /\/\  network and system  /\/\
\/\/  GnuPG/PGP key available               \/\/    administration    \/\/



More information about the Gcc-bugs mailing list