Assertion failure from ccfe in Solaris Studio 12.4 beta July refresh

I have found a way to get an assertion failure from the ccfe program that comes with the Solaris Studio 12.4 beta July refresh.  The error that gets printed is:
>> Assertion:   (../lnk/funcsym.cc, line 1679)
    while processing text_woarchive.pre.cpp at line 0.
The problem occurs whilst compiling Boost 1.54.  The original file in the distribution that causes it is libs/serialization/src/text_woarchive.cpp.
This problem can be reproduced by getting the pre-processed code I've put on http://pastebin.com/E9vxi2z7 and pasting it into a file called text_woarchive.pre.cpp.  Then run:
CC -std=c++11 -mt -m64 -c -o text_woarchive.o text_woarchive.pre.cpp
and you get the assertion failure.
Running:
CC '-#' -std=c++11 -mt -m64 -c -o text_woarchive.o text_woarchive.pre.cpp
shows that the assertion is coming from ccfe.
In case you go back to the original Boost source code I should tell you that prior to generating the pre-processed source I changed:
#ifdef __SUNPRO_CC
to:
#if 0
in boost/archive/detail/register_archive.hpp.  I did this because there was an error in the __SUNPRO_CC section and I wondered if that workaround code was no longer required with the more modern C++ compiler.  Therefore, I cannot guarantee that the pre-processed source is 100% valid C++ code.  However, even if it's not it would be nice to get a clear error message out of ccfe rather than an assertion failure.
In case it's relevant, I'm working on Oracle Solaris 10 1/13 s10x_u11wos_24a X86.

You mentioned in the other answer that you are testing with Boost 1.55.  Are you testing this in C++11 mode?
Today I downloaded Boost 1.55 and did the following:
In both tools/build/v2/engine/build.sh and tools/build/v2/tools/sun.jam globally replace SUNWspro with SolarisStudio12.4-beta_jul14-solaris-x86
In tools/build/v2/tools/sun.jam replace:
feature.extend stdlib : sun-stlport ;
feature.compose <stdlib>sun-stlport
    : <cxxflags>-library=stlport4 <linkflags>-library=stlport4
with:
feature.extend stdlib : sun-stlport ;
feature.compose <stdlib>sun-stlport
    : <cxxflags>-std=c++11 <linkflags>-std=c++11
Note: This is just the quick way I found to con the Boost build system into using C++11 instead of STLport.  The feature in the jam file still has stlport in its name, but that's only a name and the code is being built in C++11 mode.
In boost/math/special_functions/detail/lanczos_sse2.hpp change line 15 from:
#if defined(__GNUC__) || defined(__PGI)
to:
#if defined(__GNUC__) || defined(__PGI) || defined(__SUNPRO_CC)
Run:
./bootstrap.sh --without-libraries=context --without-libraries=coroutine --without-libraries=graph_parallel --without-libraries=log --without-libraries=mpi --without-libraries=python --without-libraries=test --without-icu
Run:
./b2 -j4 --layout=versioned --disable-icu address-model=64 threading=multi optimization=speed inlining=full
At this point the vast majority of the code builds, but does not link.
There are 3 problems:
The compilation problem with tuple that you've already fixed
A linker problem with finding std::string related symbols - maybe also related to the gcc header upgrade and now fixed?
Numerous compilation problems caused by boost/archive/detail/register_archive.hpp
For this last one the code in the #ifdef __SUNPRO_CC section of boost/archive/detail/register_archive.hpp does appear to be invalid, and leads to the errors:
"./boost/archive/detail/register_archive.hpp", line 45: Error: The function "adjust_counter" must have a prototype.
"./boost/archive/detail/register_archive.hpp", line 46: Error: Expression must have a constant value.
"./boost/archive/detail/register_archive.hpp", line 47: Error: Expression must have a constant value.
"./boost/archive/detail/register_archive.hpp", line 48: Error: An integer constant expression is required within the array subscript operator.
Even with Boost 1.55, attempts to fix this lead to the same ccfe assertion.  Trying to use the #else part of the code as I described in the original post does, as does moving the line:
char adjust_counter(counter<0>);
so that it comes before the place where adjust_counter is used also then leads to the same assertion:
>> Assertion:   (../lnk/funcsym.cc, line 1679)
It's as though any change to boost/archive/detail/register_archive.hpp that fixes the basic code ordering issue lets ccfe get far enough to cause the assertion.
If there is somebody in your team looking at whether Boost 1.55 compiles with Solaris Studio 12.4 in C++11 mode then hopefully they can relate to what I'm seeing here.  One key point is that they'll have had to edit the jam files to use C++11 mode.
The other thing is that any insights the person who has been trying to build Boost 1.55 has would be very useful.  I know you don't want to get into officially supporting it, but maybe a blog post with any unofficial hints and tips on getting Boost to build in C++11 mode could be a way to share knowledge.

Similar Messages

  • Error compiling certain uses of std::tuple in Solaris Studio 12.4 beta July refresh

    Whilst attempting to compile Boost 1.54 using the Solaris Studio 12.4 beta July refresh with -std=c++11 I get an error building libs/regex/src/cregex.cpp that looks like it might be due to a problem with the compiler.  (clang++ on Mac OS X and g++ on Linux can certainly build the same file without problems - I can post more details about them if you think this is a problem in the Boost code rather than the compiler.)
    The error from Solaris Studio is:
    Error: Could not find a match for std::_Tuple_impl<0, int&&>::_Tuple_impl(std::tuple<int&&>, int) needed in std::tuple<int&&>::tuple<int, void>(int&&).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 868:     Where: While instantiating "std::tuple<int&&>::tuple<int, void>(int&&)".
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 868:     Where: Instantiated from std::forward_as_tuple<int>(int&&).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_map.h", line 485:     Where: Instantiated from non-template code.
    1 Error(s) detected.
    To reproduce this you can download the pre-processed source code from http://pastebin.com/jtsx1k79 and paste it into a file called cregex.pre.cpp.  Then run:
    CC -std=c++11 -mt -m64 -c -o cregex.o cregex.pre.cpp
    to get the error I saw.
    In case it's relevant, I'm working on Oracle Solaris 10 1/13 s10x_u11wos_24a X86.

    This looks very much like a recent bug with std::map introduced with the change to g++ 4.8 headers in July Beta:
      19159587 C++11: errors on a simple <map> usage
    It has been reported on forums - +d flag can cause C++ compilation failure in 12.4 beta refresh
    This bug will be fixed in a final release.
    Unfortunately there is no workaround for this problem.
    regards,
      Fedor.

  • Sorting a vector of pairs in Solaris Studio 12.4 beta July refresh

    The following C++ program doesn't compile in C++11 mode with the Solaris Studio 12.4 beta July refresh compiler:
    #include <algorithm>
    #include <string>
    #include <utility>
    #include <vector>
    int main(int, char **)
        std::vector<std::pair<int, std::string>> vec;
        vec.emplace_back(1, "a");
        vec.emplace_back(3, "c");
        vec.emplace_back(2, "b");
        std::sort(vec.begin(), vec.end());
        return 0;
    Compiling with:
    % CC -std=c++11 Main.cc
    results in:
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/include/CC/gnu/bits/stl_pair.h", line 263: Error: The name __x is unusable in std::iter_swap<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 88:     Where: While instantiating "std::iter_swap<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>)".
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 88:     Where: Instantiated from std::__move_median_to_first<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 2282:     Where: Instantiated from std::__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, int>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, int).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 5452:     Where: Instantiated from non-template code.
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/include/CC/gnu/bits/stl_pair.h", line 263: Error: The name __y is unusable in std::iter_swap<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 88:     Where: While instantiating "std::iter_swap<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>)".
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 88:     Where: Instantiated from std::__move_median_to_first<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 2282:     Where: Instantiated from std::__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, int>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, int).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 5452:     Where: Instantiated from non-template code.
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 103: Error: A constant expression is required here.
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 88:     Where: While instantiating "std::iter_swap<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>)".
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 88:     Where: Instantiated from std::__move_median_to_first<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 2282:     Where: Instantiated from std::__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, int>(__gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, __gnu_cxx::__normal_iterator<std::pair<int, std::string>*, std::vector<std::pair<int, std::string> >>, int).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_algo.h", line 5452:     Where: Instantiated from non-template code.
    3 Error(s) detected.

    Thanks for reporting this problem. I have filed bug 19325210 for you.

  • Solaris Studio 12.4 Beta ube assertion failure with -m64 -fsimple

    I have found a way to get an assertion failure from the ube program that comes with the Solaris Studio 12.4 beta.  The error that gets printed is:
    assertion failed in function gra_peep_hole() @ gra.c:10381
    assert(lf_op_(lf_i) == LD_I)
    The problem occurs whilst compiling a 64 bit version of GNU tar 1.23 using the -fsimple option on the C compiler.
    This problem can be reproduced by getting the pre-processed code I've put on http://pastebin.com/wRHRmaiT and pasting it into a file called human.pre.c.  Then run:
    cc -std=c99 -m64 -mt -O4 -fsimple -c -o human.o human.pre.c
    and you get the assertion failure.
    Alternatively, if you don't trust my code on pastebin, the other way to reproduce it would be to download tar-1.23.tar.gz from GNU Project Archives, extract it and then you'll find the original file human.c in the gnu sub-directory.  Build this with:
    cc -std=c99 -DHAVE_CONFIG_H -I. -I.. -m64 -mt -O4 -fsimple -c -o human.o human.c
    and you'll get the same problem.
    The assertion failure only happens with -m64 and -fsimple.  If either of these flags are omitted it doesn't happen.
    People reading this will probably think I'm crazy to be worrying about floating point optimisations for GNU tar, and it's true that I don't really need to build GNU tar with -fsimple.  However, I am worried that the same problem in ube will bite me at some point on more important code where floating point optimisations are valuable.
    In case it's relevant, I'm working on Oracle Solaris 10 1/13 s10x_u11wos_24a X86.

    BugID 18644770 has been fixed recently and the fix is verified with this problem:
    [sr1-sfbay-03](18644770)-627 > /net/dv103/export/builds/cia//latest/inst/intel-S2/bin/cc -std=c99 -m64 -mt -O4 -fsimple -c human.pre.c -V
    cc: Sun C 5.13 SunOS_i386 CIA_pythia 2014/06/16
    acomp: Sun C 5.13 SunOS_i386 CIA_pythia 2014/06/16
    iropt: Sun Compiler Common 12.4 SunOS_i386 CIA_pythia 2014/06/16
    ube: Sun Compiler Common 12.4 SunOS_i386 CIA_pythia 2014/06/16
    as: Sun Compiler Common 12.4 SunOS_i386 CIA_pythia 2014/06/16
    [sr1-sfbay-03](18644770)-628 >
    This fix should be available soon as the Studio12.4 Beta refresh compiler.

  • Getting assert failure from xcodebuild, need help.

    HI all, I've just started using xcode build to build a static library project. Inside xcode the project builds and runs fine. But when I build at the command line using xcode build I get the following error. Does anyone have any ideas what could be wrong?
    2010-06-06 23:33:11.908 xcodebuild\[10808:80b\] \[MT\] ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1648/pbxcore/Target.subproj/PBXTarget.m: 597
    Details: Assertion failed: (nil == _buildContext) || (nil == \[_buildContext target\])
    Object: <PBXLegacyTarget:0x104962a00>
    Method: -dealloc
    Thread: <NSThread: 0x100b14190>{name = (null), num = 1}
    Backtrace:
    0 0x000000010035feaf -\[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:\] (in DevToolsCore)
    1 0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
    2 0x00000001002790d1 -\[PBXTarget dealloc\] (in DevToolsCore)
    3 0x00000001002911e8 -\[PBXLegacyTarget dealloc\] (in DevToolsCore)
    4 0x00000001002c5b16 -\[PBXTargetBookmark dealloc\] (in DevToolsCore)
    5 0x00007fff8224ff71 __CFBasicHashStandardCallback (in CoreFoundation)
    6 0x00007fff82250931 __CFBasicHashDrain (in CoreFoundation)
    7 0x00007fff822396b3 _CFRelease (in CoreFoundation)
    8 0x0000000100254171 -\[PBXProject dealloc\] (in DevToolsCore)
    9 0x00007fff82262d56 _CFAutoreleasePoolPop (in CoreFoundation)
    10 0x00007fff841b530c -\[NSAutoreleasePool drain\] (in Foundation)
    11 0x000000010000c60d
    12 0x00000001000014f4
    13 0x0000000000000007
    ** INTERNAL ERROR: Uncaught Exception **
    Exception: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1648/pbxcore/Target.subproj/PBXTarget.m: 597
    Details: Assertion failed: (nil == _buildContext) || (nil == \[_buildContext target\])
    Object: <PBXLegacyTarget:0x104962a00>
    Method: -dealloc
    Thread: <NSThread: 0x100b14190>{name = (null), num = 1}
    Backtrace:
    0 0x000000010035feaf -\[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:\] (in DevToolsCore)
    1 0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
    2 0x00000001002790d1 -\[PBXTarget dealloc\] (in DevToolsCore)
    3 0x00000001002911e8 -\[PBXLegacyTarget dealloc\] (in DevToolsCore)
    4 0x00000001002c5b16 -\[PBXTargetBookmark dealloc\] (in DevToolsCore)
    5 0x00007fff8224ff71 __CFBasicHashStandardCallback (in CoreFoundation)
    6 0x00007fff82250931 __CFBasicHashDrain (in CoreFoundation)
    7 0x00007fff822396b3 _CFRelease (in CoreFoundation)
    8 0x0000000100254171 -\[PBXProject dealloc\] (in DevToolsCore)
    9 0x00007fff82262d56 _CFAutoreleasePoolPop (in CoreFoundation)
    10 0x00007fff841b530c -\[NSAutoreleasePool drain\] (in Foundation)
    11 0x000000010000c60d
    12 0x00000001000014f4
    13 0x0000000000000007
    Stack:
    0 0x00007fff822ded06 __exceptionPreprocess (in CoreFoundation)
    1 0x00007fff832470f3 objcexceptionthrow (in libobjc.A.dylib)
    2 0x00007fff823369b9 -\[NSException raise\] (in CoreFoundation)
    3 0x000000010035ff6a -\[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:\] (in DevToolsCore)
    4 0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
    5 0x00000001002790d1 -\[PBXTarget dealloc\] (in DevToolsCore)
    6 0x00000001002911e8 -\[PBXLegacyTarget dealloc\] (in DevToolsCore)
    7 0x00000001002c5b16 -\[PBXTargetBookmark dealloc\] (in DevToolsCore)
    8 0x00007fff8224ff71 __CFBasicHashStandardCallback (in CoreFoundation)
    9 0x00007fff82250931 __CFBasicHashDrain (in CoreFoundation)
    10 0x00007fff822396b3 _CFRelease (in CoreFoundation)
    11 0x0000000100254171 -\[PBXProject dealloc\] (in DevToolsCore)
    12 0x00007fff82262d56 _CFAutoreleasePoolPop (in CoreFoundation)
    13 0x00007fff841b530c -\[NSAutoreleasePool drain\] (in Foundation)
    14 0x000000010000c60d
    15 0x00000001000014f4
    16 0x0000000000000007
    [code]

    Ok trash your pbxuser and persperctivev3 files
    http://stackoverflow.com/questions/2983847/xcodebuild-throws-assert-failures-aft er-successful-build

  • Solaris Studio 12.4 Beta unable to compile simple C++ program

    The commands and output are shown below
    cat test.cpp; /opt/oracle/solaris_studio/bin/CC  -std=c++11 -o test test.cpp
    #include <random>
    int main () {}
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 41: Error: The function "__builtin_ia32_bsrsi" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 49: Error: The function "__builtin_bswap32" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 89: Error: The function "__builtin_ia32_rdpmc" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 97: Error: The function "__builtin_ia32_rdtsc" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 105: Error: The function "__builtin_ia32_rdtscp" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 113: Error: The function "__builtin_ia32_rolqi" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 121: Error: The function "__builtin_ia32_rolhi" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 137: Error: The function "__builtin_ia32_rorqi" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 145: Error: The function "__builtin_ia32_rorhi" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 161: Error: The function "__builtin_ia32_pause" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 178: Error: The function "__builtin_ia32_bsrdi" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//ia32intrin.h", line 186: Error: The function "__builtin_bswap64" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//adxintrin.h", line 36: Error: The function "__builtin_ia32_addcarryx_u32" must have a prototype.
    "/opt/oracle/solaris_studio/lib/compilers/CC-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include//adxintrin.h", line 45: Error: The function "__builtin_ia32_addcarryx_u64" must have a prototype.
    14 Error(s) detected.
    I install the studio with the tarball file in CentOS 7. I know that officially it only support RHEL 5 & 6, but this is clearly not an OS issue

    This is a known bug in 12.4 Beta:
      18688928 C++11 <random> header includes x86intrin.h on Linux, leading to failures
    This problem is fixed in a final 12.4 release, which will be announced really soon.
    regards,
      Fedor.

  • Solaris Studio 12.4 ccfe signal 11 with boost::unordered_set in C  11 mode

    Using Solaris Studio 12.4 on Solaris 10 update 10 x86, the following program crashes ccfe:
    #include <boost/unordered_set.hpp>
    #include <string>
    int main(int, char **)
        boost::unordered_set<std::string> strSet;
        std::string str("test");
        strSet.insert(str);
        return 0;
    Assuming the code is saved to main.cc, build it in C++11 mode using:
    CC -v -std=c++11 -m64 -I/usr/local/include/boost-1_54 main.cc
    The output is:
    ### CC: Note: NLSPATH = /opt/solarisstudio12.4/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/solarisstudio12.4/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
    ###     command line files and options (expanded):
    ### -v -std=c++11 -m64 -I/usr/local/include/boost-1_54 main.cc
    /opt/solarisstudio12.4/lib/compilers/ccfe -xarch=amd64 -std=c++11 -D__SunOS_5_10 -D__SUNPRO_CC=0x5130 -D__unix -D__SVR4 -D__sun -D__SunOS "-D__builtin_expect(e,x)=e" -D__x86_64 -D__x86_64__ -D__amd64 -D__amd64__ -D_LP64 -D__LP64__ -D__BUILTIN_VA_STRUCT -Dunix -Dsun -D__SUN_PREFETCH -D__SUNPRO_CC_COMPAT='G' -include /opt/solarisstudio12.4/lib/compilers/include/CC/gnu/builtins.h -include /opt/solarisstudio12.4/lib/compilers/include/CC/gnu/builtins-def.h -I/usr/local/include/boost-1_54 -I-xbuiltin -I/opt/solarisstudio12.4/lib/compilers/include/CC/gnu -I/opt/solarisstudio12.4/lib/compilers/CC-gcc/include/c++/4.8.2/ -I/opt/solarisstudio12.4/lib/compilers/CC-gcc/include/c++/4.8.2//backward -I/opt/solarisstudio12.4/lib/compilers/CC-gcc/include/c++/4.8.2/i386-sun-solaris2.10/amd64/ -I/opt/solarisstudio12.4/lib/compilers/include/cc -I/usr/include -I/opt/solarisstudio12.4/lib/compilers/CC-gcc/lib/gcc/i386-sun-solaris2.10/4.8.2/include// -ptf /tmp/ccfe.1422033660.29374.03.%1.%2 -ptx /opt/solarisstudio12.4/bin/CC -ptk "-v -std=c++11 -m64 -I/usr/local/include/boost-1_54 " -compat=g -xdebuginfo=%none -xdbggen=dwarf+usedonly+incl -xF=%none -xbuiltin=%none -xldscope=global -xivdep=loop -O0 -xarrayloc main.cc -o /tmp/ccfe.1422033660.29374.01.ir 2> /tmp/ccfe.1422033660.29374.02.err
    /opt/solarisstudio12.4/lib/compilers/stdlibfilt -stderr < /tmp/ccfe.1422033660.29374.02.err
    >> Signal 11:
        while processing main.cc at line 0.
    rm /tmp/ccfe.1422033660.29374.02.err
    rm /tmp/ccfe.1422033660.29374.01.ir
    I know Boost 1.54 is not the most recent version, but the only changes to unordered_set.hpp between 1.54 and the current master branch in Boost's Git repository are Visual Studio 2013 workarounds, so I strongly suspect the same problem would occur with Solaris Studio 12.4 and more recent versions of Boost.
    This problem can be avoided by using std::unordered_set instead of boost::unordered_set.  However, since the compiler actually suffers a SEGV rather than giving a nice error message I thought I'd report this in case it's a sign of a problem in the compiler that might occur under other circumstances too.

    Thanks for the help.  Yes, sorry, I should have made clear that this is after trying to use Boost in C++11 mode.  I agree that the problem doesn't occur when using Solaris Studio in C++11 mode but Boost configured not to use any C++11 features.
    I made quite a few edits to the Boost code, including the ones Steve posted in this thread.  The edit that causes this problem to occur is the one to boost/config/compiler/sunpro_cc.hpp that removes all the BOOST_NO_CXX11_* macros.
    It sounds like I should just hold off trying to use Boost in C++11 mode until the next version of Solaris Studio is out.
    The pstack from the ccfe core dump is:
    core 'core.1503' of 1503:       /opt/solarisstudio12.4/lib/compilers/ccfe -xarch=amd64 -std=c++11 -D__
    ffff0000 ???????? (8041218, 8, fcf58e0, 0)
    082b7713 __1cPtemp_name_substKsubstitute6MrknQfull_syntax_name__1_ (8041260, 8041180) + 163
    082be63d __1cKexpr_substKvisit_name6MpnJname_expr__v_ (80413c0, ad65da8, 8041348, 8275d73) + fd
    082bc775 __1cKexpr_substKsubstitute6MpknEexpr__p1_ (80413c0, f2cab18, 80413a8) + 35
    082b858b __1cPtemp_name_substQsubst_single_arg6MnPtemplate_actual__k1_ (80415d0, 8041b10, f2cab18, 103, 8041570, 0) + 2fb
    082b8e10 __1cPtemp_name_substUsubstitute_temp_args6MrknbBtemplate_actuals_collection_pknXtemplate_parameter_list__1_ (8041890, 8041b10) + 150
    082ba050 __1cPtemp_name_substPvisit_temp_args6MrknbJsyntax_name_with_template_arguments__v_ (8041b10, fc9dd80, 8041ac0, 8041964) + 30
    082ba2c8 __1cPtemp_name_substFvisit6MrknQsyntax_name_impl4eInSsyntax_name_sort_t____v_ (8041b10, fc9dd80, fcf5610, 0) + 18
    082b76d1 __1cPtemp_name_substKsubstitute6MrknQfull_syntax_name__1_ (8041bf0, 8041b10) + 121
    082b526b __1cPtemp_type_substUvisit_name_dependent6MpnEtype_pnTname_dependent_type__v_ (8041eb0, f2e1aa4, f2e1a58, f2e21f0) + 5b
    082b3930 __1cPtemp_type_substTsubstitute_ret_type6MpnJfunc_type__pnEtype__ (8041eb0, f2e2178, 8041d08, 8041d60) + 30
    082b3c2c __1cPtemp_type_substKvisit_func6MpnEtype_pnJfunc_type__v_ (8041eb0, f2e21a0, f2e2178, f2e21f0) + 25c
    082ba941 __1cPtemp_type_substTexpand_in_func_type6MpnJfunc_type__2_ (8041eb0) + 31
    0816b754 __1cIfunc_symRnew_template_spec6kMrknbBtemplate_actuals_collection_rknIposition__pnDsym__ (f2e21f0) + c4
    082c941b __1cQtemplate_matcherIgen_func6M_pnIfunc_sym__ (8042050, ad62d58, ad65960, 0) + 59b
    0828af3f ???????? (80420f4, ad65940, 80421a0, 0, ad62c50, 0)
    0828b2c9 __1cNoverload_call6FpnJcall_expr_rknJsym_array_4brknbBtemplate_actuals_collection_nEtypeKtype_class_b_2_ (8042198, ad65940, 804219c, 80421a0, 0, ad62c50) + 99
    08204c38 ???????? (ad65940)
    082086ff __1cLtypify_call6FpnJcall_expr_I_pnEexpr__ (ad65940, 4, 0, fd33148) + 9bf
    081e36a5 __1cXtypify_dispatch_visitorKvisit_call6MpnJcall_expr__v_ (8042530, ad65940, 0, 0) + 15
    081e4529 __1cGtypify6FpnEexpr_I_1_ (ad65940, 4, 0, 0) + c9
    082b1e0a __1cJexpr_stmtOpass_thru_expr6MpnEexprHvisitor__v_ (ad659a0, 80425b0, 0, 83bb23e) + 1a
    081e3cd1 __1cXtypify_dispatch_visitorPvisit_statement6MpnOstatement_expr__v_ (8042660, ad62b28, 8042608, 83bbbe9) + 71
    081e4529 __1cGtypify6FpnEexpr_I_1_ (ad62b28, 0, 8759ec0, fc9b740) + c9
    08266956 __1cWstore_inline_func_body6FpnIfunc_sym_pnFscope_bb_pnEexpr__ (fd2fc80, fc9b740, 1, 1) + 426
    082700c8 __1cSinline_bookkeepingOprocess_inline6MpnIfunc_sym_pnJcall_expr_pnEexpr__6_ (8d61508) + 268
    08270542 __1cSinline_bookkeepingNexpand_inline6MpnJcall_expr_pnEexpr__4_ (8d61508, ad5ecf8, 87594a8, 0) + f2
    081e10e3 ???????? (ad5ecf8, 80005, 8043208, 85a44ab)
    081d673e __1cWbind2_dispatch_visitorKvisit_call6MpnJcall_expr__v_ (8043220, ad5ecf8, fd1e6b8, fcb9a40) + 9e
    081d7662 __1cHbind2erKbind2_body6FpnEexpr_I_2_ (ad5ecf8, 80005, 8043288, 0) + a2
    082a94e7 ???????? (ad5ecf8, 0, 0, 0)
    082aaaf3 __1cRstmt_bind_visitorKvisit_expr6MpnJexpr_stmt__v_ (8043350, ad5ed58, 80432f8, 804337c) + 93
    082a8f2f __1cRstmt_bind_visitorOstmt_list_bind6MpnJstatement__2_ (8043350, ad5ed58, 2211, 7fefefef) + 8f
    082b06b5 __1cRstmt_bind_visitorPvisit_statement6MpnOstatement_expr__v_ (8043350) + b5
    082a9294 __1cJstmt_bind6FpnOstatement_expr_b_v_ (ad5bef0) + b4
    081df9c6 ???????? (ad5bef0, 0, 8043428, 8272a37)
    081d6e18 __1cWbind2_dispatch_visitorPvisit_statement6MpnOstatement_expr__v_ (8043420, ad5bef0, 8043448, 8043494) + 98
    081d7662 __1cHbind2erKbind2_body6FpnEexpr_I_2_ (ad5bef0, 0, 8043488, 81710d5) + a2
    082726f0 __1cSinline_bookkeepingQfinish_expansion6MrnbDfunction_definition_interface_pnEexpr__4_ (8d61508, fd2b46c, ad5bef0, 0) + 160
    081e10f9 ???????? (ad4b210, 80005, 8043528, 82759da)
    081d673e __1cWbind2_dispatch_visitorKvisit_call6MpnJcall_expr__v_ (8043520, ad4b210, 0, fcb9a40) + 9e
    081d7662 __1cHbind2erKbind2_body6FpnEexpr_I_2_ (ad4b210, 80005, 8043578, ad55cc0) + a2
    082a94e7 ???????? (ad4b210, 0, 0, 0)
    082aaaf3 __1cRstmt_bind_visitorKvisit_expr6MpnJexpr_stmt__v_ (8043650, ad4b270, fd1e668, 874cef8) + 93
    082a8f2f __1cRstmt_bind_visitorOstmt_list_bind6MpnJstatement__2_ (8043650, ad4a7b0, 1, 7fefefef) + 8f
    082b06b5 __1cRstmt_bind_visitorPvisit_statement6MpnOstatement_expr__v_ (8043650) + b5
    082a9294 __1cJstmt_bind6FpnOstatement_expr_b_v_ (ad4a520) + b4
    081d6e18 __1cWbind2_dispatch_visitorPvisit_statement6MpnOstatement_expr__v_ (8043720, ad4a520, 8043748, 8043794) + 98
    081d7662 __1cHbind2erKbind2_body6FpnEexpr_I_2_ (ad4a520, 0, 8043788, 81710d5) + a2
    082726f0 __1cSinline_bookkeepingQfinish_expansion6MrnbDfunction_definition_interface_pnEexpr__4_ (8d61508, fc7b144, ad4a520, 0) + 160
    081e10f9 ???????? (ad035e8, 80005, fd1e368, 85a4400)
    081d673e __1cWbind2_dispatch_visitorKvisit_call6MpnJcall_expr__v_ (8043820, ad035e8, acffdb8, fcb9a40) + 9e
    081d7662 __1cHbind2erKbind2_body6FpnEexpr_I_2_ (ad035e8, 80005, 8043878, 0) + a2
    082a94e7 ???????? (ad035e8, 0, 0, 0)
    082aaaf3 __1cRstmt_bind_visitorKvisit_expr6MpnJexpr_stmt__v_ (80439c0, ad03648, ad03668, 8759ec0) + 93
    082a8f2f __1cRstmt_bind_visitorOstmt_list_bind6MpnJstatement__2_ (80439c0, acf9468, 0, 82d7323) + 8f
    082afb6b __1cRstmt_bind_visitorWvisit_function_variant6MpnNfunction_stmt_b_v_ (80439c0, ad04358, 1, 8043a30) + 46b
    082afe10 __1cRstmt_bind_visitorOvisit_function6MpnNfunction_stmt__v_ (80439c0, ad04358, ad04378, 8759ec0) + 40
    082a916f __1cUstmt_bind_and_expand6FpnJstatement__1_ (ad04358, 3, fc55f4b, 80443c4) + 11f
    08257545 __1cMfunc_contextJpostamble6MrnbDfunction_definition_interface_pnNfunction_stmt__v_ (871cc98) + d5
    082e879d __1cTimmediate_func_body6FpnIfunc_sym__v_ (fbd3840, fbd3390, 8044dd0, 821b71f) + 3fd
    08266428 __1cMparse_inline6FrnbDfunction_definition_interface__v_ (fbd385c, fbd38cc, 8044eb0, 95a38d4) + 188
    084db8c8 __1cLemit_inline6FpnIsym_list__v_ (fca5328, fca5328) + 2d8
    084d88f1 __1cQcompilation_unitFclean6M_b_ (8759310) + a1
    084dd507 __1cIfinalgen6F_v_ (8c3ffa8, 8759178, 8046eb8, 815db68, 1, 8c41eb8) + 67
    082f533b __1cGanalys6Fb_v_ (1, 8c41eb8, 8046eb8, 815d5d7) + db
    0815db68 __1cHtmcplus6Fri0bpnHoptions__nHsym_set__ (8046f00, 8046ef8, 8046efc, 1, 8c4ced8, 86417b1) + 2be8
    082e5943 main     (34, 8047360, 8047434) + 283
    08153f22 _start   (34, 8047514, 804753e, 804754b, 8047556, 8047565) + 72

  • Use of __typeof__ in Solaris Studio 12.4

    Solaris Studio 12.3 had a __typeof__ operator similar to decltype in C++11.  This is available in a portable wrapper using the Boost macro BOOST_TYPEOF_TPL.  It looks like the Solaris Studio team contributed the modification to Boost which added this in ticket 5745.
    Now Solaris Studio 12.4 has a C++11 mode which supports decltype.  However, is __typeof__ still supposed to work in Solaris Studio 12.4's C++03 mode?  It doesn't seem to work as well as it used to.
    The following program deduces the return type of operator() using __typeof__:
    #include <boost/typeof/typeof.hpp>
    #include <boost/type_traits/remove_reference.hpp>
    #include <iostream>
    #include <typeinfo>
    // Helper to deduce the result type from a member function pointer.
    template<typename T>
    struct member_function_result_type
    template<typename T, typename R, typename A1>
    struct member_function_result_type<R (T::*)(A1) const>
        typedef typename boost::remove_reference<R>::type type;
    template<typename T>
    struct function_result_type
        typedef BOOST_TYPEOF_TPL(&T::operator()) F;
        typedef typename member_function_result_type<F>::type type;
    template<typename R, typename A>
    struct function_result_type<R (*)(A)>
        typedef typename boost::remove_reference<R>::type type;
    struct my_functor
        float operator()(float numerator) const
            return numerator / 2.0f;
    int main(int, char **)
        typedef typename function_result_type<my_functor>::type my_type;
        my_functor f;
        my_type ret = f(5.0f);
        if (typeid(my_type) == typeid(float))
            std::cout << "As expected " << ret << std::endl;
        else
            std::cout << "Oh dear " << ret << std::endl;
        return 0;
    If you build this with Solaris Studio 12.3 as follows:
    CC -m64 -I/usr/local/include/boost-1_54 main.cc
    then it compiles and running a.out shows the return type of float has been correctly deduced.
    However, with Solaris Studio 12.4 the same command:
    CC -m64 -I/usr/local/include/boost-1_54 main.cc
    results in:
    "main.cc", line 23: Error: Unexpected type name "F" encountered.
    "main.cc", line 42: Warning: "typename" must be used within a template.
    1 Error(s) and 1 Warning(s) detected.
    Now, obviously Solaris Studio 12.4 has a C++11 mode and it is possible to get this program to work by changing BOOST_TYPEOF_TPL to decltype and building with:
    CC -std=c++11 -m64 -I/usr/local/include/boost-1_54 main.cc
    But Solaris Studio 12.4's C++11 mode has other problems, so is there any way to somehow get a working __typeof__ or equivalent in Solaris Studio 12.4's C++03 mode?
    (In case it makes any difference this is on Solaris 10 x86.)

    I couldn't see that any of the items listed in the "Enforcement of C++ rules" section of the documentation would affect this program.
    Here's a cut down version of the test program that doesn't use Boost:
    #include <iostream>
    #include <typeinfo>
    // Helper to deduce the result type from a member function pointer.
    template<typename T>
    struct member_function_result_type
    template<typename T, typename R, typename A1>
    struct member_function_result_type<R (T::*)(A1) const>
        typedef R type;
    template<typename T>
    struct function_result_type
        typedef __typeof__(&T::operator()) F;
        typedef typename member_function_result_type<F>::type type;
    template<typename R, typename A>
    struct function_result_type<R (*)(A)>
        typedef R type;
    struct my_functor
        float operator()(float numerator) const
            return numerator / 2.0f;
    int main(int, char **)
        typedef function_result_type<my_functor>::type my_type;
        my_functor f;
        my_type ret = f(5.0f);
        if (typeid(my_type) == typeid(float))
            std::cout << "As expected " << ret << std::endl;
        return 0;
    Interestingly this doesn't compile with either Solaris Studio 12.3 or Solaris Studio 12.4, but each gives different errors:
    Solaris Studio 12.3:
    CC -m64 main.cc
    >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1636)
        while processing main.cc at line 39.
    Solaris Studio 12.4:
    CC -m64 main.cc
    "main.cc", line 20: Error: Unexpected type name "F" encountered.
    1 Error(s) detected.
    So Solaris Studio 12.4 is basically failing in the same way as the original test program that used the Boost wrappers.  Solaris Studio 12.3 is failing with an assertion error that doesn't occur when the Boost wrappers are used.
    It turns out that __typeof__ was only used in one place in our codebase (wrapped by Boost), so I've just removed it and implemented that code in a different way.  So this isn't blocking upgrade of Solaris Studio, and we don't even have __typeof__ in our codebase any more, but I just thought you might be interested to have this program as a test case for future development.
    It works fine with clang++ in C++03 mode on Mac OS X so I doubt the problem is caused by the source code not conforming to standard:
    clang++ main.cc
    ./a.out
    As expected 2.5
    This case may be particularly tricky for a compiler to handle due to __typeof__ being applied to a pointer to a const member function.

  • Solaris Studio 12.3 demangle fatal internal error: information lost in character quoting

    Hello,
    I have run into a problem with the Solaris Studio 12.3 compiler when building one source file that makes use of the open source Eigen library.  The compilation fails with the error:
    demangle fatal internal error: information lost in character quoting
    CC: fbe failed for CSeasonalComponent.cc
    The full command that fails is:
    CC -c -o .objs/CSeasonalComponent.o -m64 -g3 -fsimple=1 -O4 -xbuiltin=%all -xlibmil -xlibmopt -xarch=sse3 -xchip=nehalem -nofstore -xalias_level=compatible -features=extensions -errtags +w -erroff=anonnotype,anonstruct,badargtype2w,hidef,notemsource,wbadasg -library=Crun -library=no%Cstd -KPIC  -mt -I/usr/local/stdcxx/include -I/usr/include -I/usr/local/include -DSOLARIS -D_POSIX_PTHREAD_SEMANTICS -D_RWSTD_NO_STRING_MUTEX -D_RWSTD_MINIMUM_STRING_CAPACITY=22 -D_RWSTD_NO_LIST_NODE_BUFFER -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DEIGEN_MPL2_ONLY -DEIGEN_DONT_USE_RESTRICT_KEYWORD -DNDEBUG -I/export/home/dave/source/local/include -I/usr/local/include/boost-1_54 CSeasonalComponent.cc
    The problem goes away if the -g3 flag is removed.  Replacing -g3 with -g0 does not help - the same fatal error occurs.  (Removing the -g0/-g3 options has the effect of not passing a -dbgfile option to the fbe program, and this appears to be what avoids the problem.)
    The information in this question is from a Solaris x86 machine, although the same "demangle fatal internal error: information lost in character quoting" also occurs on SPARC with the same source file and similar (although obviously not identical) compiler options.
    The result of running the CC command that fails with the -dryrun option added is this:
    ### CC: Note: NLSPATH = /opt/solarisstudio12.3/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/solarisstudio12.3/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
    ###     command line files and options (expanded):
    ### -dryrun -c -o.objs/CSeasonalComponent.o -m64 -g3 -fsimple=1 -O4 -xbuiltin=%all -xlibmil -xlibmopt -xarch=sse3 -xchip=nehalem -nofstore -xalias_level=compatible -features=extensions -errtags=yes +w -erroff=anonnotype,anonstruct,badargtype2w,hidef,notemsource,wbadasg -library=Crun -xcode=pic32 -mt=yes -I/usr/local/stdcxx/include -I/usr/include -I/usr/local/include -DSOLARIS -D_POSIX_PTHREAD_SEMANTICS -D_RWSTD_NO_STRING_MUTEX -D_RWSTD_MINIMUM_STRING_CAPACITY=22 -D_RWSTD_NO_LIST_NODE_BUFFER -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DEIGEN_MPL2_ONLY -DEIGEN_DONT_USE_RESTRICT_KEYWORD -DNDEBUG -I/export/home/dave/source/local/include -I/usr/local/include/boost-1_54 CSeasonalComponent.cc
    /opt/solarisstudio12.3/prod/bin/ccfe -xarch=amd64 -D__SunOS_5_10 -D__SUNPRO_CC=0x5120 -D__unix -D__SVR4 -D__sun -D__SunOS -D__x86_64 -D__x86_64__ -D__amd64 -D__amd64__ -D_LP64 -D__LP64__ -D__BUILTIN_VA_STRUCT -Dunix -Dsun -D_REENTRANT -D__SUN_PREFETCH -D__SUNPRO_CC_COMPAT=5 -I/usr/local/stdcxx/include -I/usr/include -I/usr/local/include -I/export/home/dave/source/local/include -I/usr/local/include/boost-1_54 -I-xbuiltin -I/opt/solarisstudio12.3/prod/include/CC -I/opt/solarisstudio12.3/prod/include/cc -DSOLARIS -D_POSIX_PTHREAD_SEMANTICS -D_RWSTD_NO_STRING_MUTEX -D_RWSTD_MINIMUM_STRING_CAPACITY=22 -D_RWSTD_NO_LIST_NODE_BUFFER -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DEIGEN_MPL2_ONLY -DEIGEN_DONT_USE_RESTRICT_KEYWORD -DNDEBUG -ptf /tmp/ccfe.04.%1.%2 -features=extensions -ptx /opt/solarisstudio12.3/prod/bin/CC -ptk "-dryrun -c -m64 -g3 -fsimple=1 -O4 -xbuiltin=%all -xlibmil -xlibmopt -xarch=sse3 -xchip=nehalem -nofstore -xalias_level=compatible -features=extensions -errtags=yes +w -erroff=anonnotype,anonstruct,badargtype2w,hidef,notemsource,wbadasg -library=Crun -library=no%Cstd -xcode=pic32 -mt=yes -I/usr/local/stdcxx/include -I/usr/include -I/usr/local/include -DSOLARIS -D_POSIX_PTHREAD_SEMANTICS -D_RWSTD_NO_STRING_MUTEX -D_RWSTD_MINIMUM_STRING_CAPACITY='22' -D_RWSTD_NO_LIST_NODE_BUFFER -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DEIGEN_MPL2_ONLY -DEIGEN_DONT_USE_RESTRICT_KEYWORD -DNDEBUG -I/export/home/dave/source/local/include -I/usr/local/include/boost-1_54 " -compat=5 -g -xdebuginfo=macro -xdbggen=no%stabs+dwarf2+usedonly -xF=%none -xbuiltin=%all -pic -xldscope=global -xivdep=loop -xalias_level=layout -xdepend -O4 -errtags -erroff=anonnotype,anonstruct,badargtype2w,hidef,notemsource,wbadasg +w CSeasonalComponent.cc -ptb .objs/CSeasonalComponent.o -o /tmp/ccfe.01.ir -s /tmp/ccfe.02.sd 2> /tmp/ccfe.03.err
    /opt/solarisstudio12.3/prod/bin/iropt -Qy -O4 -xarch=sse3 -m64 -xchip=nehalem -xcache=generic -fsimple=1 -g -depend -mt -k -xalias_level=layout -xbuiltin=%all -xlibmopt -xprefetch=auto,explicit -xprefetch_level=1 -xprefetch_auto_type=no%indirect_array_access -xvector=no%lib,simd -F -o /tmp/iropt.05.ir -is /tmp/ccfe.02.sd /tmp/ccfe.01.ir 2> /tmp/iropt.06.err
    rm /tmp/ccfe.01.ir
    /opt/solarisstudio12.3/prod/bin/c++filt -filt=no%stdlib < /tmp/iropt.06.err >> /tmp/ccfe.03.err
    rm /tmp/iropt.06.err
    /opt/solarisstudio12.3/prod/bin/stdlibfilt -stderr < /tmp/ccfe.03.err
    rm /tmp/ccfe.03.err
    /opt/solarisstudio12.3/prod/bin/ir2hf -Qy -g -O4 -xbuiltin=%all -m64 /tmp/iropt.05.ir /tmp/ccfe.02.sd /tmp/ir2hf.07.hf
    rm /tmp/ccfe.02.sd
    rm /tmp/iropt.05.ir
    /opt/solarisstudio12.3/prod/bin/ube -Qy -verbose -iropt -O4 -comdat -m64 -xarch=sse3 -xchip=nehalem -xcache=generic -xannotate=yes -il /opt/solarisstudio12.3/prod/lib/amd64/libm.il -fsimple=1 -ZW -g -xalias_level=layout -PIC -xbuiltin=%all -N -xprefetch=auto,explicit -xprefetch_level=1 -xthreadvar=dynamic -mt -fbe /opt/solarisstudio12.3/prod/bin/fbe -ipo .objs/CSeasonalComponent.o -dbgfile /tmp/ube.09.dbg -S /tmp/ube.08.s /tmp/ir2hf.07.hf
    rm /tmp/ir2hf.07.hf
    /opt/solarisstudio12.3/prod/bin/fbe -Qy -xarch=amd64 -xchip=nehalem -warn=%none -o .objs/CSeasonalComponent.o /tmp/ube.08.s -dbgfile /tmp/ube.09.dbg
    rm /tmp/ube.08.s
    rm /tmp/ube.09.dbg
    Running the CC command with the -keeptmp option added leaves these files in /tmp:
    -rw-rw-r--   1 dave     dev            0 Dec 11 16:20 /tmp/ccfe.1386778859.8273.03.err
    -rw-rw-r--   1 dave     dev      45679331 Dec 11 16:21 /tmp/ccfe.1386778859.8273.01.ir
    -rw-rw-r--   1 dave     dev            0 Dec 11 16:21 /tmp/iropt.1386778859.8273.06.err
    -rw-rw-r--   1 dave     dev       393220 Dec 11 16:21 /tmp/ccfe.1386778859.8273.02.sd
    -rw-rw-r--   1 dave     dev      47820727 Dec 11 16:21 /tmp/iropt.1386778859.8273.05.ir
    -rw-rw-r--   1 dave     dev      60490992 Dec 11 16:21 /tmp/ir2hf.1386778859.8273.07.hf
    -rw-rw-r--   1 dave     dev      22377791 Dec 11 16:21 /tmp/ube.1386778859.8273.09.dbg
    -rw-rw-r--   1 dave     dev      8915850 Dec 11 16:21 /tmp/ube.1386778859.8273.08.s
    Finally, creating an fbe command similar to the one from the dry run output using the last two files in /tmp with the -V option added as follows:
    /opt/solarisstudio12.3/prod/bin/fbe -V -Qy -xarch=amd64 -xchip=nehalem -warn=%none -o .objs/CSeasonalComponent.o /tmp/ube.1386778859.8273.08.s -dbgfile /tmp/ube.1386778859.8273.09.dbg
    results in this:
    as: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
    demangle fatal internal error: information lost in character quoting
    I would be happy to provide the /tmp/ube.1386778859.8273.08.s and /tmp/ube.1386778859.8273.09.dbg files to assist with reproduction of this problem if anyone is interested.

    The problem with creating a simple test case that doesn't rely on Boost or Eigen is that the error message is so vague that there's no hint about where to start.  The pre-processed source of the file that causes the problem is 4.7MB so trying to chop that down without any clue as to what's relevant is going to be very hard.
    You could do everyone a favour if future internal error messages contained at least some information about what caused the problem.  I know they're not supposed to happen at all, but clearly they occasionally do.  For example, instead of:
    demangle fatal internal error: information lost in character quoting
    something like:
    demangle fatal internal error: information lost in character quoting: corrupt symbol is __1cFEigenPPlainObjectBase4n0AGMatrix4CdIBiBiAIBiB___KresizeLike4n0AOGeneralProduct4n0AFBlock4Ckn0AGMatrix4CdIBIB_"""_oops
    Then that would give somebody trying to report the problem or change their code to avoid it a starting point for where to look.
    Anyway, I've worked around the problem by changing -g3 in the CXXFLAGS in the Makefile to `test $< = CSeasonalComponent.cc || echo -g3` which avoids the error.  And hopefully like you say it's a known problem that's already fixed in the next version of Solaris Studio.

  • SDO_MVCLIENT throws occasional Aurora assertion failure error ORA-29516

    Hi folks,
    Occasionally I seem to receive the follow error when using the SDO_MVCLIENT package to run Mapviewer. The problem goes away if I just resubmit the job.
    Warning: ociexecute() [function.ociexecute]: ORA-29516: Aurora assertion failure: Assertion failure at joeintp.c:373 Interpreter hit null Java opcode. ORA-06512: at "MDSYS.SDO_MVCLIENT", line 393 ORA-06512: at "PDZIEMIELA.TW_PHP", line 553 ORA-06512: at line 1 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\tw.php on line 294
    Line 393 in the package is
    FUNCTION run RETURN VARCHAR2 AS LANGUAGE JAVA NAME 'oracle.lbs.mapclient.SQLMapClient.run() return java.lang.String';
    So I am thinking this has to do with java. Could I have muff the loadjava somehow? I followed all the steps. Any thoughts? This is on a 64 bit Solaris 10 machine. The system has JDK 1.5 in the path but oracle has JDK 1.4 in its directory tree under jdk.
    Thanks!
    Paul

    Also just a note as you don't specify which database version you are running but in 8.1.7 the return buffer does not seem to be managed correctly by the database as once removing a message from the buffer it still remains on the buffer.
    The only work around I've found, so far, is to manipulate Utl_Tcp.Connection.private_bf using utl_raw.
    Under 9i this is not an option as private_bf is non-existant in Utl_Tcp.Connection

  • Assertion Failure in DB 4.5.20

    In my web application I am frequently seeing the following error:
    assert failure: \work\db-4.5.20\dist\winmsi\stage\db-4.5.20\env\db_salloc.c/267: "*((u_int8_t *)ptr + free_size - 1) == GUARD_BYTE"
    Does anyone know what might be causing this? The failure results in me having to restart Tomcat, which is okay for development, but I'd like to make sure this doesn't occur in production.

    It looks like you are using the pre-compiled version of Berkeley DB.
    Did you compile the code that is using the Berkeley DB DLL, and if so, which version of Visual Studio did you use? This looks like a common problem caused by mixing code compiled with different versions of Visual Studio. The Berkeley DB binaries supplied by Oracle are compiled with Visual Studio 6.
    There are incompatibilities between the versions of the malloc and free calls in the libraries provided with each release of Visual Studio. For that reason, when mixing code compiled with different versions of Visual Studio, it is necessary to take an extra step to ensure that compatible versions of malloc and free are called on all blocks of memory passed to and from Berkeley DB.
    To make this happen, add this call opening a Berkeley DB database or environment:
    dbenv->set_alloc(dbenv, malloc, realloc, free);
    or (if you don't have a database environment):
    db->set_alloc(db, malloc, realloc, free);
    Regards,
    Michael.

  • Assertion failure error while using hierarchy column in 11.1.1.7.1

    Hi all,
    I have done In-place upgrade of OBIEE from 11.1.1.5 to 11.1.1.7. Afterthat installed 11.1.1.7.1 patchset also.
    Dashboard prompts were created by using hierarchy column. While applying hierarchy prompt i am getting below error
    Assertion failure: levels.size() > start_pos at line 843 of project/weblayoutbuilder/viewlayoutbuilderutil.cpp
      Error Details
    Error Codes: ACIOA5LN
    Some times presentation services will restarted automatically.
    Kindly give a solution regarding this.
    Thanks in advance

    This is occuring due to Bug 17334677 in 11.1.1.7.0. It has been fixed in future versions and backported to SOA BPM 11.1.1.7.0 Apply Patch 17334677

  • AFPPRN received a return code of failure from the OSD routine FDUPRN

    Hi all,
    Operting system : Solaris 9
    Oracle application: 11.5.10
    i would like to ask query related to buffer area of pinter on solaris server.
    we are trying to print cheques using oracle application on network printer.
    some times it is printing the cheques with out any problem but sometimes it throws and error message in concurrent request log file.
    ****************** L O G F I L E C O N T E N T S ***************
    Printing output file.
    Request ID : 849798
    Number of copies : 1
    Printer : radch1
    Pasta: Error: Error reading input file for type checking.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. An error occurred while AOL tried to spawn the print process
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. An error occurred while AOL tried to spawn the print process.
    Action: Review your concurrent request log file for more detailed information.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 20-AUG-2009 11:49:18
    ****************** L O G F I L E C O N T E N T S ***************
    my question is
    1) Do we need to delete any temporary files from server related to printer.
    Regards

    Hi,
    What is the status of those concurrent requests (Completed with Warning or with Error)?
    1) Do we need to delete any temporary files from server related to printer.Usually, you do not need to delete any files manually, temp files will be created by the application, and there should no issues with the files permissions (unless you have some other instance running on the same node with different applmgr user). However, you can safely clean (.t and .tmp) files as per the following documents.
    Note: 435437.1 - Most Common Solutions to FRM-41839 and .tmp Files Not Being Deleted
    Note: 145487.1 - Files Types .t and .temp and .tmp, are Saving Under /var/tmp
    Note: 162232.1 - Why Does Oracle Forms Create .TMP Files Which Fill Up The Filesystem e.g. /tmp ?
    I would also suggest you search Metalink for APP-FND-00500 and you will get many hits, go through the documents and see if it helps.
    Regards,
    Hussein

  • Mail attachment assertion failure Yosemite - Mail app bug

    Hi,
    I am facing a very annoying issue with Mail app. Since the upgrade to Yosemite, I am unable to save attachments with the "save all" button and the drag and drop is not working properly (sometime freezing the mail app for a minute). I am using Yosemite 10.10.2
    I tried every fix I have read online, such as :
    - rebuild mailboxes
    - repair permissions
    - remove 3 enveloppe index files in .../V2/MailData
    - reindex spotlight
    - run the command to repair permissions & reset home directory permissions and ACL (from this post : Mavericks Mail "Save Attachement..." doesn't work)
    - onyx automations...
    Nothing presented above fixed the problem.
    Here are the console logs related to the issue :
    20/02/2015 03:38:49,690 mdwrite[4655]: -[MDKeyRing initWithService:label:comment:] (/SourceCache/Spotlight/Spotlight-917.1/xpc-services/mdwrite/MDKeyRing.m:294) failed assertion -- Couldn't add Spotlight Metadata Privacy password to keychain! [osErr:-25295]
    20/02/2015 03:38:49,973 Mail[4088]: Metadata.framework [Error]: error Connection interrupted
    20/02/2015 03:38:49,973 Mail[4088]: *** Assertion failure in -[MailWebAttachment _addPrivateAttributes:], /SourceCache/Mail/Mail-2070.6/Mail/MessageDisplay/MessageView/DocumentModel/Mai lWebAttachment.m:331
    20/02/2015 03:38:49,973 Mail[4088]: [QL] Exception raised while try to get launch url for preview item: Failure in _MDItemSetPrivateAttributes: 3
    There is apparently a problem with the privacy attributes. Any idea of how to solve it?
    Thanks for your help,
    Best,
    Laurent

    Hi,
    I am facing a very annoying issue with Mail app. Since the upgrade to Yosemite, I am unable to save attachments with the "save all" button and the drag and drop is not working properly (sometime freezing the mail app for a minute). I am using Yosemite 10.10.2
    I tried every fix I have read online, such as :
    - rebuild mailboxes
    - repair permissions
    - remove 3 enveloppe index files in .../V2/MailData
    - reindex spotlight
    - run the command to repair permissions & reset home directory permissions and ACL (from this post : Mavericks Mail "Save Attachement..." doesn't work)
    - onyx automations...
    Nothing presented above fixed the problem.
    Here are the console logs related to the issue :
    20/02/2015 03:38:49,690 mdwrite[4655]: -[MDKeyRing initWithService:label:comment:] (/SourceCache/Spotlight/Spotlight-917.1/xpc-services/mdwrite/MDKeyRing.m:294) failed assertion -- Couldn't add Spotlight Metadata Privacy password to keychain! [osErr:-25295]
    20/02/2015 03:38:49,973 Mail[4088]: Metadata.framework [Error]: error Connection interrupted
    20/02/2015 03:38:49,973 Mail[4088]: *** Assertion failure in -[MailWebAttachment _addPrivateAttributes:], /SourceCache/Mail/Mail-2070.6/Mail/MessageDisplay/MessageView/DocumentModel/Mai lWebAttachment.m:331
    20/02/2015 03:38:49,973 Mail[4088]: [QL] Exception raised while try to get launch url for preview item: Failure in _MDItemSetPrivateAttributes: 3
    There is apparently a problem with the privacy attributes. Any idea of how to solve it?
    Thanks for your help,
    Best,
    Laurent

  • Compiling / Linking error in Solaris Studio 12.3 C++ Compiler

    Hi,
    I downloaded Solaris Studio 12.3 (SolarisStudio12.3-solaris-x86-pkg.tar.bz2) & unpacked and installed on the default directory (in non-interactive mode) of local machine running Solaris 10 10/09 s10x_u8wos_08a X86. Also applied all the required patches by running the "install_patches.sh" after running "solarisstudio.sh".
    My application has make files to take care of the building the whole application. I made necessary changes to the make files to pick up the latest Solaris 12.3 C++ compiler. I could see that it has picked up for compiling.
    While building the whole project, the source files are compiled to object files successfully but when it is creating shared object (.so) files it stops at the below error:
    /opt/solarisstudio12.3/prod/bin/CC -mt -i -library=stlport4 -zdefs -ztext -G -h xmem.so -Lpic/lib/debug/sol32 -L/MyHome/open_source/abc/lib/sol32 -L/MyHome/open_source/mno/lib/sol32 -L/MyHome/open_source/pqr/lib/sol32 -L/MyHome/open_source/xyz/lib/sol32 -g -lc -lCrun -lumem -m32 -o debug/xmem.so
    *usage: CC [ options ] files. Use 'CC -flags' for details*
    Note:
    Some third party open source libraries are being used in the project. Those libraries are not built using Solaris Studio 12.3 compilers.
    Tried changing lot of options and re-ordering the switches/options but no luck. But on changing as mentioned below the shared library DID build successfully
    - Added space after '-L' option, added '*' at the end of path like "-L/MyHome/open_source/pqr/lib/sol32/*".
    Note:*_
    +1) I tried compiling a separate small program into object files using Solaris 12.3 C++ compiler but got the above error/problem when linking the experimental libraries (shared object) with most of the options used in the above command.+
    +2) The same project gets built successfully in Solaris Studio 12.1 (studio12.1-091123) and Solaris Studio 12 (studio12-070724) but the same is failing in Solaris Studio 12.3.+
    Can someone please help me to understand the issue and resolve it? Let me know if any more information is needed.
    Thanks in advance.
    -Vijay
    Edited by: 974820 on Dec 4, 2012 7:05 PM

    Hi Steve,
    Thanks for the valuable input on the -xdebugformat option. Every suggestion of yours is helping me to proceed further to some extent. This time too, after removing the "-xdebugformat=stabs", I am able to go past the previous error.
    BUT this time I am running into -xarch option problem. I am not sure if this is a application design or compilation options issue or compiler issue. Posting it here to get some inputs to understand more on this before raising any service request with Oracle Support.
    The error details and workarounds used with their result._
    NOTE: All these compilation were passed in earlier Studio versions.
    ORIGINAL - with -xarch=sse2
    ===============================ERRORS===============================
    /opt/solarisstudio12.3/prod/bin/CC -errtags=yes -Kpic -mt -errwarn -xdepend=yes -DUSING_STUDIO11 common/xm2/x86/common/inc/templates.il -D__EXTENSIONS__ -g -xarch=sse2 -Icommon/xccolor/inc -Icommon/xm2/x86/include -Icommon/xm2/x86/assembly/inc -Icommon/xm2/x86/common/inc -Iinclude -Icommon/xm2/x86hbc/expander/inc -Icommon/xm2/x86/jpeg/inc -Icommon/xm2embedded/host/x86/hbc/inc -Icommon/xm2/common/inc -Iimg-drv//include -Icommon/xm2/config/inc -Icommon/Utilities/include -Iimg-drv/ipshared/include -Icommon/cpp/inc -I/workspaces/3rd_Party/open_source/poco-1.3.6p2/include -I/workspaces/3rd_Party/open_source/boost_1_49_0/include -I/workspaces/3rd_Party/open_source/ACE-6.0 -I/workspaces/osnl/include -I/workspaces/osnl/SunOS/include -m32 -c common/xm2/x86/hbc/src/hbc_jpeg.c -o artifacts/common/xm2/x86/obj/debug/sol32/hbc_jpeg.o
    Assembler:
    "/tmp/yabeAAAIaaOxX", line 294 : Syntax error
    Near line: " maskmovq %mm0,%ebp"
    "/tmp/yabeAAAIaaOxX", line 1175 : Syntax error
    Near line: " maskmovq %mm0,%ebp"
    Failure in /opt/solarisstudio12.3/prod/bin/fbe, status = 0x7f00
    Fatal Error exec'ing /opt/solarisstudio12.3/prod/bin/fbe
    common/xm2embedded/host/x86/src/hbc_jpeg.c:1062 Warning: mmextract_epi16 intrinsic requires -xarch=sse4_1.*
    cc: acomp failed for common/xm2/x86/hbc/src/hbc_jpeg.c
    gmake[1]: *** [_artifacts_/common/xm2/x86/obj/debug/sol32/hbc_jpeg.o] Error 2
    gmake[1]: *** Waiting for unfinished jobs....
    ===============================ERRORS===============================
    AFTER CHANGING -xarch=sse2 to -xarch=sse4_1
    ===============================ERRORS===============================
    /opt/solarisstudio12.3/prod/bin/CC -errtags=yes -Kpic -mt -errwarn -library=stlport4 -DCPU_LITTLE_ENDIAN -DDSP_LITTLE_ENDIAN -xarch=sse4_1 -DTIXML_USE_STL=1 -erroff=doubunder -g -Icommon/xm2/xm2util/src -Icommon/xm2/xm2util/inc -Icommon/xm2/common/inc -Icommon/xm2/config/inc -Icommon/xm2embedded/host/utils/inc -Icommon/xm2/imageutil/inc -Icommon/xm2/x86hbc/include -Icommon/include -Iinclude -Icommon/xcc/inc -Icommon/cpp/inc -Icommon/Util/include -I/workspaces/open_source/poco-1.3.6p2/include -I/workspaces/3rd_Party/open_source/boost_1_49_0/include -I/workspaces/3rd_Party/open_source/ACE-6.0 -I/workspaces/CP.00_compiler/docusp/osnlayer/include -I/workspaces/osnl/SunOS/include -m32 -c common/xm2/xm2/src/JPEGHelpers.cpp -o artifacts/common/xm2/xm2/src/obj/debug/sol32/JPEGHelpers.o
    "common/xm2/xm2/src/JPEGHelpers.cpp", line 918: Error, nostructsym: Variable table is not a structure.
    "common/xm2/xm2/src/JPEGHelpers.cpp", line 919: Error, nostructsym: Variable table is not a structure.
    "common/xm2/xm2/src/JPEGHelpers.cpp", line 926: Error, nostructsym: Variable clear_high2bits is not a structure.
    "common/xm2/xm2/src/JPEGHelpers.cpp", line 927: Error, nostructsym: Variable clear_high2bits is not a structure.
    "common/xm2/xm2/src/JPEGHelpers.cpp", line 1223: Error, unassigned: The variable clear_high2bits has not yet been assigned a value.
    "common/xm2/xm2/src/JPEGHelpers.cpp", line 1224: Error, unassigned: The variable table has not yet been assigned a value.
    6 Error(s) detected.
    /opt/solarisstudio12.3/prod/bin/CC -errtags=yes -Kpic -mt -errwarn -library=stlport4 -DCPU_LITTLE_ENDIAN -DDSP_LITTLE_ENDIAN -xarch=sse4_1 -DTIXML_USE_STL=1 -erroff=doubunder -g -Icommon/xm2/xm2/src -Icommon/xm2/xm2/inc -Icommon/xm2/common/inc -Icommon/xm2/config/inc -Icommon/xm2/utils/inc -Icommon/xm2/imageutil/inc -Icommon/xm2/x86/include -Icommon/xm2/include -Iinclude -Icommon/xcc/inc -Icommon/cpp/inc -Icommon/Util/include -I/workspaces/3rd_Party/open_source/poco-1.3.6p2/include -I/workspaces/3rd_Party/open_source/boost_1_49_0/include -I/workspaces/3rd_Party/open_source/ACE-6.0 -I/workspaces/osnl/include -I/workspaces/osnl/SunOS/include -m32 -c common/xm2/xm2/src/Color.cpp -o artifacts/common/xm2/xm2/src/obj/debug/sol32/Color.o
    "common/xm2/xm2/inc/JPEGStripsImage.hpp", line 85: Error, badinitlval: Initializing std::vector<unsigned, xm2::XM2Allocator<unsigned>>& requires an lvalue.
    "common/xm2/image/inc/ISelector.hpp", line 36: Error, badinitlval: Initializing std::vector<unsigned, xm2::XM2Allocator<unsigned>>& requires an lvalue.
    "common/xm2/image/inc/RasterSelectorImage.hpp", line 53: Error, badinitlval: Initializing std::vector<unsigned, xm2::XM2Allocator<unsigned>>& requires an lvalue.
    3 Error(s) detected.
    6 Error(s) detected.gmake[1]: *** [_artifacts_/common/xm2/xm2/src/obj/debug/sol32/JPEGHelpers.o] Error 2
    gmake[1]: *** Waiting for unfinished jobs....
    3 Error(s) detected.gmake[1]: *** [_artifacts_/common/xm2/xm2/src/obj/debug/sol32/Color.o] Error 2
    ===============================ERRORS===============================
    Thank you.
    Vijay

Maybe you are looking for

  • Using PostgreSQL through a DB Link connection

    Hi, I'm trying to connect to PostgreSQL using a DB Link connection but when retrieving the users in the Discoverer Administrator after selecting the Database Link I got the following error: Database Error - ORA - 00904: "USERNAME" invalid identifier.

  • Odd touchscreen lack of response within one app

    I am aware from the forum that a number of users have had touchscreen problems but as far as I can see the touchscreen on my new Xperia Z3 Compact is working fine....most of the time. However ... with one app that has worked well on my earlier Motoro

  • Commit Handling In RFC adapter

    hi... Can any one explain what is the commit Handling in RFC Adapter scenario venkat

  • IPhoto export images w/Adobe RGB

    I shoot in RAW (Nikon), import image file to iPhoto, do some minor edits, and export to JPG (max quality) or TIFF. When I open with Preview and do COMMAND-I, I noticed the exported file now has Adobe-RGB as the color space. How I can export (from iPh

  • Changes in backing bean are not considered for deployment

    hi, i'm not sure whether this is a jsf specific issue but..anyway, here's the case: I'm using eclipse ( lomboz) as ide and whenever i change something in my backing bean (let's say add a new method) it is not found after redeployment neither after cl