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

Re: debian/*.symbols files for C++ libraries



Hi Scott, hi KDE team

On  Mo 17 Feb 2020 22:32:18 CET, Scott Kitterman wrote:

On February 17, 2020 9:23:39 PM UTC, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:
Hi all,

(please Cc: me when replying. Thanks.)

I'd like to warm up an old topic regarding creation of *.symbols files

for shared libraries implemented in C++.

I have followed all links in [1] and esp. read Russ Alberries
experiment results [2,3]. All writing are quite old and I wonder if
something new has come up meanwhile (improved tool chains, etc).

Until now, I mostly avoided writing .symbols files for C++ shared libs.

However, here comes the question: How do people handle .symbols files
these days if they originate from C++ code? How do people make sure
the .symbols files are correct for all supported architectures? What
tool chains are used? Are there other good reads about the topic?

My current context: I want to fix various build failures of lib-cpp
related packages relevant for upcoming Unity8.

Thanks + Greets,
Mike

[1] https://wiki.debian.org/UsingSymbolsFiles
[2] https://www.eyrie.org/~eagle/journal/2012-01/008.html
[3] https://www.eyrie.org/~eagle/journal/2012-02/001.html

Here's what the QT/KDE team use:

https://qt-kde-team.pages.debian.net/symbolfiles.html

https://manpages.debian.org/testing/pkg-kde-tools/pkgkde-symbolshelper.1.en.html

I've used it for other C++ packages with pretty good success.

I have updated some of my C++ pkgs with .symbols files and it works like charme. I tried the pkg-kde-tools at an earlier point (several years ago) and wasn't happy with it.

But I am now. Thanks to all pkg-kde-tools hackers for the symbols helper. Much appreciated.

light+love
Mike

--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgpsTer7Wmufo.pgp
Description: Digitale PGP-Signatur


Reply to: