From owner-freebsd-current Sun Oct 13 08:34:51 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA21167 for current-outgoing; Sun, 13 Oct 1996 08:34:51 -0700 (PDT) Received: from unix.guru.org (phantasma.bevc.blacksburg.va.us [198.82.200.65]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA21151 for ; Sun, 13 Oct 1996 08:34:40 -0700 (PDT) Received: (from kmitch@localhost) by unix.guru.org (8.7.5/8.7.3) id LAA13406 for current@freebsd.org; Sun, 13 Oct 1996 11:34:30 -0400 (EDT) From: Keith Mitchell Message-Id: <199610131534.LAA13406@unix.guru.org> Subject: Re: Weirdness in current In-Reply-To: from kmitch at "Oct 11, 96 08:55:05 am" To: current@freebsd.org Date: Sun, 13 Oct 1996 11:34:30 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I am running current (10-10) and have noticed the following weirdnesses. These > also existed in the 09-25 version. > > I have a C++ program I wrote, and it works fine as long as you don't try to > redirect the output. Doing so, causes it to core dump. Compiling the > same program on a 2.1.0R system works fine though. I have a little more insight on this one. It appears that the same libraries are not getting linked in on current as on stable (2.1.0 or 2.1.5). For some reason the math library is getting linked in on stable even though I don't tell it to and my program doesn't use it directly. Current doesn't link in the math library. If I manually tell it to link in the math library everything works fine. I don't have a clue why its doing this on I/O redirection. Anyway here are the ldd outputs in hope that someone will be able to find out what the problem is: -stable: -lm.2 => /usr/lib/libm.so.2.0 (0x802f000) -lc.2 => /usr/lib/libc.so.2.2 (0x8054000) -current: -ltermcap.2 => /usr/lib/libtermcap.so.2.1 (0x8097000) -lcurses.2 => /usr/lib/libcurses.so.2.0 (0x808b000) -lcompat.2 => /usr/lib/libcompat.so.2.0 (0x80a8000) -lg++.3 => /usr/lib/libg++.so.3.0 (0x8021000) -lc.3 => /usr/lib/libc.so.3.0 (0x80ac000) > The second weirdness manifests it self with the wwwcount cgi script that > many people use for a web counter. On my web page (www.guru.org) I have > three counters in a frame (time, date, and counter). When I run netscape > local on my machine to view it (3.0/3.01b1) most of the time I get one of > the counters and a bunch or garbage. If I view it by running netscape > on another machine (2.1.0R or Digital Unix 4.0) it looks fine. Still no clue on this one though. Anyone else experience weird netscape problems on -current? It still does this on a 09/01 level of current.