Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2002 12:25:32 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        <obrien@freebsd.org>
Cc:        <current@freebsd.org>
Subject:   libstdc++ problem with recent CURRENT
Message-ID:  <20020530120706.Q18017-100000@levais.imp.ch>

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

Hi David,

I've now problems linking with stlport lib with our native g++:

../unxfbsd.pro/obj/syshelp.o -lc_r -lm -lstlport_gcc -lsupc++ -Wl,-Bdynamic
-lstlport_gcc -lc_r -lsupc++

/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/lib/libstlport_gcc.so:
undefined reference to `sqrtl'
/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/lib/libstlport_gcc.so:
undefined reference to `sinl'
/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/lib/libstlport_gcc.so:
undefined reference to `cosl'

There seem to be some math bits missing in the OS installed
version. They exist in the gcc3.1 port from march.

CURRENT libstdc++
-----------------

# nm /usr/lib/libstdc++.a | grep sqrtl

CURRENT GCC31 port from march
-----------------------------

# nm /usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/3.1/libstdc++.a | grep sqrtl

0000018a T sqrtl

STABLE GCC31 port from mai25
----------------------------

# nm /usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/3.1/libstdc++.a | grep sqrtl
0000018a T sqrtl

Martin

Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP: <finger -l mbr@freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020530120706.Q18017-100000>