|
From: Petar J. <mip...@gm...> - 2015-04-11 02:37:27
|
> * /tmp/ccpgn2sW.s:3257: Error: opcode not supported on this processor: mips2 (mips2) `clo $t0,$t1'> /tmp/ccpgn2sW.s:3345: Error: opcode not supported on this processor: mips2 (mips2) `clz $t0,$t1'> /tmp/ccpgn2sW.s:8311: Error: opcode not supported on this processor: mips2 (mips2) `madd $t0,$t1'> I did a bit research on 'clo' (clear ones). It looks like it should besupported. I think I'm missing the correct arch specification to gcc.* @Rich The errors you see come from the fact that Debian GCC (and Debian MIPS in general) is still set to the ancient mips2 variant. If you want to configure Valgrind and the tests for your MIPS32 capable system, pass "CFLAGS=-mips32" (or -mips32r2 for more optimal Valgrind if you run on MIPS32r2 capable CPU/emulator) to your configure line. Regards, Petar On Sat, Apr 11, 2015 at 1:16 AM, Rich Coe <rc...@wi...> wrote: > On Fri, 10 Apr 2015 10:41:10 -0500 > Rich Coe <rc...@wi...> wrote: > > On Wed, 8 Apr 2015 08:35:09 -0500 > > Rich Coe <rc...@wi...> wrote: > > > For mips or ppc, without JeOS, there should be a way to mount a > distribution > > > dvd of linux and install another platform. I'd have to look into it. > > > > I worked on creating a mips and a ppc qemu installation. I started with > ppc > > because I know that platform better. > > I created a qemu installation for mips from > wget > http://ftp.de.debian.org/debian/dists/wheezy/main/installer-mipsel/current/images/malta/netboot/vmlinux-3.2.0-4-4kc-malta > wget > http://ftp.de.debian.org/debian/dists/wheezy/main/installer-mipsel/current/images/malta/netboot/initrd.gz > > by running: > qemu-system-mipsel -m 256 -hda deb-mips.qcow2 -kernel > vmlinux-3.2.0-4-4kc-malta -initrd initrd.gz -append "root=/dev/ram > console=ttyS0" -nographic > > I installed: gcc g++ make automake autoconf subversion > > I built valgrind with the following config parameters: > Maximum build arch: mips32 > Primary build arch: mips32 > Secondary build arch: > Build OS: linux > Primary build target: MIPS32_LINUX > Secondary build target: > Platform variant: vanilla > Primary -DVGPV string: -DVGPV_mips32_linux_vanilla=1 > Default supp files: exp-sgcheck.supp xfree-3.supp xfree-4.supp > glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.X.supp > > V builds ok. When I try to build the tests, it fails building MIPS32int.c > with many errors (with duplicates removed) like > /tmp/ccpgn2sW.s:3257: Error: opcode not supported on this processor: mips2 > (mips2) `clo $t0,$t1' > /tmp/ccpgn2sW.s:3345: Error: opcode not supported on this processor: mips2 > (mips2) `clz $t0,$t1' > /tmp/ccpgn2sW.s:8311: Error: opcode not supported on this processor: mips2 > (mips2) `madd $t0,$t1' > > I did a bit research on 'clo' (clear ones). It looks like it should be > supported. I think I'm missing the correct arch specification to gcc. > > Rich > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |