Hello,

I want to compile the Valgrind on x86 for PowerPC target. I use the toolchain
from Buildroot, and the compilation stops with the following error message:

/opt/toolchain/usr/include/a.out.h:1:25:
     error: linux/a.out.h: No such file or directory

I guess, it comes from the disabled kernel option "BINFMT_AOUT: Kernel support
for a.out and ECOFF binaries". The problem is, that there is no kernel support
of a.out (HAVE_AOUT) for PowerPC.

Is there a way, to disable the a.out support of valgrind? On the target we
want to analyze ELF binaries only.

Best regards,

Charly




Symbol: BINFMT_AOUT [=n]
Prompt: Kernel support for a.out and ECOFF binaries
    Defined at fs/Kconfig.binfmt:87
    Depends on: HAVE_AOUT [=n]
    Location:
       -> Kernel options

Symbol: HAVE_AOUT [=n]  



linux-2.6.33-rc6 $ find . -name a.out.h
    ./include/linux/a.out.h
    ./arch/arm/include/asm/a.out.h
    ./arch/x86/include/asm/a.out.h
    ./arch/alpha/include/asm/a.out.h
    ./arch/m68k/include/asm/a.out.h
linux-2.6.33-rc6 $ 



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to