Adriaan de Groot wrote:
> When building cppunit on SPARC in 64-bit mode with 
> 
> CC: Sun C++ 5.9 SunOS_sparc Patch 124863-05 2008/06/03
> 
> and also 
> 
> Patch: 124861-07 Obsoletes:  Requires:  Incompatibles:  Packages: SPROlang, 
> SPROlangx, SPROmrcom, SPROsunms
> 
> (I'm pretty sure I've got the whole list of current patches as of yesterday 
> from the SS12 patch download page). The iropt crashes during linking with the 
> following:
> 
> /opt/SUNWspro/bin/CC   -G  -zdefs -nolib -hlibcppunit-1.12.so.0 -o 
> .libs/libcppunit-1.12.so.0.0.0   .libs/AdditionalMessage.o .libs/Asserter.o 
> .libs/BeOsDynamicLibraryManager.o .libs/BriefTestProgressListener.o 
> .libs/CompilerOutputter.o .libs/DefaultProtector.o 
> .libs/DynamicLibraryManager.o .libs/DynamicLibraryManagerException.o 
> .libs/Exception.o .libs/Message.o .libs/RepeatedTest.o .libs/PlugInManager.o 
> .libs/PlugInParameters.o .libs/Protector.o .libs/ProtectorChain.o 
> .libs/SourceLine.o .libs/StringTools.o .libs/SynchronizedObject.o 
> .libs/Test.o .libs/TestAssert.o .libs/TestCase.o .libs/TestCaseDecorator.o 
> .libs/TestComposite.o .libs/TestDecorator.o .libs/TestFactoryRegistry.o 
> .libs/TestFailure.o .libs/TestLeaf.o .libs/TestNamer.o .libs/TestPath.o 
> .libs/TestPlugInDefaultImpl.o .libs/TestResult.o .libs/TestResultCollector.o 
> .libs/TestRunner.o .libs/TestSetUp.o .libs/TestSuccessListener.o 
> .libs/TestSuite.o .libs/TestSuiteBuilderContext.o .libs/TextOutputter.o 
> .libs/TextTestP
ro
>  gressListener.o .libs/TextTestResult.o .libs/TextTestRunner.o 
> .libs/TypeInfoHelper.o .libs/UnixDynamicLibraryManager.o 
> .libs/ShlDynamicLibraryManager.o .libs/XmlDocument.o .libs/XmlElement.o 
> .libs/XmlOutputter.o .libs/XmlOutputterHook.o 
> .libs/Win32DynamicLibraryManager.o  -R/opt/foss/lib/sparcv9:/usr/lib/sparcv9 
> -library=no%Cstd -ldl -lpthread -lposix4 -lrt -L/opt/foss/lib/sparcv9 
> -L/usr/lib/sparcv9 -lc -lm -lCrun -lstdcxx -lX11 -lXext -ldemangle   
> -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
>  -instances=global -template=geninlinefuncs -s -xlang=c99 
> -xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption 
> ccfe -features=gcc -Qoption ccfe -features=zla -Qoption 
> ccfe -mt -xF=%none -xbuiltin=%all -xinline=%auto -xprefetch=auto 
> -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 
> -xalias_level=compatible -xipo=1 -xO4 -xregs=no%appl -xpagesize=default 
> -xmemalign=8i -xipo=1 -Qoption 
> iropt -xwrap_int -xcode=pic32 -xthreadvar=%all -z combreloc -z redlocsym -z 
> nodefaultlib -z ignore -z now -z rescan -z 
> absexec -xldscope=symbolic -xlibmil -xipo=1 -xO4 -s -xtarget=ultra2 -m64 
> -xarch=sparcvis -xchip=ultra2 -xcache=64/32/4:8192/512/2 -mt -i -i 
> -xtarget=ultra2 -m64 -xarch=sparcvis -xchip=ultra2 -xcache=64/32/4:8192/512/2 
> -xipo=1 -xO4
> ld: warning: option -z[defs|nodefs] appears more than once, first setting 
> taken
> Assertion failed: find_vtable_fetch_triple (call_tp, &vtable_load, 
> &vtable_offset_lf), file ../src/icall_opt.c, line 2058
> /opt/SUNWspro/prod/bin/ipo: Fatal error: /opt/SUNWspro/prod/bin/iropt (134)
> 
> If I remove -xipo=1 then there is no crash; with -xipo=1 it crashes; 
> with -xipo=2 it does not crash. Is anyone else seeing this (on SPARC only, in 
> 64-bit mode), mind.

looks like what I reported last Friday, 07/04? subject was "pkgbuild: 
Assertion failed .... file      ../src/icall_opt.c, line 2058"

Michael
-- 
Michael Schuster     http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'

Reply via email to