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

Re: building symbols



On 19/11/15 11:55, Jakub Wilk wrote:
* Nico Schlömer <nico.schloemer@gmail.com>, 2015-11-18, 22:52:
I'm building the symbols for all libraries in the Trilinos package.
Unfortunately, the documentation [1] isn't too verbose here. One thing
that has come to my attention, for example, is the fact that some
Trilinos libraries appear to contain lots of symbols; including some
(all?) of dependent libraries, e.g.,
```
MPI::Op::Free()@Base
```
see [2] (towards the end of the build log).
This amounts to symbols files of several megabytes in size per
library. Perhaps something is going wrong at the linking stage?
Pointers to more documentation/tips and tricks are appreciated.

My recommendation is to avoid using symbol files for complex C++
libraries. It's most likely not worth the effort.

See this blog post series by Russ Allbery:
http://www.eyrie.org/~eagle/journal/2012-01/007.html
http://www.eyrie.org/~eagle/journal/2012-01/008.html
http://www.eyrie.org/~eagle/journal/2012-02/001.html


I second Jakub's opinion.

Ghis


Reply to: