Re: Fixed strace [ was Re: ls -l is broken ]

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

 



> On Tue, May 05, 2009 at 03:09:50PM -0400, John David Anglin wrote:
> > Probably, the cast should be to int.  __canonicalize_funcptr_for_compare
> > isn't used in the 64-bit runtime.
> > 
> > Still, I'm not sure why this fixed the problem as
> > __canonicalize_funcptr_for_compare checks for -1.
> > 
> 
> If we cast both sides to int, then we don't generate a call there...

That will certainly fix the problem but I'd really like to know
why we get a segv.  I suspect we are not handling a deferred function
pointer correctly.

Dave
-- 
J. David Anglin                                  dave.anglin@xxxxxxxxxxxxxx
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux