Error compiling kdelibs4_snapshot on AMD64
Andras Mantia
amantia at kde.org
Thu May 18 21:09:13 BST 2006
On Thursday 18 May 2006 23:02, Peter Hedlund wrote:
> The "recompile with -fPIC" seems bogus to me since that's the
> default.
>
> gcc is gcc (GCC) 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
> kernel is 2.6.16-gentoo-r7
I think this is the visibility bug in earlier gcc versions on x86_64.
Try to disable visibility support. I'm not sure how to do this with
cmake, as I see there is only a check to enable it, but not a flag to
disable it:
# visibility support
check_cxx_compiler_flag(-fvisibility=hidden
__KDE_HAVE_GCC_VISIBILITY)
if (__KDE_HAVE_GCC_VISIBILITY)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
endif (__KDE_HAVE_GCC_VISIBILITY)
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060518/bd0f4ea0/attachment.sig>
More information about the kde-core-devel
mailing list