From owner-freebsd-standards Tue Oct 22 14:37:21 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05E7837B401; Tue, 22 Oct 2002 14:37:20 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id E975143E42; Tue, 22 Oct 2002 14:37:18 -0700 (PDT) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id DF0BA9C11; Tue, 22 Oct 2002 17:29:12 -0400 (EDT) Date: Tue, 22 Oct 2002 17:29:12 -0400 From: Mike Barcroft To: Kris Kennaway Cc: Ruslan Ermilov , current@FreeBSD.org, standards@FreeBSD.org Subject: Re: libstdc++ does not contain fabsl symbol Message-ID: <20021022172912.B22851@espresso.q9media.com> References: <20021020025400.GA13776@xor.obsecurity.org> <20021022082241.GG3325@sunbay.com> <20021022184605.GA85779@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021022184605.GA85779@xor.obsecurity.org>; from kris@obsecurity.org on Tue, Oct 22, 2002 at 11:46:05AM -0700 Organization: The FreeBSD Project Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kris Kennaway writes: > On Tue, Oct 22, 2002 at 11:22:41AM +0300, Ruslan Ermilov wrote: > > On Sat, Oct 19, 2002 at 07:54:01PM -0700, Kris Kennaway wrote: > > > World is broken if you try and build with -fno-builtin: > > > > > > c++ -O -pipe -ggdb -fno-builtin -march=pentium3 -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf -o gperf bool-array.o gen-perf.o hash-table.o iterator.o key-list.o list-node.o main.o new.o options.o read-line.o trace.o vectors.o version.o hash.o getopt.o getopt1.o > > > gen-perf.o: In function `Gen_Perf::Gen_Perf()': > > > /usr/src/contrib/gperf/src/bool-array.icc:81: warning: rand() does not produce high-quality random numbers and should not generally be used > > > /usr/obj/usr/src/i386/usr/lib/libstdc++.so: undefined reference to `fabsl' > > > *** Error code 1 > > > > > This is because we lack the > > > > long double fabsl(long double); > > > > in -lm and . > > OK, thanks for tracking it down. This looks like an important > omission that should be fixed for 5.0-R. No one has started work on any of the C99 math functions yet. I think with the exception of the math functions we conform to C99. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message