Oooooold link error back again.

Jonas Bähr jonas.baehr at web.de
Fri Dec 26 12:04:55 CET 2008


Hi,

Am 26.12.2008 um 02:41 schrieb Thiago Macieira:
> Jonas Bähr wrote:
>> 00154160 t __Z24mac_fork_and_reexec_selfv
>
> That lowercase t means it's not a global symbol.
>
> Since it's not declared static, I can only conclude that the
> KDECORE_EXPORT macro isn't working.
>
> And reading kdemacros.h.cmake, it seems CMake failed to detect gcc's
> support for hidden visibility, so the macros are defined to nothing.
> That's your bug #1.
>
> The bug #2 is that, even though we failed to detect support for the  
> gcc
> attributes, we still compiled with -fvisibility=hidden.
>
> So, either we have those two bugs (which is unlikely), or something  
> else
> is interfering with kdemacros.h or the KDE_EXPORT macro. Please  
> check your
> kdemacros.h file that was generated and check the preprocessed  
> output of
> the kkernel_mac.cpp compilation.

Thanks for these pointers! I was able to locate and fix the problem.  
It was caused by an
#ifdef Q_OS_MACX
*before* the inclusion of QtGlobals, which defines Q_OS_MACX,  
therefore the header
with the KDE_EXPORT macros was always empty. Patch attached (against  
kdelibs-4.1.85).

bye,
Jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kkernel_mac.patch
Type: application/octet-stream
Size: 773 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20081226/df219346/attachment.dll 
-------------- next part --------------


>
>
> -- 
>  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
>    PGP/GPG: 0x6EF45358; fingerprint:
>    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem



More information about the Kde-buildsystem mailing list