<DIV>Hi,</DIV>
<DIV> </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> </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> </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: <8ef0e63e0408191557d9f0f1a@mail.gmail.com><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: <200408192118.27668.steleman@nyc.rr.com><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>> Hello,<BR>><BR>> Can anyone help me to resolve this error when building KDE 3.3,<BR>> arts package:<BR>><BR>> ------------------<BR>> ../libtool --mode=link --tag=CXX g++ -Wnon-virtual-dtor<BR>> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2<BR>> -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -o<BR>> libartsflow.la -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<BR>> to
../mcop/.libs/libmcop.so: attempted multiple inclusion of file<BR>> Text relocation remains referenced against<BR>> 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<BR>> sections collect2: ld returned 1 exit status<BR>> ------------------<BR>><BR>> Thank you!<BR>><BR>> -- Konstantin.<BR>>
___________________________________________________<BR>> This message is from the kde-solaris mailing list.<BR>> Account management: <BR>> https://mail.kde.org/mailman/listinfo/kde-solaris. Archives:<BR>> http://lists.kde.org/.<BR>> 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: <20040820074607.GQ15978@ns1.anodized.com><BR>Content-Type: text/plain; charset=us-ascii<BR><BR>On Thu, Aug 19, 2004 at 09:18:27PM -0400, Stefan Teleman wrote:<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>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>> On Thu, Aug 19, 2004 at 09:18:27PM -0400, Stefan Teleman wrote:<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>> 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>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: <20040820082258.GR15978@ns1.anodized.com><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>> ------- 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><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>.