Date: Tue, 22 Oct 2002 12:40:38 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Kris Kennaway <kris@obsecurity.org> Cc: Ruslan Ermilov <ru@FreeBSD.org>, current@FreeBSD.org, standards@FreeBSD.org Subject: Re: libstdc++ does not contain fabsl symbol Message-ID: <3DB5A9B6.1C2D1684@mindspring.com> References: <20021020025400.GA13776@xor.obsecurity.org> <20021022082241.GG3325@sunbay.com> <20021022184605.GA85779@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote: > > > /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. Is it? What standard defines this thing, which g++ has as a built-in? Alternately, the use could avoid adding the "-fno-builtin", and the problem would go away. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB5A9B6.1C2D1684>