Re: Segfault: ?


Subject: Re: Segfault: ?
From: Vlad Harchev (hvv@hippo.ru)
Date: Wed Nov 15 2000 - 09:12:26 CST


On Wed, 15 Nov 2000, Sam TH wrote:

> On Wed, Nov 15, 2000 at 08:53:27AM -0500, Pierre Abbat wrote:
> > On Wed, 15 Nov 2000, Sam TH wrote:
> > >
> > >On Wed, Nov 15, 2000 at 08:33:26AM -0500, Pierre Abbat wrote:
> > >> Latest CVS still crashes. Any suggestions?
> > >>
> > >
> > >We've found the bug. Se my post about 30 seconds ago.
> > >
> > >Basically, your glibc has a bug, which is causing the segfault.
> > >You can
> > >
> > >1) get a new glibc (the fix was made almost a year ago)
> > >2)link against our libiconv, which doesn't have the bug
> > >3) wait til later today, when Vlad will provide a patch
> > >that prevents you from seeing this problem.
> >
> > I have libiconv! Why isn't it working?
>
> By default, the linux build links with the glibc version. In order
> to change this, you would have to do some makefile hacking on your
> own. The relevant file is src/config/require/unix/Makefile

 Linux build prepends /usr/local/include to cpp's header search path for
some reason. If libiconv is installed, its iconv.h will be used instead of
glibc's iconv. So you won't be able to link AW unless you add -liconv to
Makefile (or rename iconv.h to something else). That's why my AW was linked
with libiconv at the 1st place.

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Wed Nov 15 2000 - 09:32:19 CST