Re: [superh-gnu-discuss] mplayer argument parsing segfault with 4.4-45
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [superh-gnu-discuss] mplayer argument parsing segfault with 4.4-45
- To: Magnus Damm <magnus.damm@xxxxxxxxx>
- Subject: Re: [superh-gnu-discuss] mplayer argument parsing segfault with 4.4-45
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Tue, 29 Dec 2009 08:21:55 -0800
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@xxxxxxxxxxxxxxxx
(650) 331-3385 x713