[Buildroot] [buildroot 0001543]: gcc 4.1.2 libmudflap fails to build due to missing execinfo.h

Hamish Moffatt hamish at cloud.net.au
Fri Oct 19 08:37:45 UTC 2007


On Fri, Oct 19, 2007 at 09:31:12AM -0100, Kuten Ivan wrote:
> > Description: 
> > During the gcc-4.1.2-final build, libmudflap files to compile due to
> > missing execinfo.h. configure detects that execinfo.h exists but is
> > unusable, but that's because it used the wrong cpp and found the host
> > version instead.
> > 
> > The fix is to pass CPP=<target_cpp>, as in the attached patch.
> 
> Is that bug specific to "gcc-4.1.2 + oabi + soft float" configuration?
> Because I remember to build&run all correctly with "gcc-4.1.2 + eabi + no soft float".

Hi Ivan,

I have no idea - I did not try EABI. I wasted too much time with 4.2.1
with EABI to try it again. Maybe this patch is not required for everyone
but it was required for me.

Soft float does not compile for OABI for other reasons (see the other
bug I submitted) too so who knows.

I had 4.2.1 OABI working, but a kernel I compiled with it does not boot.
4.1.2 compiles the same kernel with a working result.

Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>



More information about the buildroot mailing list