From: David Neary (nearyd at domain khumbu.eeng.dcu.ie)
Date: Mon 04 Oct 1999 - 14:53:19 IST
Has anyone had problems with libg++, libstdc++ and egcs in Redhat 6? I
think I may have asked this before, but I'm not sure, and I've still not
sorted it, so I may as well send it in for analysis again :)
I have a number of C++ files which I know work, they compiled and ran on
RH5.2 and solaris. But on my shiny new redhat 6 box, the following
1) First run, I got a number of "Undefined reference to `__eh_pc'" errors,
with "more to follow". Eventually, I figured that __eh_pc is part of
libstdc++.so, which is in /usr/lib, which was a little odd...
2) I added -L/usr/lib to the linker option list (a bizarre looking line, I
know) and the code compiled without errors. But when run, all of the
exectutables which resulted seg fault and dump core at the last output,
which doesn't make any sense to me...the core dumps are in either vfprintf
or iostream::~iostream, depending on the context.
All in all it's very odd. At least to me. Does anyone have any ideas? I am
using egce-c++-1.1.2, egcs-1.1.2, libg++-126.96.36.199, libstdc++-2.9.0 and
libstdc++-2.8.0 (after the failures I reinstalled the RH5.2 rpms to try to
get a last known good setup), libstdc++-devel-2.8.0 and the gcc which
comes with redhat 6 (not sure of a version). This problem's causing me
huge headaches at the moment, so any help would be greatly appreciated.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:39 GMT