Bug#35389: glibc2.1 segfaults for C++ stream code from glibc2.0 system
On Wed, 31 Mar 1999 23:14:37 -0500 (EST), Dirk Eddelbuettel wrote:
>
>Package: libc6
>Version: 2.1.1-0pre1.2
>
>Two bugs were reported against Octave as the glibc2-compiled version
>segfaults under glibc2.1. Compiling with debugging enabled, and running
>under gdb revealed that the segfault is not caused by Octave itself, but
>rather by an interaction between glibc2.1 and stdlibc++.
I ran your test program on my potato system and got no segfault. Have
you updated libstdc++ as well as libc? libstdc++ must be recompiled
to work with glibc 2.1. My package versions are:
libc6 2.1.1-0.1
libstdc++2.9 2.91.61-1
libstdc++2.9-dev <not installed>
libstdc++2.9-glibc2.1 2.91.63-1.1
libstdc++2.9-glibc2.1-dev 2.91.63-1.1
If you didn't replace the old -dev package, you'll be linking new
programs with the old libstdc++, which won't work.
You appear to have a later version of libc6 than me; where did you
find it? ftp.us.debian.org doesn't have it.
zw
Reply to: