Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jun 1997 04:04:57 +0600 (ESD)
From:      "Serge A. Babkin" <babkin@hq.icb.chel.su>
To:        hackers@freebsd.org
Subject:   C optimizer bug ?
Message-ID:  <199706142204.EAA24900@hq.icb.chel.su>

next in thread | raw e-mail | index | archive | help
Hi!

I have discovered a problem. It is in the more-than-a-year-old-home-made-
snapshot but there are some signs that it may continue upto now.

I'm trying to implement a SCSI-over-FastEthernet extender. First
I built a model with SCSI card emulator (based on NCR53c810
driver because I plan to use these cards) and Ethernet card
emulator. Everything works fine. In the last week I
finally received the FastEthernet cards and started to use it. 
Everything worked fine but only while tcpdump was running or
the printf() debugging messages enabled. If not then the process
hanged after several transmission inside the generic SCSI driver.
I tried everything and finally decided to build the kernel
without the optimization. Everything started working fine!
So the C optimizer seems like having a bug.

Now about why I think that it may continue upto now. In March I tried
to convert to a newer version of FreeBSD but my SCSI converter
got lots of panics with all the kernel starting from about May '96
so I decided to return back.

-SB



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706142204.EAA24900>