[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:       Alexander Neundorf <neundorf () kde ! org>
Date:       2006-05-18 21:35:27
Message-ID: 200605182335.27961.neundorf () kde ! org
[Download RAW message or body]

On Thursday 18 May 2006 22:09, Andras Mantia wrote:
> 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)

Please tell me whether commenting this out works for you, we'll add a switch 
then.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net
[prev in list] [next in list] [prev in thread] [next in thread] 

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