On 20/11/2007, Lukas Oboril <oboril.lukas at gmail.com> wrote:
> On Nov 20, 2007 3:56 PM, Stefan Teleman <Stefan.Teleman at sun.com> wrote:
> > Lukas Oboril wrote:
> > > Hi,
> > >
> > > I have Stdcxx amd64 build now. Everything looks fine. I did compare my
> > > test results to Stefan's results
> > > (http://www.stefanteleman.org/libstdcxx/testresults/amd64/) and all
> > > test looks absolutely same as mine.
> > >
> > > I have had to modify LDFLAGS. Those flags have been removed (I have an
> > > ultra20m2 - amd64 -opteron):
> > >
> > > -xprefetch=auto -xprefetch_level=3
> > > -xprefetch_auto_type=indirect_array_access -x03
> > >
> > > Without those flags stdcxx is built without problems. I have both
> > > version for amd64 (32bit a 64bit) now.
> >
> > Lukas++! :-)
> >
> stdcxx 32bit version I have with all flags defined by you.
>
> 64bit version .... I tried study Sun Studio documentation, but I'm not
> sure why doesn't work this combination. Follow the documentation these
> flags are legal a right also.

-xtarget=native64 or -xtarget=generic64 are your safest options (they
also imply -m64).

I assume that these should be just as good as manually specifying the
cache sizes as Stefan has done, though he may be aware of some subtle
behaviours with these I'm not aware of.

-- 
Shawn Walker, Software and Systems Analyst
http://binarycrusader.blogspot.com/

"We don't have enough parallel universes to allow all uses of all
junction types--in the absence of quantum computing the combinatorics
are not in our favor..." --Larry Wall

Reply via email to