Thank you very much for clarification.
>> > Having that in mind, we have:
>> > 1) All shared libraries for Android are built with -Bsymbolic
>> > 2) Dynamic loader throws an error if we are doing COPY relocation
>> > against DT_SYMBOLIC libs.
>> >
>> > So any COPY relocation is doomed to failure..
2013/4/3 Andrew Haley
>
> On 04/03/2013 11:02 AM, Alexander Ivchenko wrote:
>
> > Thank you for your answers, seems that the question about the reason
> > with default -Bsymbolic is still open.. we are not clairvoyant, but it
> > is implemented in GCC so we should understand the reason :)
>
>
Bio
On 04/03/2013 11:02 AM, Alexander Ivchenko wrote:
> Thank you for your answers, seems that the question about the reason
> with default -Bsymbolic is still open.. we are not clairvoyant, but it
> is implemented in GCC so we should understand the reason :)
I suppose so, but we always follow the pl
Hi,
Thank you for your answers, seems that the question about the reason
with default -Bsymbolic is still open.. we are not clairvoyant, but it
is implemented in GCC so we should understand the reason :)
Having that in mind, we have:
1) All shared libraries for Android are built with -Bsymbolic
2
On 03/29/2013 06:55 PM, Alexander Ivchenko wrote:
> When compiling a shared library with "-mandroid -shared" the option
> -Bsymbolic for linker is turned on by default. What was the reason
> behind that default? Isn't using of -Bsymbolic somehow dangerous and
> should be avoided..?
Yes indeed, -
2013/4/3 Maxim Kuvyrkov
>
> Now, it appears the problem is that an application cannot use COPY
> relocation to fetch a symbol out of shared -Bsymbolic library. I don't
> quite understand why this is forbidden by Bionic's linker. I understand why
> COPY relocations shouldn't be applied to the ins
On 30/03/2013, at 7:55 AM, Alexander Ivchenko wrote:
> Hi,
>
> When compiling a shared library with "-mandroid -shared" the option
> -Bsymbolic for linker is turned on by default. What was the reason
> behind that default? Isn't using of -Bsymbolic somehow dangerous and
> should be avoided..? (a
Hi,
When compiling a shared library with "-mandroid -shared" the option
-Bsymbolic for linker is turned on by default. What was the reason
behind that default? Isn't using of -Bsymbolic somehow dangerous and
should be avoided..? (as e.g. is explained in the mail from Richard
Henderson http://gcc.