[superh-gnu-discuss] mplayer argument parsing segfault with 4.4-45

Mark Mitchell mark at codesourcery.com
Tue Dec 29 16:21:55 UTC 2009


Magnus Damm wrote:

> The mplayer source is fairly large so I suspect that the issue needs
> to be tracked down further. Do you have any pointer to a more fine
> grained step by step document that can be followed to produce these
> things for you? I'm quite busy though so I'm afraid I'll just add this
> to my TODO list for now.

The first technique is to mix object files between the good and bad
builds.  Build the whole thing with both compilers, but then link half
of the object files from the good build with the other half from the bad
build.  Continue to bisect things until you have a bad object file.  If
you're lucky, that's a small object file with just one or two functions
in it, and it will be obvious what's been miscompiled -- or what's buggy
 in the source code.

-- 
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713



More information about the superh-gnu-discuss mailing list