[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#321785: fakeroot: segfaults on [hppa]



---------- Initial header -----------

>From      : "John David Anglin" dave@hiauly1.hia.nrc.ca
To          : randolph@tausq.org
CC          :
doko@cs.tu-berlin.de,schizo@debian.org,carlos@baldric.uwo.ca,321785@bugs.debian.org,debian-hppa@lists.debian.org,glibc@packages.debian.org
Date      : Mon, 15 Aug 2005 19:30:09 -0400 (EDT)
Subject : Re: Bug#321785: fakeroot: segfaults on [hppa]

> > > no, it's not fakeroot, it's make segfaulting ...
> > [...]
> > > Program received signal SIGSEGV, Segmentation fault.
> > > [Switching to Thread 16384 (LWP 16911)]
> > > 0x4091fd20 in __canonicalize_funcptr_for_compare () from
/lib/libpthread.so.0
> > > (gdb) bt
> > > #0  0x4091fd20 in __canonicalize_funcptr_for_compare ()
> > >    from /lib/libpthread.so.0
> > > #1  0x4091b424 in sigaction () from /lib/libpthread.so.0
> > > #2  0x405cc950 in sigaction () from /lib/libc.so.6
> > > #3  0x405cc748 in ssignal () from /lib/libc.so.6
> > > #4  0x0001d690 in main ()
> > > (gdb)
> >
> > Confirmed. We are passing a function pointer with a value of -2 into
> > __cffc, which should not happen...
>
> I've posted a candidate gcc fix here:
> http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00923.html
>
I just grab this cvs and build quiet easily a personal package (just take
about a full day??? on a _b2k_)

> As I mentioned earlier today to Randolph, I think there should possibly
> be a pa specific implementation of sigaction that avoids doing function
> pointer canonicalization.
>
I now grab the debian libc6 pkg src to rebuild it with my own new gcc-4.0
(but my chroot disk stand on a b180 so will take time too :-)


Hth,
   Joel

PS: to build the gcc pkg is it necessary to 'make' the 'check', it seems to me
that was what consumed a lot of time?

---------------------------------------------------------------
A free anti-spam and anti-virus filter on all Scarlet mailboxes
More info on http://www.scarlet.be/



Reply to: