[PATCH]mips: ldso: dlopen with flag RTLD_NOW should look up the symbols

Florian Fainelli f.fainelli at gmail.com
Tue Feb 24 17:36:52 UTC 2015


2015-02-23 17:06 GMT-08:00 Jean Lee <xiaoyur347 at gmail.com>:
> I tested the following environment with MIPS32, with CPU BCM7429(MIPS
> r3000),

This is a BMIPS5000 CPU, fully compatible with the mips32r1 ISA, not a
R3000-class MIPS processor per-se.

> (1)
> mipsel-linux-uclibc-gcc 4.5.3-2.4 (compiled by Broadcom)
> binutils 2.19(GNU ld (GNU Binutils) 2.19.92.20091006)
> uclibc 0.9.32-1
> Segment fault.
> (2)
> mipsel-linux-uclibc-gcc 4.5.3-2.4 (compiled by Broadcom)
> binutils 2.19(GNU ld (GNU Binutils) 2.19.92.20091006)
> uclibc 0.9.34 git master
> Segment fault.

As another data point, you might want to try a newer toolchain from
Broadcom here:
http://www.broadcom.com/support/stb/

> (3)
> mipsel-linux-uclibc-gcc 4.8 (compiled by Broadcom)
> binutils ?
> uclibc ?
> No .rel.plt segment.
> (4)
> mipsel-linux-uclibc-gcc 4.9 (compiled by me)
> binutils 2.19(GNU ld (GNU Binutils) 2.19.92.20091006)
> uclibc 0.9.32-1
> Segment fault.
> (5)
> mips android ndk toolchain
> No .rel.plt segment.
>
>
> Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>于2015年2月24日星期二写道:
>
>> On February 23, 2015 10:23:21 PM GMT+01:00, Andrew Bennett <
>> Andrew.Bennett at imgtec.com> wrote:
>> >> Andrew, thanks for your reply. You are a mips engineer~
>> >> I have a following example for dlopen problem, which I tested a few
>> >days ago,
>> >> but I have no mips environment these days. Would you mind to test it
>> >for me. Many thanks.
>> >
>> >Many thanks for the testcase I will give it a try.
>>
>> Which compiler and version do you use, which version of binutils and which
>> MIPS ABI?
>>
>> Thanks,
>>
>>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc



-- 
Florian


More information about the uClibc mailing list