Summary: | [Cavium Octeon 2 MIPS64] valgrind is up but ld.so assert "rtld.c: 1257: dl_main: Assertion `_rtld_local._dl_rtld_map.l_relocated' failed" and exits | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Vien <vienmai2000> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | major | CC: | dejanjevtic87, ivosh, mips32r2 |
Priority: | NOR | ||
Version: | 3.9.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Vien
2014-05-12 10:59:58 UTC
I wonder if this some variant of the SHMBLA problem. Petar, any idea? @Vien Mai Can you share the command line that you use to configure Valgrind? What's the pagesize value on the Cavium board? What's the system you use to run Valgrind on? What board/CPU are you running it on? Hi Petar, 1. Belows are commands I have used: export PATH=<path_to_mips64_gcc>:$PATH export CC=mips64-gcc export LD=mips64-ld export AR=mips64-ar export RANLIB=mips64-ranlib export CXX=mips64-g++ export STRIP=mips64-strip On the first try, I configure: ./configure --prefix=/ --host=mips64-linux-gnu --with-pagesize=4 The issue comes, so I try with: ./configure --host=mips64-target-linux-gnu --build=x86_64-crosscompile-linux-gnu --prefix=/ Issue comes also. 2. I have written one executable to invoke getpagesize() function. The value comes out as 4096 (4kb). Hence, I think the configuration is correct. 3. I'm running valgrind on a Calvium Octeaon ii mips64 with Linux kernel 2.6. This is a big-endian mips64. Please check if provided information is useful from your site. Regards, Vien Mai. (In reply to Vien from comment #3) Are you using c-lib compatible toolchain for Valgrind (i.e. compatible with the system libraries on the board)? What C-library do you have on the system? Can you give more details on the toolchain you are using? Does Valgrind executable work if you do not pass any parameter to it? Is the rootfs built with Cavium specific toolchain or a regular MIPS64 toolchain? Any update here? Any update here, Vien? As there have been no updates to this issue for years now, I think we should close it. |