[parisc-linux] [roland@redhat.com: Re: [PATCH] glibc 2.2.94 - hppa - min kernel and unwind-find-fde]

Carlos O'Donell carlos@baldric.uwo.ca
Tue, 1 Oct 2002 23:14:06 -0400


> > Please figure it out and be sure.  You need it only if there are existing
> > old C++ binaries that have references to _Unwind_Find_FDE.  If there are no
> > C++ binaries you want to be compatible with that predate a certain GCC
> > version (not sure which off hand), then you don't need it.  But I don't
> > think it hurts to have it.
> 
> I believe that this is needed for dw2 exception support.  This doesn't
> work with gcc 3.0.4, so I don't think you need to worry much about old
> binaries.

So the rationale is:
It never worked, so removing it still leaves non-working old C++ binaries.

I assume I would be able to test this by looking at all the C++ binaries 
in the hppa archive and looking for ref's to _Unwind_Find_FDE.
 
> > > 2002-10-01  Matthew Wilcox  <willy@debian.org>
> > > 
> > > 	* sysdeps/unix/sysv/linux/configure: 
> > > 	Make 2.4.18 minimum linux kernel for hppa, and add 
> > > 	libc_cv_gcc_unwind_find_fde=yes.
> > 
> > This log entry is for a generated file, and there is no log entry for the
> > actual source file.
> 
> I noticed this when I was fixing the gcc dw2 exception support.  Changing
> it didn't seem to have any affect on the v3 or g++ testsuite results, but
> it seems the correct thing to do.
> 

Setting "libc_cv_gcc_unwind_find_fde=no" seems the correct thing to do?
                                    ^^^^
c.