Bug#962518: cegui-mk2 FTBFS on mipsel/mips64el: symbol differences

Simon McVittie smcv at debian.org
Tue Jun 9 21:08:25 BST 2020


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]bunk at 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"))).

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

    smcv



More information about the Pkg-games-devel mailing list