[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Error compiling kdelibs4_snapshot on AMD64
From:       Andras Mantia <amantia () kde ! org>
Date:       2006-05-18 20:09:13
Message-ID: 200605182309.13632.amantia () kde ! org
[Download RAW message or body]


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

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic