--- Comment #5 from chat95 at mac dot com 2007-04-27 08:01 ---
Andrew Pinski: It seems ldconfig doesn't detect 4.2 libstdc++.
I removed gcc-4.1 and gcc-4.2 compiled executable now find correct version
of libstdc++...
marked as worksforme.
thanks for your attention.
--
chat95 at mac
--- Comment #4 from chat95 at mac dot com 2007-02-05 02:39 ---
it seems amd64 only. with i386-portbld-freebsd6.2,
% g++42 -v
Using built-in specs.
Target: i386-portbld-freebsd6.2
Configured with: ./..//gcc-4.2-20070110/configure --disable-nls
--with-system-zlib --with-libiconv-prefix=/us
--- Comment #3 from chat95 at mac dot com 2007-02-05 02:34 ---
Sorry for long delay...
No, I'm using 4.2's libstdc++.
% g++42 -O -fno-strict-aliasing -pipe -o gendoc gendoc.cc ; ldd ./gendoc
./gendoc:
libstdc++.so.6 => /usr/local/lib/gcc-4.1.2/libstdc++.so.6 (0x8006a3000)
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30423
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-10 16:34 ---
% ./gendoc
/libexec/ld-elf.so.1: ./gendoc: Undefined symbol "_ZNSo9_M_insertEPKcl"
This makes it sound like libstdc++'s ABI has changed slightly but just in a
forwards compatiable way.
Can you try to force using
--- Comment #1 from chat95 at mac dot com 2007-01-10 10:48 ---
Created an attachment (id=12878)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12878&action=view)
a testcase actually used file. from octave-2.9.9
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30423