[kde-solaris] Cannot build kde 3.3/aRTs on solaris 8/SPARC
oetiker at ee.ethz.ch
Fri Aug 20 10:14:41 CEST 2004
Today Christopher Layne wrote:
> On Thu, Aug 19, 2004 at 09:18:27PM -0400, Stefan Teleman wrote:
> > Remove '-z text' and replace it with '-z defs' in all the Makefiles,
> > in libtool and in your $LDFLAGS. You may have to recompile after
> > that.
> > --Stefan
> This will not work w/ gcc 3.2+
> You need to use -mimpure-text
how about this:
------- Additional Comment #5 From Thiago Macieira 2004-08-17 01:17
Remember when I said that the visibility flag shouldn't be causing
the build failure? Well, I think it does.
Here's why: even though in the Solaris arch gcc is unable to tell
the linker the visibility attribute for a symbol, it is generating
code that is invalid.
So, I recommend you edit kdelibs/kdecore/kdemacros.h and change
KDE_NO_EXPORT to nothing. See if that fixes the problem.
It does seem to me, however, that this is a gcc bug.
______ __ _
/_ __/_ / / (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
/ // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/ http://people.ee.ethz.ch/oetiker +41(0)44-632-5286
More information about the kde-solaris