| Summary: | Can't cross compile on openwrt | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | wei <kevin_jia> |
| Component: | vex | Assignee: | Julian Seward <jseward> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | arikalo, mips32r2 |
| Priority: | NOR | ||
| Version First Reported In: | 3.15 SVN | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
config.log
Fix OpenWRT build [WIP] |
||
|
Description
wei
2019-12-24 08:25:12 UTC
Created attachment 124683 [details]
config.log
OpenWrt GCC 8.3.0 r11655-a283b17 update GCC version can solve it. Created attachment 126374 [details]
Fix OpenWRT build [WIP]
Hi, this patch fixes the "msa" issue with "mipsel-openwrt-linux-uclibc-gcc.bin (OpenWrt/Linaro GCC 4.8-2014.04 r47072) 4.8.3"
Please let me know is it helpful.
However, there is another problem during linkage of vgdb:
/work/toolchain/iDetect-839d28effb806ce37c6c85b0da3de22bd6255450/OpenWrt-Toolchain-ramips-mt7688_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/lib/libpthread.so.0: undefined reference to `dlopen'
/work/toolchain/iDetect-839d28effb806ce37c6c85b0da3de22bd6255450/OpenWrt-Toolchain-ramips-mt7688_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/lib/libpthread.so.0: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
Makefile:2883: recipe for target 'vgdb' failed
It seems that dlopen/dlsym functions are missing in provided version of uClibc. Have you ever encountered this situation (using this particular version of toolchain) ?
Best wishes,
Aleksandar
I would suggest that this issue gets resolved by upgrading toolchain version, if possible. |