Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 1996 11:34:30 -0400 (EDT)
From:      Keith Mitchell <kmitch@unix.guru.org>
To:        current@freebsd.org
Subject:   Re: Weirdness in current
Message-ID:  <199610131534.LAA13406@unix.guru.org>
In-Reply-To: <no.id> from kmitch at "Oct 11, 96 08:55:05 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.




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