Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 11:22:41 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@FreeBSD.org, standards@FreeBSD.org
Subject:   Re: libstdc++ does not contain fabsl symbol
Message-ID:  <20021022082241.GG3325@sunbay.com>
In-Reply-To: <20021020025400.GA13776@xor.obsecurity.org>
References:  <20021020025400.GA13776@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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

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/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 mai=
n.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 pr=
oduce 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
>=20
This is because we lack the

long double fabsl(long double);

in -lm and <math.h>.


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--U3BNvdZEnlJXqmh+
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9tQrQUkv4P6juNwoRAhBmAJ9Mcg1eCmuB6yRY6Dn5YCSA+q+FhwCeOdOi
ly1jDLX9bLVzxGxNtPHzDRs=
=LlkU
-----END PGP SIGNATURE-----

--U3BNvdZEnlJXqmh+--

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?20021022082241.GG3325>