From owner-freebsd-current Thu Oct 17 09:32:01 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA10309 for current-outgoing; Thu, 17 Oct 1996 09:32:01 -0700 (PDT) Received: from unix.guru.org (kmitch@unix.guru.org [198.82.200.65]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA10299 for ; Thu, 17 Oct 1996 09:31:49 -0700 (PDT) Received: (from kmitch@localhost) by unix.guru.org (8.7.6/8.7.3) id MAA17823; Thu, 17 Oct 1996 12:31:22 -0400 (EDT) From: Keith Mitchell Message-Id: <199610171631.MAA17823@unix.guru.org> Subject: Re: Weirdness in current In-Reply-To: <199610171613.KAA18147@rocky.mt.sri.com> from Nate Williams at "Oct 17, 96 10:13:59 am" To: nate@mt.sri.com (Nate Williams) Date: Thu, 17 Oct 1996 12:31:22 -0400 (EDT) Cc: current@freebsd.org 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 > > > 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.