This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Issue with LTO/-fwhole-program


Richard Guenther <richard.guenther@gmail.com> writes:

> Commons between shared libraries and a program can't work.

Technically speaking, shared libraries never have common symbols.

They can have defined symbols which are labelled as, in essence,
"formerly common," and those can be made to work correctly under
certain restrictions, namely that the run time shared library does not
have a larger version of the symbol than the link time shared library.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]