Valgrind on ppc750 (was: Re: no-altivec assembler option)

Daniel Kegel dank@kegel.com
Mon Oct 4 22:45:00 GMT 2004


Rohan Chitradurga wrote:
>...  the hardware
> doesnt have an altivec unit. I am facing this problem when I am trying to
> cross compile valgrind for ppc750. There is an experimental valgrind by Paul
> Mackerras available on http://valgrind.kde.org/related.html. ...
> 
> It fails when it tries to compile an assembly file...

[ I get errors "invalid opcode stvx, mtvrsave, mfvrsave etc". ]

I suspect vg_ppc_helpers.S needs to somehow not use altivec if not present.
Maybe you could surround the innards of the load_vec_state etc. functions with #if HAVE_ALTIVEC,
and add a check for altivec assembler support into the configure script ?
Good luck!
- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list