Re: Shared libraries and visibility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/19/2013 01:25 PM, Martin Richtarsky wrote:
>  2) The -Bsymbolic ld flag also looks very promising:
>  "When creating a shared library, bind references to global symbols to 
>  the
>   definition within the shared library, if any."

-Bsymbolic is very dangerous.  It means that the program has multiple
definitions of the same symbol, so initialization code can initialize
the wrong data.  -Bsymbolic-functions is much safer, but even then
it's risky.  Things will break.

Andrew.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux