From kde-core-devel Sat Apr 23 22:00:06 2005 From: George Staikos Date: Sat, 23 Apr 2005 22:00:06 +0000 To: kde-core-devel Subject: -Wl,--as-needed Message-Id: <200504231800.06577.staikos () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=111429364420660 This linker flag, -Wl,--as-needed, is causing some rather major problems for Kst build. If it's included, at least with my SuSE 9.2 install, it completely botches the GSL link and causes our plugins to crash when running. The only way to remove the flag (which makes it link properly), is to remove $(all_libraries), but that breaks compile on other platforms. Does anyone know if there's a problem with SuSE 9.2's ld or gsl packages? Or can we come up with a solution to optionally remove that flag? The details of the problem are that with the flag, when I link gslcblas and gsl into a plugin, it seems to drop gslcblas for no apparent reason. It's definitely needed though. The plugin crashes due to missing symbol when running it without gslcblas linked in. -- George Staikos KDE Developer http://www.kde.org/ Staikos Computing Services Inc. http://www.staikos.net/