[kde-solaris] Official way to fix the relocation bug on Solaris
x86 using GCC/KDE 3.2.3
clayne at anodized.com
Fri Aug 27 10:00:28 CEST 2004
It is not just khtml BTW. Regardless, "-mimpure-text" is
available on Solaris x86 and gcc 3.x. I've been using it.
bug 87209 on bugs.kde.org.
NO_EXPORT is the best way, but there are still sections
of Makefiles that require even more manual tweaking.
On Thu, Aug 26, 2004 at 01:34:08PM -0700, ken mays wrote:
> To fix what is said here. The '-impure-text' option in
> GCC 3.3.x is NOT available in Solaris x86 --> only for
> Solaris SPARC versions of GCC. So, any info leading to
> '-z defs' or '-z text' or '-mimpure-text' or '-fPIC or
> -fpic' is not accurate when compiling KDE 3.2.3 on
> Solaris x86 to fix the relocation error or 'visibility
> flag' errors.
> The problem is isolated to the khtml directory for
> KDElibs 3.2.3 dealing with libkthml.la compilation. I
> went back and changed kdecore/kdemacros.h by deleting
> the information after #define KDE_NO_EXPORT...
> I did a 'gmake clean' and 'gmake' in the khtml
> directory and got a clean compile on Solaris 8 x86
> with GCC 3.3.3 and KDE 3.2.3.
> I'll use this new information to try to build KOffice
> 1.3.2 for Solaris x86
> and I like to thank all of you for helping me FINALLY
> and OFFICIALLY fix this issue for good!!!!! ;o>
> Ken Mays
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> This message is from the kde-solaris mailing list.
> Account management: https://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
More information about the kde-solaris