From owner-freebsd-current Thu Oct 17 09:32:40 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA10405 for current-outgoing; Thu, 17 Oct 1996 09:32:40 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA10397 for ; Thu, 17 Oct 1996 09:32:35 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA18263; Thu, 17 Oct 1996 10:32:25 -0600 (MDT) Date: Thu, 17 Oct 1996 10:32:25 -0600 (MDT) Message-Id: <199610171632.KAA18263@rocky.mt.sri.com> From: Nate Williams To: Keith Mitchell Cc: nate@mt.sri.com (Nate Williams), current@freebsd.org Subject: Re: Weirdness in current In-Reply-To: <199610171631.MAA17823@unix.guru.org> References: <199610171613.KAA18147@rocky.mt.sri.com> <199610171631.MAA17823@unix.guru.org> Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Keith Mitchell writes: > > > > Are you saying the math library is brought in even if you don't > > > > explicitly ask for it? > > > > > > Yes. It did that in 2.10R, 2.15R, -stable, and now again in -current. > > > > I don't see that on my -stable box, but it definitely happens in > > -current. > > > > It's done automatically in -current by the c++ driver on line 551 of > > /usr/src/contrib/cc/cp/g++.c. > > I verfied that it was bringing in the math library in the static and the > dynamic one, but the program core dumps in the static one much like it did > before it compiled in the math library. I find it especially > strange that it *ONLY* core dumps on output redirection. Interactive use of > the program works fine. Where is it dumping core?