libport: Mark internal functions and data tables as hidden.

Francois Gouget fgouget at free.fr
Tue Mar 1 04:40:48 CST 2016


commit 34174e2ca8cb61150d3d880400d8231a39d38307
Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Feb 24 13:36:41 2016 +0900

    libport: Mark internal functions and data tables as hidden.


This patch breaks the compilation on Solaris 11.11:

ld: fatal: relocation error: R_386_GOTOFF: file 
../../libs/port/libwine_port.a(fold.o): symbol wine_digitmap: a GOT 
relative relocation must reference a local symbol
ld: fatal: relocation error: R_386_GOTOFF: file 
../../libs/port/libwine_port.a(fold.o): symbol wine_compatmap: a GOT 
relative relocation must reference a local symbol


Removing the DECLSPEC_HIDDEN on wine_digitmap(), wine_compatmap() but 
also wine_compose() and wine_decompose() fixes this. As far as I can 
tell the linker considers that hidden symbols are not visible outside 
the static library.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
                  A black hole is just God dividing by zero.



More information about the wine-devel mailing list