[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-solaris
Subject:    [kde-solaris] Re: kde-solaris Digest, Vol 17, Issue 8
From:       ken mays <maybird1776 () yahoo ! com>
Date:       2004-08-20 19:07:45
Message-ID: 20040820190745.72125.qmail () web41808 ! mail ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
 
Although I see suggestions on getting successful compiles on Solaris 8 SPARC using \
the '-mimpure-text' option, are there suggestions for successful compiles done with \
Solaris 8 x86 and GCC 3.3.3?!?  
You don't have the luxury of the "-mimpure-text" option on Solaris x86 so I was \
wondering how people were fixing that same issue on that platform?  
~Ken


kde-solaris-request@mail.kde.org wrote:
Send kde-solaris mailing list submissions to
kde-solaris@mail.kde.org

To subscribe or unsubscribe via the World Wide Web, visit
https://mail.kde.org/mailman/listinfo/kde-solaris
or, via email, send a message with subject or body 'help' to
kde-solaris-request@mail.kde.org

You can reach the person managing the list at
kde-solaris-owner@mail.kde.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kde-solaris digest..."


Today's Topics:

1. Cannot build kde 3.3/aRTs on solaris 8/SPARC (Konstantin Ignatiev)
2. Re: Cannot build kde 3.3/aRTs on solaris 8/SPARC (Stefan Teleman)
3. Re: Cannot build kde 3.3/aRTs on solaris 8/SPARC
(Christopher Layne)
4. Re: Cannot build kde 3.3/aRTs on solaris 8/SPARC (Tobias Oetiker)
5. Re: Cannot build kde 3.3/aRTs on solaris 8/SPARC
(Christopher Layne)


----------------------------------------------------------------------

Message: 1
Date: Thu, 19 Aug 2004 18:57:18 -0400
From: Konstantin Ignatiev 
Subject: [kde-solaris] Cannot build kde 3.3/aRTs on solaris 8/SPARC
To: kde-solaris@mail.kde.org
Message-ID: <8ef0e63e0408191557d9f0f1a@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII

Hello,

Can anyone help me to resolve this error when building KDE 3.3, arts package:

------------------
../libtool --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long
-Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions
-fno-check-new -fno-common -ftemplate-depth-99 -o libartsflow.la
-rpath /opt/kde3/lib -no-undefined -version-info 1:0
synth_play_impl.lo gslschedule.lo audiosubsys.lo pipebuffer.lo
convert.lo synth_wave_sin_impl.lo synth_frequency_impl.lo
synth_multi_add_impl.lo synth_add_impl.lo synth_mul_impl.lo
synth_play_wav_impl.lo stdsynthmodule.lo cache.lo asyncschedule.lo
bytestreamtoaudio_impl.lo stereovolumecontrol_impl.lo
stereoeffectstack_impl.lo fft.lo stereofftscope_impl.lo
virtualports.lo bus.lo audiomanager_impl.lo synth_record_impl.lo
resample.lo audioio.lo audioiooss.lo audioioalsa.lo audioioalsa9.lo
audioionull.lo audioiolibaudioio.lo audioioesd.lo audioiojack.lo
audioiosun.lo audioioaix.lo audioionas.lo cpuinfo.lo
audioioossthreaded.lo audiotobytestream_impl.lo audioiosgi.lo
audioiocsl.lo audioiomas.lo datahandle_impl.lo ../mcop/libmcop.la
libartsflow_idl.la ../flow/gslpp/libgslpp.la -L/usr/local/qt/lib
-L/opt/kde3/lib -L/usr/local/qt/lib -L/opt/kde3/lib -laudiofile -lm
../flow/gsl/libgsl.la
ld: warning: file
/disk1/ignatiev/kde_3.3/b/arts-1.3.0/mcop/.libs/libmcop.so: linked to
../mcop/.libs/libmcop.so: attempted multiple inclusion of file
Text relocation remains referenced
against symbol offset in file
0x1c0 
.libs/libartsflow.lax/libgsl.a/bit.o
0x1c4 
.libs/libartsflow.lax/libgsl.a/bit.o
0x290 
.libs/libartsflow.lax/libgsl.a/bit.o
0x298 
.libs/libartsflow.lax/libgsl.a/bit.o
0x2c0 
.libs/libartsflow.lax/libgsl.a/bit.o
[skipped]
rame.o
free 0x44c 
.libs/libartsflow.lax/libgsl.a/decoder.o
free 0x8b4 
.libs/libartsflow.lax/libgsl.a/decoder.o
.div 0x8ec 
.libs/libartsflow.lax/libgsl.a/timer.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
------------------

Thank you!

-- Konstantin.


------------------------------

Message: 2
Date: Thu, 19 Aug 2004 21:18:27 -0400
From: Stefan Teleman 
Subject: Re: [kde-solaris] Cannot build kde 3.3/aRTs on solaris
8/SPARC
To: Konstantin Ignatiev , "KDE Solaris"

Message-ID: <200408192118.27668.steleman@nyc.rr.com>
Content-Type: text/plain; charset="iso-8859-15"

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

-----

On Thursday 19 August 2004 18:57, Konstantin Ignatiev wrote:
> Hello,
> 
> Can anyone help me to resolve this error when building KDE 3.3,
> arts package:
> 
> ------------------
> ../libtool --mode=link --tag=CXX g++ -Wnon-virtual-dtor
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2
> -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -o
> libartsflow.la -rpath /opt/kde3/lib -no-undefined -version-info 1:0
> synth_play_impl.lo gslschedule.lo audiosubsys.lo pipebuffer.lo
> convert.lo synth_wave_sin_impl.lo synth_frequency_impl.lo
> synth_multi_add_impl.lo synth_add_impl.lo synth_mul_impl.lo
> synth_play_wav_impl.lo stdsynthmodule.lo cache.lo asyncschedule.lo
> bytestreamtoaudio_impl.lo stereovolumecontrol_impl.lo
> stereoeffectstack_impl.lo fft.lo stereofftscope_impl.lo
> virtualports.lo bus.lo audiomanager_impl.lo synth_record_impl.lo
> resample.lo audioio.lo audioiooss.lo audioioalsa.lo audioioalsa9.lo
> audioionull.lo audioiolibaudioio.lo audioioesd.lo audioiojack.lo
> audioiosun.lo audioioaix.lo audioionas.lo cpuinfo.lo
> audioioossthreaded.lo audiotobytestream_impl.lo audioiosgi.lo
> audioiocsl.lo audioiomas.lo datahandle_impl.lo ../mcop/libmcop.la
> libartsflow_idl.la ../flow/gslpp/libgslpp.la -L/usr/local/qt/lib
> -L/opt/kde3/lib -L/usr/local/qt/lib -L/opt/kde3/lib -laudiofile -lm
> ../flow/gsl/libgsl.la
> ld: warning: file
> /disk1/ignatiev/kde_3.3/b/arts-1.3.0/mcop/.libs/libmcop.so: linked
> to ../mcop/.libs/libmcop.so: attempted multiple inclusion of file
> Text relocation remains referenced against
> symbol offset in file
> 0x1c0
> .libs/libartsflow.lax/libgsl.a/bit.o
> 0x1c4
> .libs/libartsflow.lax/libgsl.a/bit.o
> 0x290
> .libs/libartsflow.lax/libgsl.a/bit.o
> 0x298
> .libs/libartsflow.lax/libgsl.a/bit.o
> 0x2c0
> .libs/libartsflow.lax/libgsl.a/bit.o
> [skipped]
> rame.o
> free 0x44c
> .libs/libartsflow.lax/libgsl.a/decoder.o
> free 0x8b4
> .libs/libartsflow.lax/libgsl.a/decoder.o
> .div 0x8ec
> .libs/libartsflow.lax/libgsl.a/timer.o
> ld: fatal: relocations remain against allocatable but non-writable
> sections collect2: ld returned 1 exit status
> ------------------
> 
> Thank you!
> 
> -- Konstantin.
> ___________________________________________________
> 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.

-- 
Stefan Teleman 'Nobody Expects the Spanish Inquisition'
steleman@nyc.rr.com -Monty Python



------------------------------

Message: 3
Date: Fri, 20 Aug 2004 00:46:07 -0700
From: Christopher Layne 
Subject: Re: [kde-solaris] Cannot build kde 3.3/aRTs on solaris
8/SPARC
To: steleman@nyc.rr.com, "For people using KDE on Solaris, with
questions about KDE or Solaris" 
Message-ID: <20040820074607.GQ15978@ns1.anodized.com>
Content-Type: text/plain; charset=us-ascii

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

http://bugs.kde.org/show_bug.cgi?id=87209

-cl


------------------------------

Message: 4
Date: Fri, 20 Aug 2004 10:14:41 +0200 (MEST)
From: Tobias Oetiker 
Subject: Re: [kde-solaris] Cannot build kde 3.3/aRTs on solaris
8/SPARC
To: "For people using KDE on Solaris, with questions about KDE or
Solaris" 
Message-ID: 

Content-Type: TEXT/PLAIN; charset=US-ASCII

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
> 
> http://bugs.kde.org/show_bug.cgi?id=87209

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.
----------------

tobi
-- 
______ __ _
/_ __/_ / / (_) 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


------------------------------

Message: 5
Date: Fri, 20 Aug 2004 01:22:58 -0700
From: Christopher Layne 
Subject: Re: [kde-solaris] Cannot build kde 3.3/aRTs on solaris
8/SPARC
To: "For people using KDE on Solaris, with questions about KDE or
Solaris" 
Message-ID: <20040820082258.GR15978@ns1.anodized.com>
Content-Type: text/plain; charset=us-ascii


Yes, this is the correct way. Forgot to mention that :).

BTW: There is atleast one other module within kdelibs or kdebase
that needs this.

I can't remember which though.

Kdevelop too.

-cl

> ------- 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.
> ----------------


------------------------------

___________________________________________________
This message digest 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.

End of kde-solaris Digest, Vol 17, Issue 8
******************************************

		
---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.


[Attachment #5 (text/html)]

<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Although I see suggestions on getting successful compiles on Solaris 8 SPARC \
using the '-mimpure-text' option, are there suggestions for successful compiles done \
with Solaris 8 x86 and GCC 3.3.3?!?</DIV> <DIV>&nbsp;</DIV>
<DIV>You don't have the luxury of the "-mimpure-text" option on Solaris x86 so I was \
wondering how people were fixing that same issue on that platform?</DIV> \
<DIV>&nbsp;</DIV> <DIV>~Ken</DIV>
<DIV><BR><BR><B><I>kde-solaris-request@mail.kde.org</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: \
#1010ff 2px solid">Send kde-solaris mailing list submissions \
to<BR>kde-solaris@mail.kde.org<BR><BR>To subscribe or unsubscribe via the World Wide \
Web, visit<BR>https://mail.kde.org/mailman/listinfo/kde-solaris<BR>or, via email, \
send a message with subject or body 'help' \
to<BR>kde-solaris-request@mail.kde.org<BR><BR>You can reach the person managing the \
list at<BR>kde-solaris-owner@mail.kde.org<BR><BR>When replying, please edit your \
Subject line so it is more specific<BR>than "Re: Contents of kde-solaris \
digest..."<BR><BR><BR>Today's Topics:<BR><BR>1. Cannot build kde 3.3/aRTs on solaris \
8/SPARC (Konstantin Ignatiev)<BR>2. Re: Cannot build kde 3.3/aRTs on solaris 8/SPARC \
(Stefan Teleman)<BR>3. Re: Cannot build kde 3.3/aRTs on solaris \
8/SPARC<BR>(Christopher Layne)<BR>4. Re: Cannot build kde 3.3/aRTs on solaris 8/SPARC \
(Tobias Oetiker)<BR>5. Re: Cannot build kde 3.3/aRTs on solaris \
8/SPARC<BR>(Christopher  \
Layne)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: \
1<BR>Date: Thu, 19 Aug 2004 18:57:18 -0400<BR>From: Konstantin Ignatiev \
<KOSTYA@GMAIL.COM><BR>Subject: [kde-solaris] Cannot build kde 3.3/aRTs on solaris \
8/SPARC<BR>To: kde-solaris@mail.kde.org<BR>Message-ID: \
&lt;8ef0e63e0408191557d9f0f1a@mail.gmail.com&gt;<BR>Content-Type: text/plain; \
charset=US-ASCII<BR><BR>Hello,<BR><BR>Can anyone help me to resolve this error when \
building KDE 3.3, arts package:<BR><BR>------------------<BR>../libtool --mode=link \
--tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long<BR>-Wundef -Wall -W -Wpointer-arith \
-Wwrite-strings -O2 -fno-exceptions<BR>-fno-check-new -fno-common -ftemplate-depth-99 \
-o libartsflow.la<BR>-rpath /opt/kde3/lib -no-undefined -version-info \
1:0<BR>synth_play_impl.lo gslschedule.lo audiosubsys.lo pipebuffer.lo<BR>convert.lo \
synth_wave_sin_impl.lo synth_frequency_impl.lo<BR>synth_multi_add_impl.lo \
synth_add_impl.lo  synth_mul_impl.lo<BR>synth_play_wav_impl.lo stdsynthmodule.lo \
cache.lo asyncschedule.lo<BR>bytestreamtoaudio_impl.lo \
stereovolumecontrol_impl.lo<BR>stereoeffectstack_impl.lo fft.lo \
stereofftscope_impl.lo<BR>virtualports.lo bus.lo audiomanager_impl.lo \
synth_record_impl.lo<BR>resample.lo audioio.lo audioiooss.lo audioioalsa.lo \
audioioalsa9.lo<BR>audioionull.lo audioiolibaudioio.lo audioioesd.lo \
audioiojack.lo<BR>audioiosun.lo audioioaix.lo audioionas.lo \
cpuinfo.lo<BR>audioioossthreaded.lo audiotobytestream_impl.lo \
audioiosgi.lo<BR>audioiocsl.lo audioiomas.lo datahandle_impl.lo \
../mcop/libmcop.la<BR>libartsflow_idl.la ../flow/gslpp/libgslpp.la \
-L/usr/local/qt/lib<BR>-L/opt/kde3/lib -L/usr/local/qt/lib -L/opt/kde3/lib \
-laudiofile -lm<BR>../flow/gsl/libgsl.la<BR>ld: warning: \
file<BR>/disk1/ignatiev/kde_3.3/b/arts-1.3.0/mcop/.libs/libmcop.so: linked \
to<BR>../mcop/.libs/libmcop.so: attempted multiple inclusion of file<BR>Text \
relocation remains referenced<BR>against symbol offset in  file<BR><UNKNOWN>0x1c0 \
<BR>.libs/libartsflow.lax/libgsl.a/bit.o<BR><UNKNOWN>0x1c4 \
<BR>.libs/libartsflow.lax/libgsl.a/bit.o<BR><UNKNOWN>0x290 \
<BR>.libs/libartsflow.lax/libgsl.a/bit.o<BR><UNKNOWN>0x298 \
<BR>.libs/libartsflow.lax/libgsl.a/bit.o<BR><UNKNOWN>0x2c0 \
<BR>.libs/libartsflow.lax/libgsl.a/bit.o<BR>[skipped]<BR>rame.o<BR>free 0x44c \
<BR>.libs/libartsflow.lax/libgsl.a/decoder.o<BR>free 0x8b4 \
<BR>.libs/libartsflow.lax/libgsl.a/decoder.o<BR>.div 0x8ec \
<BR>.libs/libartsflow.lax/libgsl.a/timer.o<BR>ld: fatal: relocations remain against \
allocatable but non-writable sections<BR>collect2: ld returned 1 exit \
status<BR>------------------<BR><BR>Thank you!<BR><BR>-- \
Konstantin.<BR><BR><BR>------------------------------<BR><BR>Message: 2<BR>Date: Thu, \
19 Aug 2004 21:18:27 -0400<BR>From: Stefan Teleman <STELEMAN@NYC.RR.COM><BR>Subject: \
Re: [kde-solaris] Cannot build kde 3.3/aRTs on solaris<BR>8/SPARC<BR>To: Konstantin \
Ignatiev <KOSTYA@GMAIL.COM>, "KDE  \
Solaris"<BR><KDE-SOLARIS@MAIL.KDE.ORG><BR>Message-ID: \
&lt;200408192118.27668.steleman@nyc.rr.com&gt;<BR>Content-Type: text/plain; \
charset="iso-8859-15"<BR><BR>Remove '-z text' and replace it with '-z defs' in all \
the Makefiles, <BR>in libtool and in your $LDFLAGS. You may have to recompile after \
<BR>that.<BR><BR>--Stefan<BR><BR>-----<BR><BR>On Thursday 19 August 2004 18:57, \
Konstantin Ignatiev wrote:<BR>&gt; Hello,<BR>&gt;<BR>&gt; Can anyone help me to \
resolve this error when building KDE 3.3,<BR>&gt; arts package:<BR>&gt;<BR>&gt; \
------------------<BR>&gt; ../libtool --mode=link --tag=CXX g++ \
-Wnon-virtual-dtor<BR>&gt; -Wno-long-long -Wundef -Wall -W -Wpointer-arith \
-Wwrite-strings -O2<BR>&gt; -fno-exceptions -fno-check-new -fno-common \
-ftemplate-depth-99 -o<BR>&gt; libartsflow.la -rpath /opt/kde3/lib -no-undefined \
-version-info 1:0<BR>&gt; synth_play_impl.lo gslschedule.lo audiosubsys.lo \
pipebuffer.lo<BR>&gt; convert.lo synth_wave_sin_impl.lo \
synth_frequency_impl.lo<BR>&gt;  synth_multi_add_impl.lo synth_add_impl.lo \
synth_mul_impl.lo<BR>&gt; synth_play_wav_impl.lo stdsynthmodule.lo cache.lo \
asyncschedule.lo<BR>&gt; bytestreamtoaudio_impl.lo \
stereovolumecontrol_impl.lo<BR>&gt; stereoeffectstack_impl.lo fft.lo \
stereofftscope_impl.lo<BR>&gt; virtualports.lo bus.lo audiomanager_impl.lo \
synth_record_impl.lo<BR>&gt; resample.lo audioio.lo audioiooss.lo audioioalsa.lo \
audioioalsa9.lo<BR>&gt; audioionull.lo audioiolibaudioio.lo audioioesd.lo \
audioiojack.lo<BR>&gt; audioiosun.lo audioioaix.lo audioionas.lo cpuinfo.lo<BR>&gt; \
audioioossthreaded.lo audiotobytestream_impl.lo audioiosgi.lo<BR>&gt; audioiocsl.lo \
audioiomas.lo datahandle_impl.lo ../mcop/libmcop.la<BR>&gt; libartsflow_idl.la \
../flow/gslpp/libgslpp.la -L/usr/local/qt/lib<BR>&gt; -L/opt/kde3/lib \
-L/usr/local/qt/lib -L/opt/kde3/lib -laudiofile -lm<BR>&gt; \
../flow/gsl/libgsl.la<BR>&gt; ld: warning: file<BR>&gt; \
                /disk1/ignatiev/kde_3.3/b/arts-1.3.0/mcop/.libs/libmcop.so: \
                linked<BR>&gt; to
 ../mcop/.libs/libmcop.so: attempted multiple inclusion of file<BR>&gt; Text \
relocation remains referenced against<BR>&gt; symbol offset in file<BR>&gt; \
<UNKNOWN>0x1c0<BR>&gt; .libs/libartsflow.lax/libgsl.a/bit.o<BR>&gt; \
<UNKNOWN>0x1c4<BR>&gt; .libs/libartsflow.lax/libgsl.a/bit.o<BR>&gt; \
<UNKNOWN>0x290<BR>&gt; .libs/libartsflow.lax/libgsl.a/bit.o<BR>&gt; \
<UNKNOWN>0x298<BR>&gt; .libs/libartsflow.lax/libgsl.a/bit.o<BR>&gt; \
<UNKNOWN>0x2c0<BR>&gt; .libs/libartsflow.lax/libgsl.a/bit.o<BR>&gt; [skipped]<BR>&gt; \
rame.o<BR>&gt; free 0x44c<BR>&gt; .libs/libartsflow.lax/libgsl.a/decoder.o<BR>&gt; \
free 0x8b4<BR>&gt; .libs/libartsflow.lax/libgsl.a/decoder.o<BR>&gt; .div \
0x8ec<BR>&gt; .libs/libartsflow.lax/libgsl.a/timer.o<BR>&gt; ld: fatal: relocations \
remain against allocatable but non-writable<BR>&gt; sections collect2: ld returned 1 \
exit status<BR>&gt; ------------------<BR>&gt;<BR>&gt; Thank you!<BR>&gt;<BR>&gt; -- \
Konstantin.<BR>&gt;  ___________________________________________________<BR>&gt; This \
message is from the kde-solaris mailing list.<BR>&gt; Account management: <BR>&gt; \
https://mail.kde.org/mailman/listinfo/kde-solaris. Archives:<BR>&gt; \
http://lists.kde.org/.<BR>&gt; More info: http://www.kde.org/faq.html.<BR><BR>-- \
<BR>Stefan Teleman 'Nobody Expects the Spanish Inquisition'<BR>steleman@nyc.rr.com \
-Monty Python<BR><BR><BR><BR>------------------------------<BR><BR>Message: \
3<BR>Date: Fri, 20 Aug 2004 00:46:07 -0700<BR>From: Christopher Layne \
<CLAYNE@ANODIZED.COM><BR>Subject: Re: [kde-solaris] Cannot build kde 3.3/aRTs on \
solaris<BR>8/SPARC<BR>To: steleman@nyc.rr.com, "For people using KDE on Solaris, \
with<BR>questions about KDE or Solaris" <KDE-SOLARIS@MAIL.KDE.ORG><BR>Message-ID: \
&lt;20040820074607.GQ15978@ns1.anodized.com&gt;<BR>Content-Type: text/plain; \
charset=us-ascii<BR><BR>On Thu, Aug 19, 2004 at 09:18:27PM -0400, Stefan Teleman \
wrote:<BR>&gt; Remove '-z text' and replace it with '-z defs' in all  the Makefiles, \
<BR>&gt; in libtool and in your $LDFLAGS. You may have to recompile after <BR>&gt; \
that.<BR>&gt; <BR>&gt; --Stefan<BR><BR>This will not work w/ gcc 3.2+<BR><BR>You need \
to use -mimpure-text<BR><BR>http://bugs.kde.org/show_bug.cgi?id=87209<BR><BR>-cl<BR><BR><BR>------------------------------<BR><BR>Message: \
4<BR>Date: Fri, 20 Aug 2004 10:14:41 +0200 (MEST)<BR>From: Tobias Oetiker \
<OETIKER@EE.ETHZ.CH><BR>Subject: Re: [kde-solaris] Cannot build kde 3.3/aRTs on \
solaris<BR>8/SPARC<BR>To: "For people using KDE on Solaris, with questions about KDE \
or<BR>Solaris" <KDE-SOLARIS@MAIL.KDE.ORG><BR>Message-ID: \
<PINE.GSO.4.58.0408201013490.17996@YBTVA-01.RR.RGUM.PU><BR>Content-Type: TEXT/PLAIN; \
charset=US-ASCII<BR><BR>Today Christopher Layne wrote:<BR><BR>&gt; On Thu, Aug 19, \
2004 at 09:18:27PM -0400, Stefan Teleman wrote:<BR>&gt; &gt; Remove '-z text' and \
replace it with '-z defs' in all the Makefiles,<BR>&gt; &gt; in libtool and in your \
$LDFLAGS. You may have to recompile  after<BR>&gt; &gt; that.<BR>&gt; &gt;<BR>&gt; \
&gt; --Stefan<BR>&gt;<BR>&gt; This will not work w/ gcc 3.2+<BR>&gt;<BR>&gt; You need \
to use -mimpure-text<BR>&gt;<BR>&gt; \
http://bugs.kde.org/show_bug.cgi?id=87209<BR><BR>how about this:<BR><BR><BR>------- \
Additional Comment #5 From Thiago Macieira 2004-08-17 01:17<BR>-------<BR>Remember \
when I said that the visibility flag shouldn't be causing<BR>the build failure? Well, \
I think it does.<BR><BR>Here's why: even though in the Solaris arch gcc is unable to \
tell<BR>the linker the visibility attribute for a symbol, it is generating<BR>code \
that is invalid.<BR><BR>So, I recommend you edit kdelibs/kdecore/kdemacros.h and \
change<BR>KDE_NO_EXPORT to nothing. See if that fixes the problem.<BR><BR>It does \
seem to me, however, that this is a gcc bug.<BR>----------------<BR><BR>tobi<BR>-- \
<BR>______ __ _<BR>/_ __/_ / / (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 \
Zurich<BR>/ // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach<BR>/_/  \
\.__/_.__/_/ http://people.ee.ethz.ch/oetiker \
+41(0)44-632-5286<BR><BR><BR>------------------------------<BR><BR>Message: \
5<BR>Date: Fri, 20 Aug 2004 01:22:58 -0700<BR>From: Christopher Layne \
<CLAYNE@ANODIZED.COM><BR>Subject: Re: [kde-solaris] Cannot build kde 3.3/aRTs on \
solaris<BR>8/SPARC<BR>To: "For people using KDE on Solaris, with questions about KDE \
or<BR>Solaris" <KDE-SOLARIS@MAIL.KDE.ORG><BR>Message-ID: \
&lt;20040820082258.GR15978@ns1.anodized.com&gt;<BR>Content-Type: text/plain; \
charset=us-ascii<BR><BR><BR>Yes, this is the correct way. Forgot to mention that \
:).<BR><BR>BTW: There is atleast one other module within kdelibs or kdebase<BR>that \
needs this.<BR><BR>I can't remember which though.<BR><BR>Kdevelop \
too.<BR><BR>-cl<BR><BR>&gt; ------- Additional Comment #5 From Thiago Macieira \
2004-08-17 01:17<BR>&gt; -------<BR>&gt; Remember when I said that the visibility \
flag shouldn't be causing<BR>&gt; the build failure? Well, I think it does.<BR>&gt; \
<BR>&gt; Here's why: even  though in the Solaris arch gcc is unable to tell<BR>&gt; \
the linker the visibility attribute for a symbol, it is generating<BR>&gt; code that \
is invalid.<BR>&gt; <BR>&gt; So, I recommend you edit kdelibs/kdecore/kdemacros.h and \
change<BR>&gt; KDE_NO_EXPORT to nothing. See if that fixes the problem.<BR>&gt; \
<BR>&gt; It does seem to me, however, that this is a gcc bug.<BR>&gt; \
----------------<BR><BR><BR>------------------------------<BR><BR>___________________________________________________<BR>This \
message digest is from the kde-solaris mailing list.<BR>Account management: \
https://mail.kde.org/mailman/listinfo/kde-solaris.<BR>Archives: \
http://lists.kde.org/.<BR>More info: http://www.kde.org/faq.html.<BR><BR>End of \
kde-solaris Digest, Vol 17, Issue \
8<BR>******************************************<BR></BLOCKQUOTE><p>  <hr size=1>Do \
you Yahoo!?<br> Win 1 of 4,000 free domain names from Yahoo! <a
href="http://us.rd.yahoo.com/evt=26640/*http://promotions.yahoo.com/goldrush">Enter \
now</a>.



___________________________________________________
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.

[prev in list] [next in list] [prev in thread] [next in thread] 

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