https://bugs.kde.org/show_bug.cgi?id=415516
            Bug ID: 415516
           Summary: Can't cross compile on openwrt
           Product: valgrind
           Version: 3.15 SVN
          Platform: Other
                OS: other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: vex
          Assignee: jsew...@acm.org
          Reporter: kevin_...@foxmail.com
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE
1. cd valgrind-3.15.0
2. ./configure --host=mipsel-openwrt-linux
CC=/root/Desktop/CC_TOOLS/bin/mipsel-openwrt-linux-gcc
CPP=/root/Desktop/CC_TOOLS/bin/mipsel-openwrt-linux-cpp
CXX=/root/Desktop/CC_TOOLS/bin/mipsel-openwrt-linux-g++ 
LD=/root/Desktop/CC_TOOLS/bin/mipsel-openwrt-linux-ld
AR=/root/Desktop/CC_TOOLS/bin/mipsel-openwrt-linux-ar
--prefix=/home/wei/valgrind 
3. make

OBSERVED RESULT
/tmp/ccrjZn2z.s:4568: Error: unrecognized opcode `cfcmsa $t0,$1'
/tmp/ccrjZn2z.s:4569: Error: unrecognized opcode `ctcmsa $1,$4'
/tmp/ccrjZn2z.s:4570: Error: unrecognized opcode `ld.b $w24,0($2)'
/tmp/ccrjZn2z.s:4571: Error: unrecognized opcode `ld.b $w26,0($3)'
/tmp/ccrjZn2z.s:4572: Error: unrecognized opcode `fadd.w $w24,$w24,$w26'
/tmp/ccrjZn2z.s:4573: Error: unrecognized opcode `cfcmsa $2,$1'
/tmp/ccrjZn2z.s:4574: Error: unrecognized opcode `ctcmsa $1,$t0'
/tmp/ccrjZn2z.s:4593: Warning: tried to set unrecognized symbol: msa

/tmp/ccrjZn2z.s:4595: Error: unrecognized opcode `cfcmsa $t0,$1'
/tmp/ccrjZn2z.s:4596: Error: unrecognized opcode `ctcmsa $1,$4'
/tmp/ccrjZn2z.s:4597: Error: unrecognized opcode `ld.b $w24,0($2)'
/tmp/ccrjZn2z.s:4598: Error: unrecognized opcode `ffint_u.d $w24,$w24'
/tmp/ccrjZn2z.s:4599: Error: unrecognized opcode `cfcmsa $2,$1'
/tmp/ccrjZn2z.s:4600: Error: unrecognized opcode `ctcmsa $1,$t0'
/tmp/ccrjZn2z.s:4642: Warning: tried to set unrecognized symbol: msa

/tmp/ccrjZn2z.s:4644: Error: unrecognized opcode `cfcmsa $2,$0'
make[3]: *** [priv/libvex_mips32_linux_a-guest_mips_helpers.o] Error 1
make[3]: Leaving directory `/home/wei/valgrind-3.15.0/VEX'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/wei/valgrind-3.15.0/VEX'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wei/valgrind-3.15.0'
make: *** [all] Error 2


EXPECTED RESULT
make finish

SOFTWARE/OS VERSIONS valgrind-3.15.0
Windows: Vmware ubuntu 14.04LTS
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: openwrt chaos calmer
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
mipsel-openwrt-linux-gcc --version
mipsel-openwrt-linux-uclibc-gcc.bin (OpenWrt/Linaro GCC 4.8-2014.04 r47072)
4.8.3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to