On Tue, Jun 09, 2020 at 09:08:25PM +0100, Simon McVittie wrote: > On Tue, 09 Jun 2020 at 15:21:37 -0400, Olek Wojnar wrote: > > On Tue, Jun 9, 2020 at 6:12 AM Adrian Bunk <[1]b...@debian.org> wrote: > > > I wonder if the real fix shouldn't be for cegui-mk2 to stop exporting > > a > > pile > > > of Boost symbols... > > > > > > I would love that. Any advice on a reasonably easy/straightforward way of > > doing > > that? > > *If* your upstream is on board with this, my understanding is that > the main way to do this is to build with -fvisibility=hidden, > and decorate each intentionally-public class/function/thing > with a macro that (when building with gcc or clang) expands to > __attribute__((__visibility__("hidden"))).
"default", not "hidden" > Some upstreams will be doing something similar already, because they are > portable to Windows and need to decorate public symbols with > __declspec(dllexport) on Windows. > > See: https://gcc.gnu.org/wiki/Visibility Please add something like what you wrote in this email to https://wiki.debian.org/UsingSymbolsFiles > smcv Thanks Adrian