Date: Tue, 22 Oct 2002 11:46:05 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.org, standards@FreeBSD.org Subject: Re: libstdc++ does not contain fabsl symbol Message-ID: <20021022184605.GA85779@xor.obsecurity.org> In-Reply-To: <20021022082241.GG3325@sunbay.com> References: <20021020025400.GA13776@xor.obsecurity.org> <20021022082241.GG3325@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 <math.h>. OK, thanks for tracking it down. This looks like an important omission that should be fixed for 5.0-R. Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9tZztWry0BWjoQKURAleBAJ9t9CyplmChvxX0LWMpo0aqsjRRVQCfYhPN v3XJLR6KkGJAv4wwqPZZvLk= =XMMw -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021022184605.GA85779>
