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

Florian Fainelli <[email protected]>
Newsgroups gmane.comp.lib.uclibc.general
Message-ID <CAGVrzcaFF5hGqBib8f44fOGUZNmapswTxAtUsmfdwCKX92rVaw@mail.gmail.com>
2015-02-23 17:06 GMT-08:00 Jean Lee <[email protected]>:
> 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 <[email protected]>于2015年2月24日星期二写道:
>
>> On February 23, 2015 10:23:21 PM GMT+01:00, Andrew Bennett <
>> [email protected]> 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
> [email protected]
> http://lists.busybox.net/mailman/listinfo/uclibc



-- 
Florian
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.