Skip site navigation (1)Skip section navigation (2)
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

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> >=20
> > c++  -O -pipe -ggdb -fno-builtin -march=3Dpentium3    -I/usr/src/gnu/us=
r.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf  -o gpe=
rf bool-array.o gen-perf.o hash-table.o iterator.o key-list.o list-node.o m=
ain.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 `fab=
sl'
> > *** Error code 1
> >=20
> This is because we lack the
>=20
> long double fabsl(long double);
>=20
> 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

--5vNYLRcllDrimb99
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9tZztWry0BWjoQKURAleBAJ9t9CyplmChvxX0LWMpo0aqsjRRVQCfYhPN
v3XJLR6KkGJAv4wwqPZZvLk=
=XMMw
-----END PGP SIGNATURE-----

--5vNYLRcllDrimb99--

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?20021022184605.GA85779>