From owner-freebsd-hackers Sat Jun 14 17:37:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA17715 for hackers-outgoing; Sat, 14 Jun 1997 17:37:07 -0700 (PDT) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id RAA17710 for ; Sat, 14 Jun 1997 17:36:55 -0700 (PDT) Received: from tom by misery.sdf.com with smtp (Exim 1.62 #1) id 0wd3Gy-0001x7-00; Sat, 14 Jun 1997 17:34:24 -0700 Date: Sat, 14 Jun 1997 17:34:24 -0700 (PDT) From: Tom Samplonius To: "Serge A. Babkin" cc: hackers@freebsd.org Subject: Re: C optimizer bug ? In-Reply-To: <199706142204.EAA24900@hq.icb.chel.su> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 15 Jun 1997, Serge A. Babkin wrote: > 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 I guess you are using -current from a year ago? Wasn't gcc upgraded to 2.7.2.1 since then? What gcc version is in your snapshot? Try "gcc -v". Tom