Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311251 - Fail to compile from source due to qt compiled without support for -fvisibility=hidden
Summary: Fail to compile from source due to qt compiled without support for -fvisibili...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 02:06 UTC by Piotrek Juzwiak
Modified: 2010-03-25 21:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.txt,3.28 KB, text/plain)
2010-03-25 11:41 UTC, Piotrek Juzwiak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotrek Juzwiak 2010-03-25 02:06:11 UTC
"CMake Error at /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:1170 (message):
  Qt compiled without support for -fvisibility=hidden.  This will break
  plugins and linking of some applications.  Please fix your Qt installation.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
  CMakeLists.txt:5 (find_package)"

This is the second package i tried to compile from source that complains about this. Earlier i tried to compile smooth tasks now chromi window manager and they both complained about the above issue. Now how can i resolve this issue? There doesn't seem to be any switches for qt that would enable support for this?

Reproducible: Always

Steps to Reproduce:
1.Try to compile some kde application from source
2.
3.

Actual Results:  
cmake complains about missing support for -fvisibility-hidden

Expected Results:  
It should compile whatever i try to compile without barfing
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-03-25 06:52:21 UTC
Please post emerge --info output.
Comment 2 Piotrek Juzwiak 2010-03-25 11:41:28 UTC
Created attachment 225213 [details]
emerge --info
Comment 3 Piotrek Juzwiak 2010-03-25 21:28:35 UTC
I have found the culprit of this bug. Apparently i can't compile it on a partition that has noexec in fstab. When i moved it to /tmp which belongs to / i could normally compile it without that -fvisibility=hidden message