[kde-solaris] Pkgtools, 64-bit, etc.
lars.tunkrans at bredband.net
Mon Apr 28 21:55:03 CEST 2003
I have used " -fast -xtarget=ultra -xarch=v8plusa "
-fast includes --xmemalign=8s and -xprefetch=auto,explicit
Did you build libmad ? it contains GNUC specific MUL instructions
in the sourcefile synth.c , according to the author.
This is my trackrecord so far, any comments on the
last section ? ( Problem packages )
So far I have been able to build:
bzip2-1.02. ( not installed as it is standard in solaris 9 )
zlib-1.1.4 ( not installed part of solaris 9 )
Not yet attempted:
mad-0.14.2.b ( source contains GNUC extensions ! )
ImageMagick-5.5.6 ( Builds but regression tests fails )
fcpackage.2_1 ( Xft Not sure if possible to build with the solaris9 version of Xrender )
( The Xrender in fcpackage is newer than the solaris9 one. )
fam-2.6.9 ( Builds on Linux and freeBSD I need to se if freebsd patches make the difference )
( Does not build with GCC on solaris 9 )
libsmb-1.0-pre2 ( does not build with GCC on solaris9. Seems to be linux only code. )
As this is a lot of sourcecode and bound to make conflicts
with one package or the other that someone will have installed.
I am not sure it is a good idea to just package this lot up
with kde. Comments are welcome.
Stefan Teleman wrote:
> To instruct the Sun compiler to produce UltraSPARC specific optimized
> instructions, you can use one of the following flags:
> for 32-bit:
> -dalign -xprefetch-yes -xtarget=ultra2 -xarch=v8plus
> -dalign -xprefetch-yes -xtarget=ultra2 -xarch=v8plusa
> for 64-bit:
> -dalign -xprefetch-yes -xtarget=ultra2 -xarch=v9
> -dalign -xprefetch-yes -xtarget=ultra2 -xarch=v9a
> -dalign -xprefetch-yes -xtarget=ultra3 -xarch=v9b (works only on
> UltraSPARC III)
> I agree that it is unlikely that 64-bit will produce any significant
> performance improvement.
> As a side note, i have built all the KDE packages, including QT and
> the additional libraries (SDL, mng, etc) in SUNWkderequired with
> Forte 7, with -dalign -xprefetch-yes -xtarget=ultra2 -xarch=v8plus.
> On Friday 25 April 2003 19:04, Lars Tunkrans wrote:
>> I have spent some time building Subsystems needed by KDE3.x
>> using Forte7 / studio7 .
>> libpng, liblcms, libmng, samba , pilotlink, libmal,
>>libbzip2, libz, SDL, ....
>> all 32-bit.
>> Problem with 64 bit binaries seems to bee that you need to have
>>all the libraries that you intend to link
>> with in 64 bit version. Or it's probable that my knowledge of
>>these things is too limited.
>> anyway when I tried to build 64-bit binaries/libraries and the
>>Build needs to link with another
>> library that exists only in 32.bit version the linking fails.
>> I have built KDE. 3.1.1 with Gcc 3.2.2 on solaris 9 with
>> this was almost automatic as soon as I had solaris 9 12/02
>> installed plus the latest Xsun Patch
>> for Xrender .
>> Why do you guys want 64 bit mode. It is unlikley that it
>>would yield any greater amount of performance.
>> I belive that greater performance benefits could be had from
>>utilising such things as the
>> SUN Performance library and the SUN Media Libraries.
>>Actually the guys at Chalmers institute
>> of technology here in sweden who produces the XinePlugin for
>>NOATUN in KDE Miultimedia suite
>> has built a Media Library interface. Then there is the "
>>cc -lfast " linking option , not the same as
>> "cc -fast " that has optimised arithmetic routins for
>>specific proccessor types.
>> How can we produce KDE binaries that uses the VIS-
>>instructionset optimally ?
>> To try to discern these areas will probably yield more
>>benefit than just a recompile in 64 bit.
>> 64-bit mode is as far as I understand for building apps with
>>huge datasets . ( > 4 GB )
>>Stefan Teleman wrote:
>>>So, i am basically taking an opinion poll :-). Please vote for
>>>either Solaris 8 64-bit (should take 4-5 weeks) or Solaris 9 with
>>>Xrender (don't really know how long it would take, there are too
>>>many variables, probably a couple of months). I wish i could do
>>>it faster, but, unfortunately, i can only work on this evenings
>>This message is from the kde-solaris mailing list.
>>More info: http://www.kde.org/faq.html.
More information about the kde-solaris