Sun Compiler Opengl

Hi,
Ive tried to install glut and opengl so the sun compiler can compile my opengl sources, however I cant seem to get it to work.
Can I use the NVIDIA Opengl Headers and binaries or do I have to use Mesa / Sun GL?
Can someone give me a step by step guide on how to get Sun compiler to see the Opengl headers etc.
Many Thanks
Alex

What platform (sparc/intel Solaris/Linux) are you trying it on?

Similar Messages

  • Sun Compiler Compatibility with g++

    I am new to C++ so I believe this is a basic question.
    I was given the job of compiling a C++ program to be compatible with Sun compiler 5.5 Patch 113817-19 2006/10/13 on Solaris 9 Sparc. Since I did not have the Sun One Studio 8 I compiled the program using G++ 3.4.6. Question: will this program compiled with g++ 3.4.6 satisfy the requirements.
    Any help would be appreciated.
    --Acevez                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    You have to ask those imposing the requirement what they actually care about.
    If you need binary compatibility, the answer is "No." Object code produced from C++ source code by any version of Sun C++ cannot be linked with object code produced from C++ source code by any version of g++.
    If the requirement is that the source code be successfully compiled by Sun ONE Studio 8 (C++ 5.5), the answer is "maybe." Limitations include the following:
    1. Every compiler has bugs. Code might trigger a bug in one compiler but not in a different compiler.
    2. g++ has extensions not supported by Sun C++ 5.5. Source code that uses an unsupported extension probably won't work the same (and probably won't compile) with Sun C++ 5.5. If you write code for use with g++, you might not know when you are using a g++ extension.
    3. The default version of the C++ Standard Library used by Sun C++ is libCstd, which does not fully conform to the C++ standard. Sun C++ also provides the STLport library as an option. Standard-conforming source code that works with g++ and its libstdc++ might not work with Sun C++ libCstd, but will probably work wtih STLport. If you are not allowed to use STLport with Sun C++ and write code for g++, you might write code that depends on features not supported by libCstd.
    In summary, you are asking questions about portability. The short answer is that
    A. C++ object code is in general not portable among C++ compilers, and
    B. You don't know whether source code is portable until you port it.
    That said, most programmers find most of the time that well-written code that has portability in mind works fine with Sun C++.
    Finally, Sun Studio 8 is obsolete. It would be better to use the current release, Sun Studio 11, which is free. You can get it here:
    http://developers.sun.com/sunstudio
    Sun Studio 11 is source and binary compatible with Sun Studio 8, in the following sense:
    Valid source code that works with Sun Studio 8 will also work with Sun Studio 11.
    Object code produced by Sun Studio 8 can be linked into programs built by Sun Studio 11.
    Good luck!

  • Do anybody know, if there is a roadmap of Suns compiler as OSS?

    Hi!
    I have read at
    http://www.heise.de/newsticker/result.xhtml?url=/newsticker/meldung/90435
    that Sun plans to publish version 12 of Sun Studio for Linux and Solaris free of charge on 4.6.2007 at
    http://developer.sun.com/sunstudio
    This also then includes again its C/C++ and Fortran Compiler for Linux and Solaris.
    I have also heard, that Sun plans to make its compiler, with which (Open)Solaris is compiled, also OpenSource.
    Do you know, if it is right, that Suns compiler will be OpenSource in the future?
    And do you know, if there existing a roadmap, in which year this will be?
    Greatings
    theuserbl

    http://forum.java.sun.com/thread.jspa?threadID=5179230

  • ES2Graphics/GL2ES2/GL2/com.sun.prism.opengl disappeared in JavaFX 2.2 b13

    Hey there,
    I've noticed that with JavaFX 2.2 b13 the com.sun.prism.opengl package and the GL2ES2 and GL2 classes disappeared. Is there a proper replacement for these classes or a possibility to acces the underlying GL classes, because in my code I use something like this:
    ES2Graphics gfx = (ES2Graphics) graphics;
    GL2 gl = gfx.getGL().getGL2();Best regards, Steffen

    Yes, it does!
    Finally, i solved my problems by doanloading a eclipse Indigo with the plugin efxclipse.
    In the preferences > javafx i set the javafx SDK directory. Then, in my eclipse rcp, i put all javafx packages i needed in the "imported packages".
    Finally, i added a dependency of my product to the plugins at.bestsolution.efxclipse.runtime.javafx and at.bestsolution.efxclipse.runtime.osgi found here
    I don't know how to do that without efxclipse. I posted a message on their forum to know if there is another way easier than this one.
    It seems their is some problems with classloading to fix and the plugin at.bestsolution.efxclipse.runtime.osgi care about that.
    If someone has found another solution, i'm interested.
    Edited by: Razielwar on 2 mai 2012 05:39

  • JNLP secure property sun.java2d.opengl

    I have problem with passing secure properties to application in JNLP.
    When I running application as:
    javafx -Dsun.java2d.opengl=True -jar sample.jar
    All fine, System.getProperty("sun.java2d.opengl") is "True" and
    Result:
    …getAccelType(gc)=OpenGL
    But as signed webstart application:
    javaws sample.jnlp
    System.getProperty("sun.java2d.opengl") still "True", but
    Result:
    …getAccelType(gc)=CPU/Java
    By the way in console can see output:
    OpenGL pipeline enabled for default config on screen 0
    Sample.jar / Main.fx:
    package sample;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.text.Text;
    import java.awt.GraphicsConfiguration;
    import java.awt.GraphicsDevice;
    import java.awt.GraphicsEnvironment;
    import javafx.scene.effect.*;
    import javafx.scene.layout.VBox;
    import java.lang.System;
    import java.lang.Runtime;
    var data:VBox = VBox{};
    Stage {
        title: "Application title"
        scene: Scene {
            width: 500
            height: 400
            content: [
                data
    FX.deferAction(function():Void {
        def gc = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration();
        def effects = [
            Blend {}
            Bloom {}
            BoxBlur {}
            ColorAdjust {}
            DisplacementMap {}
            DropShadow {}
            Flood {}
            GaussianBlur {}
            Glow {}
            Identity {}
            InnerShadow {}
            InvertMask {}
            Lighting {}
            MotionBlur {}
            PerspectiveTransform {}
            Reflection {}
            SepiaTone {}
            Shadow {}
        for (effect in effects)
            insert Text {
                    content: "{effect.getClass().getSimpleName()}.getAccelType(gc)={effect.getAccelType(gc)}"
                } into data.content;
        insert Text {
            content: "property OpenGL= {System.getProperty("sun.java2d.opengl")}"
        } into data.content;
    sample.jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="file:/home/krolm/NetBeansProjects/sample/dist/" href="sample.jnlp">
    <information>
    <title>sample</title>
    <vendor>krolm</vendor>
    <homepage href=""/>
    <description>sample</description>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="always" policy="always"/>
    <resources>
    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
    <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>
    <jar href="sample.jar" main="true"/>
    <property name="sun.java2d.opengl" value="True"/>
    </resources>
    <application-desc main-class="com.sun.javafx.runtime.main.Main">
    <argument>MainJavaFXScript=sample.Main</argument>
    </application-desc>
    </jnlp>
    $ java -version
    java version &ldquo;1.6.0_16&Prime;
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
    Debian GNU/Linux squeeze/sid
    Thanks in advance

    Krolm wrote:
    I have problem with passing secure properties to application in JNLP. AFAIR, for secure properties to have an effect, you need to include a copy of the JNLP in the main, signed Jar. The JNLP in the Jar must match, byte-for-byte, the JNLP file that launches the application.
    sample.jnlp:You JNLP file is invalid. It has elements out of the correct order. To validate JNLP files I (wrote &) recommend either [YAX-V|http://pscode.org/xml/xmltools.html#yaxv] or JaNeLA. YAX-V is purely a validation app., whereas JaNeLA does validation + other checks more specific to JWS launches.
    Here is a valid version of your JNLP file, with a comment in it about another dubious aspect.
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="file:/home/krolm/NetBeansProjects/sample/dist/" href="sample.jnlp">
    <information>
         <title>sample</title>
         <vendor>krolm</vendor>
         <!-- Why is this href empty? If you don't use it, remove it. -->
         <homepage href=""/>
         <description>sample</description>
         <offline-allowed/>
    </information>
    <security>
         <all-permissions/>
    </security>
    <update check="always" policy="always"/>
    <resources>
         <j2se href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
         <jar href="sample.jar" main="true"/>
         <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>
         <property name="sun.java2d.opengl" value="True"/>
    </resources>
    <application-desc main-class="com.sun.javafx.runtime.main.Main">
         <argument>MainJavaFXScript=sample.Main</argument>
    </application-desc>
    </jnlp>And that reminds me. When posting code, code snippets, XML/HTML or input/output, please use the code tags. The code tags help retain the indentation and formatting of the sample. To use the code tags, select the sample and click the CODE button.
    Thanks in advanceNo worries.

  • Debugging and troubleshooting sun.java2d.opengl

    When I turn sun.java2d.opengl to true, it renders some of my swing components in garbled ways and it renders the whole frame as blue on another persons computer. So, how do I debug / troubleshoot these problems? I think the first thing I should do is update my drivers but if it still doesn't work, I'd like to discover the cause of the problem.

    I found this link: http://java.sun.com/javase/6/webnotes/trouble/TSG-Desktop/html/java2d.html

  • Generics bug in Sun compiler?

    The code show compiles using the oracle compiler, but when executed generate a NoSuchMethodError. Apparently, this doesn't occur when run under Eclipse, presumably compiled byJikes. Is this a known bug? (Compiled using 1.6.0_21)
    public class Bug  {
        public static void main(String[] args) {
            X x = new X();
            x.da();
        public static interface A {
            void foo();
        public static interface B {
            void bar();
        public static class FooBar implements A, B {
            @Override public void foo() {
            @Override public void bar() {
        public static class Z<T extends A & B, TT extends T> {
            final TT t;
            public Z(final TT t) {
                this.t = t;
            void da() {
                    t.foo();
                    t.bar();
        public static class X extends Z<FooBar, FooBar> {
            public X() {
                super(new FooBar());
    }Exception in thread "main" java.lang.NoSuchMethodError: com.iontrading.anvil.tradelibrary.bus.Bug$A.bar()V
         at com.iontrading.anvil.tradelibrary.bus.Bug$Z.da(Bug.java:40)
         at com.iontrading.anvil.tradelibrary.bus.Bug.main(Bug.java:8)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)

    rxcolvin wrote:
    Apparently, this doesn't occur when run under Eclipse, presumably compiled byJikes.Minor correction: Eclipse doesn't use Jikes (and as far as I know never did). They do have their own compiler however (called simply the Eclipse Java Compiler). ECJ is written in Java, as opposed to Jikes, which is written in C++.
    Edit: confirmed to be broken with javac from the Sun JDK (6u22) and the OpenJDK 1.6.0_20. Works when compiled with the Eclipse compiler (both with conformance 1.5 and 1.6) from an up-to-date Eclipse 3.6.1.
    It wouldn't be the first time that ECJ gets something right that javac doesn't compile correctly.

  • Sun Compiler on Solaris for Intel

    Is Sun Workshop C++ compiler with RogueWave library available on
    Solaris for Intel platform?

    I believe this is the case with Workshop 6, which is downloadable as a Beta from the developer connection website, but I haven't checked.
    http://soldc.sun.com/workshop6ea I think is the URL.

  • Sun compiler for linux

    when i was installing compiler everythings have gone well i haven't got any problem my platform is intel 865 chipset

    Hi Alexey,
    The actual code i want to compile is proprietary so will not be able to post it. Anyway the compiler gives the same error on a simple mpi file as below so i dont think it has anything to do with the code i am trying to compile. And as i mentioned earlier the code does compile and run without the -xipo flag.
    ------example.f ------
    program mpi_test
    include 'mpif.h'
    integer ierr
    integer rc
    integer myID
    integer nproc
    integer nslaves
    call mpi_init( ierr )
    call mpi_comm_rank( MPI_COMM_WORLD, myID, ierr )
    call mpi_comm_size( MPI_COMM_WORLD, nProc, ierr )
    nSlaves = nProc-1
    write(*,*) 'I am proc #',myID
    call mpi_finalize(rc)
    end
    Thanks
    Winston

  • Strange C++ error when using newer Sun Studio compiler

    My company has just set up a new build machine for our product. We have gone from
    this version: CC: Sun C++ 5.7 Patch 117830-11 2007/04/04
    to this one: CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
    we have also upgraded the OS (solaris/sparc). I think the new one has gcc but the old one doesn't (we don't use it).
    and now I am getting this error:
    "/opt/SUNWspro/prod/include/CC/./new", line 32: Error, badextlnk: operator new(unsigned) was declared before with a different language.
    "/opt/SUNWspro/prod/include/CC/./new", line 35: Error, badextlnk: operator delete(void*) was declared before with a different language.
    "/opt/SUNWspro/prod/include/CC/./new", line 37: Error, badextlnk: operator new[](unsigned) was declared before with a different language.
    "/opt/SUNWspro/prod/include/CC/./new", line 40: Error, badextlnk: operator delete[](void*) was declared before with a different language.
    "/opt/SUNWspro/prod/include/CC/./new", line 53: Error, badollnk: Only one of a set of overloaded functions can be extern "C".
    "/opt/SUNWspro/prod/include/CC/./new", line 54: Error, badollnk: Only one of a set of overloaded functions can be extern "C".
    "/opt/SUNWspro/prod/include/CC/./new", line 55: Error, badollnk: Only one of a set of overloaded functions can be extern "C".
    "/opt/SUNWspro/prod/include/CC/./new", line 56: Error, badollnk: Only one of a set of overloaded functions can be extern "C".
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 106: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 169: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 185: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 198: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 202: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 206: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 217: Error, badollnk: Only one of a set of overloaded functions can be extern "C".
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 225: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 239: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 249: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 264: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    "/opt/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 275: Error, temnotexternc: Template declarations cannot have extern "C" linkage.
    I have no idea what could be causing this. I can find one link to it on this forum: http://forums.sun.com/thread.jspa?messageID=9488983 . But the only answer to that query says it is the same as another bug which appears entirely different, not to mention being very old (while talking about an imminent fix), and being related to a different OS and (I think) a different version of sun studio (express vs. normal?).
    Any ideas? Could it be related to having gcc/g++ on the machine?

    Hi,
    I am also facing the same error while upgrading the Sun compiler description as below
    when I am compiling the cxx file on the system with compiler version (CC: Sun C++ 5.9 SunOS_sparc 2007/05/03) , I am facing the following error:-
    /opt/SUNWspro/bin/CC -dy -misalign -xcode=abs64 -xarch=v9 -D__EXTENSIONS__ -Dsun4_R5=1 -I. -Isun4_R5_v -I/home/as185259/ash_iadraid/ash_get_10/IA/PORT/include -I/home/as185259/ash_iadraid/ash_get_10/IA/WV/WV5.3.6-ncr0302/build/include/sun4_R5_v -I/app/oracle/product/10.2.0/client_1/sqllib/public -I/app/oracle/product/10.2.0/client_1/precomp/public -I/opt/informix/include -DSVR4 -O -g p -pta -c MContext.cxx -o sun4_R5_v/MContext.o || \
    (rm -f sun4_R5_v.d; false)CC: Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs
    "/home/as185259/ash_iadraid/ash_get_10/IA/WV/WV5.3.6-ncr0302/build/include/sun4_R5_v/ssmalloc.h", line 97: Error: Only one of a set of overloaded functions can be extern "C".
    "/home/as185259/ash_iadraid/ash_get_10/IA/WV/WV5.3.6-ncr0302/build/include/sun4_R5_v/ssmalloc.h", line 99: Error: Only one of a set of overloaded functions can be extern "C".
    "/home/as185259/ash_iadraid/ash_get_10/IA/WV/WV5.3.6-ncr0302/build/include/sun4_R5_v/ssmalloc.h", line 101: Error: Only one of a set of overloaded functions can be extern "C".
    "/home/as185259/ash_iadraid/ash_get_10/IA/WV/WV5.3.6-ncr0302/build/include/sun4_R5_v/ssmalloc.h", line 102: Error: Only one of a set of overloaded functions can be extern "C".
    4 Error(s) detected.
    The same file with the same compilation command is getting compiled with compiler version CC: Sun WorkShop 6 update 2 C+ 5.3 2001/05/15 .
    Can anyone suggest what should be the resolution:-
    The code for the ssmalloc.h file is as under:-
    #ifndef SSMALLOC_H
    #define SSMALLOCH
    #include <stddef.h>
    #if defined(__sparcv9)
    namespace ssmalloc {
    #endif
    #if defined(__cplusplus)
    extern "C" {
    #endif
    The type for the malloc routine depends on
    the compiler and library that you are using.
    #if defined(hpux) || defined(sun4_R5) || defined(__GNUC_) || defined(_OS2_)
    typedef void MALLOC_PTR;
    #else
    typedef char *MALLOC_PTR;
    #endif
    #if defined(_GNUG_)
    typedef size_t MALLOC_SIZE;
    #else
    typedef unsigned MALLOC_SIZE;
    #endif
    #if defined(sun4) && ! defined(_GNUG_)
    # define FREE_RETURNS int
    # define FREE_RETURN return 0
    #else
    # define FREE_RETURNS void
    # define FREE_RETURN return
    #endif
    // User-callable routines.
    // Note: memalign and valloc are broken in that they do not aling
    // memory on documented boundaries, and thus do not behave as described
    // on the "malloc" manual page. They simply call malloc.
    MALLOC_PTR malloc (MALLOC_SIZE size);
    FREE_RETURNS free (MALLOC_PTR data);
    MALLOC_PTR realloc (MALLOC_PTR data, MALLOC_SIZE size);
    MALLOC_PTR calloc (size_t nelem, size_t elsz);
    MALLOC_PTR valloc (unsigned size);
    MALLOC_PTR memalign (unsigned alignment, unsigned size);
    // This memory allocator supports memory allocation inside signal
    // handlers. For correct operation, the following functions must be
    // called upon entering and exiting signal handlers that allocate
    // memory.
    void ssmalloc_enter_signal_level();
    void ssmalloc_exit_signal_level();
    // Set this variable to not 0 (possibly in the debugger) if you want
    // to get malloc to check memory data structures very carefully as it
    // goes. This may be handy if you are trying to detect a memory
    // trasher.
    // It also causes ssmalloc to abort the program instead of returning
    // zero if memory runs out.
    extern int check_memory_very_carefully;
    #if defined(__cplusplus)
    #endif
    #if defined(__sparcv9)
    } // namespace ssmalloc {
    #endif
    #endif / SSMALLOCH */
    The Machine is
    root@ldg1-> uname -a
    SunOS ldg1 5.10 Generic_138888-03 sun4v sparc SUNW,Sun-Blade-T6320
    Thanks
    Vijay

  • Two compile issues with Sun Studio 12 @ x86(_64 = amd64)

    The following two issues are absent on Solaris 10 SPARC and all previous Sun Studio versions (8 to 11), but present on both amd64 Solaris 10 and Linux 2.6 versions:
    1. mozilla.org's Spidermonkey "JavaScript" (ECMAscript) can't be compiled with it: in file jsinterp.c an endless loop is entered by the optimizer in level -xO1 and higher (!). With no optimization, linking is impossible (unresolved symbols from jsinterp.o), which hints to defunct output.
    2. the optimizer (ube) is crashing in sources with a switch with many many case labels in optimization level -xO3 and higher with a segfault.

    I have trouble to seperate a reasonable (example) source out of our complex sources showing the second issue --- what I can already tell is, that the following special pragma has to do with it (while I'm now in doubt that the each 256 case labels per switch, two switches in an if else clause have to do with it):
    #pragma opt 0 (func_name)
    Own1 Own2 func_name(...)
    The buggy versions I can tell you: they are
    on Solaris 10 amd64:
    /opt/SUNWspro/bin/cc -V
    cc: Sun C 5.9 SunOS_i386 2007/05/03
    /opt/SUNWspro/prod/bin/ube -V
    ube: Sun Compiler Common 12 SunOS_i386 2007/05/03
    on GNU/Linux:
    cc -V
    cc: Sun C 5.9 Linux_i386 2007/05/03
    ube -V
    ube: Sun Compiler Common 12 Linux_i386 2007/05/03
    The only important compiler option in this regard seems to be the optimization level, but the situation is complex too, if others should be also involved. I will investigate further...

  • Compilation error while building boost 1_44_0 on Solaris (Sun Studio 10)

    Hi All, I am trying to build boost version 1_44_0 on Solaris.The Solaris box has Sun Studio 10 installed.
    The compiler details are
    bash-2.05$ CC -V
    CC: Sun C++ 5.7 2005/01/07
    I am using the following command to build boost libraries
    *bash-2.05$ bjam --build-dir=/export/home/dfdev/Boost_1_44_0/boost_1_44_0/tmp/build-boost toolset=sun stage*
    But i get the below compilation errors, not even one of the projects build
    sun.compile.c++ /export/home/dfdev/Boost_1_44_0/boost_1_44_0/tmp/build-boost/boo
    st/bin.v2/libs/iostreams/build/sun/release/stdlib-sun-stlport/threading-multi/fi
    le_descriptor.o
    Notice: The Early Access serial number will expire in -7 days.
    In order to purchase the product, visit http://www.sun.com/forte/buy.html
    or contact your Forte Tools reseller.
    "libs/iostreams/src/file_descriptor.cpp", line 352: Error: Could not find boost:
    :shared_ptr<boost::iostreams::detail::file_descriptor_impl>::shared_ptr(boost::i
    ostreams::detail::file_descriptor_impl*) to initialize pimpl_.
    "libs/iostreams/src/file_descriptor.cpp", line 355: Error: Could not find boost:
    :shared_ptr<boost::iostreams::detail::file_descriptor_impl>::shared_ptr(boost::i
    ostreams::detail::file_descriptor_impl*) to initialize pimpl_.
    "libs/iostreams/src/file_descriptor.cpp", line 360: Error: Could not find boost:
    :shared_ptr<boost::iostreams::detail::file_descriptor_impl>::shared_ptr(boost::i
    ostreams::detail::file_descriptor_impl*) to initialize pimpl_.
    "libs/iostreams/src/file_descriptor.cpp", line 380: Error: Could not find boost:
    :shared_ptr<boost::iostreams::detail::file_descriptor_impl>::shared_ptr(boost::i
    ostreams::detail::file_descriptor_impl*) to initialize pimpl_.
    "libs/iostreams/src/file_descriptor.cpp", line 385: Error: Could not find boost:
    :shared_ptr<boost::iostreams::detail::file_descriptor_impl>::shared_ptr(boost::i
    ostreams::detail::file_descriptor_impl*) to initialize pimpl_.
    "libs/iostreams/src/file_descriptor.cpp", line 393: Error: Using static_cast to
    convert from boost::iostreams::file_descriptor_flags to boost::iostreams::detail
    ::file_descriptor_impl::flags not allowed.
    6 Error(s) detected.
    "CC" -library=stlport4 -xO4 -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DB
    OOST_IOSTREAMS_DYN_LINK=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -c -o
    "/export/home/dfdev/Boost_1_44_0/boost_1_44_0/tmp/build-boost/boost/bin.v2/libs/
    iostreams/build/sun/release/stdlib-sun-stlport/threading-multi/file_descriptor.o
    " "libs/iostreams/src/file_descriptor.cpp"
    ...failed sun.compile.c++ /export/home/dfdev/Boost_1_44_0/boost_1_44_0/tmp/build
    -boost/boost/bin.v2/libs/iostreams/build/sun/release/stdlib-sun-stlport/threadin
    g-multi/file_descriptor.o...
    sun.compile.c++ /export/home/dfdev/Boost_1_44_0/boost_1_44_0/tmp/build-boost/boo
    st/bin.v2/libs/iostreams/build/sun/release/stdlib-sun-stlport/threading-multi/ma
    pped_file.o
    Notice: The Early Access serial number will expire in -7 days.
    In order to purchase the product, visit http://www.sun.com/forte/buy.html
    or contact your Forte Tools reseller.
    "./boost/type_traits/is_array.hpp", line 41: Error: Multiple declaration for boo
    st::is_array.
    "./boost/type_traits/is_array.hpp", line 42: Error: Multiple declaration for boo
    st::is_array.
    "./boost/type_traits/is_array.hpp", line 43: Error: Multiple declaration for boo
    st::is_array.
    "./boost/type_traits/is_array.hpp", line 44: Error: Multiple declaration for boo
    st::is_array.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 95: Error: The type
    of specialized argument boost::mpl::aux::F<boost::mpl::aux::P1> is dependent on
    another argument.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 95: Error: Partial s
    pecialization parameter Tag is not used in the arguments.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 112: Error: Partial
    specialization parameter F is not used in the arguments.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 172: Error: The type
    of specialized argument boost::mpl::aux::F<boost::mpl::aux::P1, boost::mpl::aux
    ::P2> is dependent on another argument.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 172: Error: Partial
    specialization parameter Tag is not used in the arguments.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 189: Error: Partial
    specialization parameter F is not used in the arguments.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 254: Error: The type
    of specialized argument boost::mpl::aux::F<boost::mpl::aux::P1, boost::mpl::aux
    ::P2, boost::mpl::aux::P3> is dependent on another argument.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 254: Error: Partial
    specialization parameter Tag is not used in the arguments.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 271: Error: Partial
    specialization parameter F is not used in the arguments.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 339: Error: The type
    of specialized argument boost::mpl::aux::F<boost::mpl::aux::P1, boost::mpl::aux
    ::P2, boost::mpl::aux::P3, boost::mpl::aux::P4> is dependent on another argument
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 339: Error: Partial
    specialization parameter Tag is not used in the arguments.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 357: Error: Partial
    specialization parameter F is not used in the arguments.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 427: Error: The type
    of specialized argument boost::mpl::aux::F<boost::mpl::aux::P1, boost::mpl::aux
    ::P2, boost::mpl::aux::P3, boost::mpl::aux::P4, boost::mpl::aux::P5> is dependen
    t on another argument.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 427: Error: Partial
    specialization parameter Tag is not used in the arguments.
    "./boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", line 445: Error: Partial
    specialization parameter F is not used in the arguments.
    "libs/iostreams/src/mapped_file.cpp", line 441: Error: Could not find boost::sha
    red_ptr<boost::iostreams::detail::mapped_file_impl>::shared_ptr(boost::iostreams
    ::detail::mapped_file_impl*) to initialize pimpl_.
    20 Error(s) detected.
    Am i missing something? I will appreciate your input's.
    Regards,
    solarisneo

    C++ 5.7 will not give good results building Boost.
    Support for boost began with C++ 5.9 (Sun Studio 12), but you will get better results using the current release, Sun Studio 12 update 1, and better still with the upcoming release, Oracle Solaris Studio 12.2.

  • Cannot compile a prog in C++ using Sun WS 5.0 on Solaris 8

    I am getting errors while compiling a helloworld program in C++ using Sun Workshop 5.0 on Solaris 8. The error messages are given below.
    The command I use for compiling my program is :
    CC Hello.cpp
    Is there anything wrong with the installation of the compiler?
    (All my C is code is compiling perfectly)
    Do I need to make some settings?
    Is the Sun compiler 5.0 incompatible with Solaris 8?
    In addition to this, if I want to use the list and vector classes, what headers can I use? What should the compilation command be?
    Thanks,
    Puneet Singhal
    I am getting these error messages:
    "/usr/include/iso/wchar_iso.h", line 100: Error: Multiple declaration for mbstate_t.
    "/opt/SUNWspro/SC5.0/include/CC/./iosfwd", line 51: Error: The name mbstate_t is ambiguous, std::mb
    state_t and std::mbstate_t.
    "/opt/SUNWspro/SC5.0/include/CC/./iosfwd", line 78: Error: The name mbstate_t is ambiguous, std::mb
    state_t and std::mbstate_t.
    "/opt/SUNWspro/SC5.0/include/CC/rw/iotraits", line 56: Error: The name mbstate_t is ambiguous, std:
    :mbstate_t and std::mbstate_t.
    4 Error(s) detected.
    The program listing of Hello.cpp:
    ----------------------------------------------------#include<iostream.h>
    int main()
    cout << "Hello World";
    return 0;

    I've been able to compile this program fine on Solaris 8 with Forte Developer 6 Update 2. The exact version+patches is: CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-04 2001/12/13
    I've also compiled with Workshop 5.0, and the code works fine. This is on Solaris 8 with the following compiler version+patches:
    CC: WorkShop Compilers 5.0 01/12/04 C++ 5.0 Patch 107311-16
    Let me know if you have any questions.
    -Moazam

  • Sun C++ compiler dumps core during compiling mozilla!

    I have tried to build mozilla 0.9.6 using Sun compiler, but it dumps core:
    CC -o nsDOMClassInfo.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DOJI -D_IMPL_NS_DOM -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/webbrwsr -I../../../dist/include/js -I../../../dist/include/widget -I../../../dist/include/gfx -I../../../dist/include/layout -I../../../dist/include/content -I../../../dist/include/content_xsl -I../../../dist/include/caps -I../../../dist/include/docshell -I../../../dist/include/xpconnect -I../../../dist/include/pref -I../../../dist/include/oji -I../../../dist/include/necko -I../../../dist/include/java -I../../../dist/include/locale -I../../../dist/include/uriloader -I../../../dist/include/sidebar -I../../../dist/include/xuldoc -I../../../dist/include/timer -I../../../dist/include/webshell -I../../../dist/include/view -I../../../dist/include/uconv -I../../../dist/include/shistory -I../../../dist/include/plugin -I../../../dist/include/windowwatcher -I../../../dist/include/htmlparser -I../../../dist/include/chardet -I../../../dist/include/transformiix -I../../../dist/include/xmlextras -I../../../dist/include/find -I../../../dist/include/appshell -I../../../dist/include/dom -I../../../dist/include -I/usr/local/src/mozilla/mozilla/dist/include/nspr -I/usr/openwin/include -KPIC -I/usr/openwin/include -mt -xO3 -DDEBUG -DDEBUG_root -DTRACING -g -I./../build -I/usr/openwin/include -DMOZILLA_CLIENT -DBROKEN_QSORT=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STATVFS=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_NL_LANGINFO=1 -DHAVE_STRTOK_R=1 -DHAVE_IOS_BINARY=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_SPECIALIZATION=1 -DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DMOZ_WIDGET_GTK=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DIBMBIDI=1 -DACCESSIBILITY=1 -DMOZ_LOGGING=1 -DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DINCLUDE_XUL=1 -DNS_MT_SUPPORTED=1 -DUSE_IMG2=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DMOZ_REFLOW_PERF=1 -DMOZ_REFLOW_PERF_DSP=1 nsDOMClassInfo.cpp
    "nsDOMClassInfo.cpp", line 2653: Warning (Anachronism): Formal argument call of type extern "C" int(*)(JSContext*,JSObject*,unsigned,long*,long*) in call to JS_DefineFunction(JSContext*, JSObject*, const char*, extern "C" int(*)(JSContext*,JSObject*,unsigned,long*,long*), unsigned, unsigned) is being passed int(*)(JSContext*,JSObject*,unsigned,long*,long*).
    "nsDOMClassInfo.cpp", line 2804: Warning (Anachronism): Formal argument call of type extern "C" int(*)(JSContext*,JSObject*,unsigned,long*,long*) in call to JS_DefineFunction(JSContext*, JSObject*, const char*, extern "C" int(*)(JSContext*,JSObject*,unsigned,long*,long*), unsigned, unsigned) is being passed int(*)(JSContext*,JSObject*,unsigned,long*,long*).
    "nsDOMClassInfo.cpp", line 3810: Warning (Anachronism): Formal argument call of type extern "C" int(*)(JSContext*,JSObject*,unsigned,long*,long*) in call to JS_DefineFunction(JSContext*, JSObject*, const char*, extern "C" int(*)(JSContext*,JSObject*,unsigned,long*,long*), unsigned, unsigned) is being passed int(*)(JSContext*,JSObject*,unsigned,long*,long*).
    3 Warning(s) detected.
    CC: Fatal error in ir2hf: Segmentation Fault (core dumped)
    make[3]: *** [nsDOMClassInfo.o] Error 1
    make[3]: Leaving directory `/usr/local/src/mozilla/mozilla/dom/src/base'
    make[2]: *** [install] Error 2
    make[2]: Leaving directory `/usr/local/src/mozilla/mozilla/dom/src'
    make[1]: *** [install] Error 2
    make[1]: Leaving directory `/usr/local/src/mozilla/mozilla/dom'
    make: *** [install] Error 2
    root[mozilla]>CC -V
    CC: Sun WorkShop 6 update 2 C++ 5.3 2001/05/15
    root[mozilla]>uname -a
    SunOS bobotov-kuk 5.8 Generic_108529-12 i86pc i386 i86pc
    root[mozilla]>showrev -p
    Patch: 109619-01 Obsoletes: Requires: Incompatibles: Packages: SUNWeuxwe, SUNWeuezt, SUNWeudlg, SUNWeudda
    Patch: 108726-02 Obsoletes: 109580-01 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWhea
    Patch: 108826-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 108876-07 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWarc, SUNWcstl, SUNWhea
    Patch: 108900-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 108980-05 Obsoletes: 109297-05 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWhea
    Patch: 108986-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109044-02 Obsoletes: Requires: 109042-01 Incompatibles: Packages: SUNWcsu
    Patch: 109046-02 Obsoletes: Requires: 109042-01 Incompatibles: Packages: SUNWcsu
    Patch: 109092-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109138-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109146-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109148-06 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWtoo, SUNWarc, SUNWbtool, SUNWhea, SUNWosdem
    Patch: 109150-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109278-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109280-06 Obsoletes: 109049-06 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWhea
    Patch: 109325-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr
    Patch: 109572-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109577-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr
    Patch: 109730-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109784-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109804-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWxcu4
    Patch: 109808-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109810-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109903-01 Obsoletes: 109059-01 Requires: 109280-05 Incompatibles: Packages: SUNWcsu
    Patch: 108529-03 Obsoletes: 109292-05, 109310-02 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcar, SUNWpmu, SUNWpmr, SUNWhea, SUNWmdb, SUNWsrh, SUNWtnfc
    Patch: 108965-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWhea
    Patch: 108976-03 Obsoletes: Requires: 108969-01, 108978-01 Incompatibles: Packages: SUNWcsu, SUNWvolu
    Patch: 108990-02 Obsoletes: Requires: 108529-01 Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWhea
    Patch: 109004-01 Obsoletes: Requires: 108990-01, 108992-02, 108529-01 Incompatibles: Packages: SUNWcsu, SUNWcsr
    Patch: 109006-01 Obsoletes: Requires: 108998-01, 108990-01, 108992-02, 108994-01, 108529-01 Incompatibles: Packages: SUNWcsu, SUNWcsr
    Patch: 109008-02 Obsoletes: Requires: 108529-01, 108990-01, 108992-02, 108994-01, 108998-01 Incompatibles: Packages: SUNWcsu, SUNWesu
    Patch: 109010-01 Obsoletes: Requires: 108990-01, 108992-02, 108529-01 Incompatibles: Packages: SUNWcsu, SUNWcsr
    Patch: 109012-01 Obsoletes: Requires: 108998-01, 108990-01, 108992-02, 108994-01, 108529-01 Incompatibles: Packages: SUNWcsu, SUNWxcu4
    Patch: 109016-01 Obsoletes: Requires: 108998-01, 108990-01, 108992-02, 108994-01, 108529-01 Incompatibles: Packages: SUNWcsu
    Patch: 109018-01 Obsoletes: Requires: 108998-01, 108994-01 Incompatibles: Packages: SUNWcsu
    Patch: 109020-01 Obsoletes: Requires: 108990-01, 108992-02, 108529-01 Incompatibles: Packages: SUNWcsu
    Patch: 109022-01 Obsoletes: Requires: 108998-01, 108990-01, 108992-02, 108994-01, 108529-01 Incompatibles: Packages: SUNWcsu
    Patch: 109024-01 Obsoletes: Requires: 108998-01, 108990-01, 108992-02, 108994-01, 108529-01 Incompatibles: Packages: SUNWcsu
    Patch: 109028-01 Obsoletes: Requires: 108990-01, 108992-02, 108529-01 Incompatibles: Packages: SUNWcsu
    Patch: 109032-01 Obsoletes: Requires: 109030-01, 108998-01, 108994-01 Incompatibles: Packages: SUNWcsu
    Patch: 109034-01 Obsoletes: Requires: 108998-01, 108994-01 Incompatibles: Packages: SUNWcsu
    Patch: 109036-01 Obsoletes: Requires: 108998-01, 108990-01, 108992-02, 108994-01, 108529-01 Incompatibles: Packages: SUNWcsu
    Patch: 109897-02 Obsoletes: 109315-03 Requires: 108529-03, 108980-05, 109884-01 Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWusb, SUNWusbu
    Patch: 109907-01 Obsoletes: 109063-01 Requires: 109743-02, 109905-01 Incompatibles: Packages: SUNWcsu, SUNWcsr
    Patch: 108876-10 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWarc, SUNWcstl, SUNWhea
    Patch: 110284-05 Obsoletes: 110333-01 Requires: Incompatibles: Packages: SUNWcsu
    Patch: 110663-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 110952-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWsutl
    Patch: 109280-18 Obsoletes: 109049-06, 110181-01, 110553-01, 111542-02 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWhea, SUNWmdb
    Patch: 110899-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109092-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 111233-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 111235-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 110402-03 Obsoletes: 110236-01 Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109327-06 Obsoletes: 110515-01 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWarc, SUNWcstl, SUNWhea
    Patch: 111326-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109325-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr
    Patch: 110946-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 111505-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 111827-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109148-12 Obsoletes: 110792-01 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWtoo, SUNWarc, SUNWbtool, SUNWhea, SUNWosdem
    Patch: 111875-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 109278-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 111660-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWnisu, SUNWhea
    Patch: 110904-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWxcu4
    Patch: 109905-05 Obsoletes: 109061-02, 110183-01, 111538-01 Requires: 109280-16 Incompatibles: Packages: SUNWcsu, SUNWcsr
    Patch: 111099-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
    Patch: 108976-05 Obsoletes: Requires: 108969-01, 108978-01 Incompatibles: Packages: SUNWcsu, SUNWvolu
    Patch: 108986-03 Obsoletes: Requires: 111328-02 Incompatibles: Packages: SUNWcsu
    Patch: 110935-04 Obsoletes: 109138-01, 110950-01, 111364-01 Requires: 110403-03 Incompatibles: Packages: SUNWcsu, SUNWarc
    Patch: 109907-06 Obsoletes: 109063-01, 110187-02, 110596-01, 110933-01, 111055-02 Requires: 109280-07, 111311-01, 109743-02, 109905-02 Incompatibles: Packages: SUNWcsu, SUNWcsr
    Patch: 108529-12 Obsoletes: 108883-03, 108967-06, 109237-01, 109292-05, 109310-02, 109572-02, 109802-02, 110097-05, 110232-01, 110518-03, 109909-01, 109042-04, 111051-03, 111206-02, 110227-01, 108980-14, 109297-05, 110107-02, 110119-03, 110575-01, 110789-01, 109349-02, 110106-01, 109886-02, 110102-01, 110563-01, 110398-05, 111458-04, 111457-01 Requires: 109907-05, 110397-01, 111294-01 Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWcar, SUNWos86r, SUNWpmu, SUNWpmr, SUNWscpu, SUNWarc, SUNWcpc, SUNWcstl, SUNWhea, SUNWmdb, SUNWsrh, SUNWtnfc
    Patch: 108726-06 Obsoletes: 109580-01, 111450-01 Requires: 108529-11 Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWhea
    Patch: 109008-06 Obsoletes: Requires: 108529-01, 108990-01, 108992-02, 108994-01, 108998-01 Incompatibles: Packages: SUNWcsu, SUNWesu
    Patch: 108724-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
    Patch: 108902-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
    Patch: 108978-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWvolu, SUNWhea
    Patch: 109042-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWhea
    Patch: 109155-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcar
    Patch: 109182-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWhea
    Patch: 109237-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWhea
    Patch: 109455-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
    Patch: 109459-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
    Patch: 109473-03 Obsoletes: 109055-02 Requires: Incompatibles: Packages: SUNWcsr, SUNWhea
    Patch: 109741-02 Obsoletes: 109057-01 Requires: Incompatibles: Packages: SUNWcsr
    Patch: 109743-02 Obsoletes: 109053-01 Requires: Incompatibles: Packages: SUNWcsr
    Patch: 109765-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
    Patch: 109884-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWhea
    Patch: 109899-01 Obsoletes: 109051-01 Requires: Incompatibles: Packages: SUNWcsr
    Patch: 109909-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
    Patch: 110076-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
    Patch: 108973-04 Obsoletes: Requires: 109644-01 Incompatibles: Packages: SUNWcsr
    Patch: 108728-04 Obsoletes: Requires: 108529-01 Incompatibles: Packages: SUNWcsr, SUNWhea
    Patch: 108967-03 Obsoletes: Requires: 108529-01 Incompatibles: Packages: SUNWcsr, SUNWhea
    Patch: 108969-02 Obsoletes: Requires: 108978-01 Incompatibles: Packages: SUNWcsr, SUNWesu, SUNWvolu, SUNWhea
    Patch: 108992-05 Obsoletes: Requires: 108529-01, 108990-01, 109237-01 Incompatibles: Packages: SUNWcsr, SUNWcsl, SUNWarc, SUNWcstl, SUNWdpl
    Patch: 108994-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcsl, SUNWnisu, SUNWhea
    Patch: 108996-01 Obsoletes: Requires: 108529-01 Incompatibles: Packages: SUNWcsr, SUNWcsl
    Patch: 108998-03 Obsoletes: Requires: 108994-01 Incompatibles: Packages: SUNWcsr, SUNWcsl, SUNWarc, SUNWcstl, SUNWhea
    Patch: 109000-01 Obsoletes: Requires: 108998-01, 108990-01, 108992-02, 108994-01, 108529-01 Incompatibles: Packages: SUNWcsr, SUNWcsl
    Patch: 109786-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
    Patch: 109901-01 Obsoletes: 109065-01 Requires: Incompatibles: Packages: SUNWcsr
    Patch: 109905-01 Obsoletes: 109061-02 Requires: 109280-05 Incompatibles: Packages: SUNWcsr
    Patch: 109955-01 Obsoletes: Requires: 108529-01 Incompatibles: Packages: SUNWcsr
    Patch: 109368-07 Obsoletes: Requires: 109875-01, 108529-03 Incompatibles: Packages: SUNWcsr, SUNWcsd, SUNWaudd, SUNWnisr, SUNWpmr, SUNWusb, SUNWaudh, SUNWncar
    Patch: 109899-05 Obsoletes: 109051-01 Requires: Incompatibles: Packages: SUNWcsr
    Patch: 109743-05 Obsoletes: 109053-01, 110557-01 Requires: 109280-10 Incompatibles: Packages: SUNWcsr
    Patch: 110902-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
    Patch: 109182-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWhea
    Patch: 111070-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
    Patch: 110616-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWsndmr, SUNWsndmu
    Patch: 110397-02 Obsoletes: 110099-01 Requires: Incompatibles: Packages: SUNWcsr, SUNWcsl, SUNWarc, SUNWcstl, SUNWhea
    Patch: 111294-03 Obsoletes: 111053-01 Requires: Incompatibles: Packages: SUNWcsr, SUNWcsl, SUNWarc, SUNWcstl, SUNWhea
    Patch: 111311-01 Obsoletes: 111165-01 Requires: Incompatibles: Packages: SUNWcsr, SUNWcsl, SUNWcstl
    Patch: 111328-02 Obsoletes: Requires: 109327-05 Incompatibles: Packages: SUNWcsr, SUNWcsl, SUNWarc, SUNWcstl
    Patch: 110403-03 Obsoletes: 110241-01 Requires: Incompatibles: Packages: SUNWcsr, SUNWcsl, SUNWarc, SUNWcstl
    Patch: 108969-05 Obsoletes: Requires: 108978-01 Incompatibles: Packages: SUNWcsr, SUNWesu, SUNWvolu, SUNWhea
    Patch: 108728-09 Obsoletes: Requires: 108529-01 Incompatibles: Packages: SUNWcsr, SUNWhea
    Patch: 108992-18 Obsoletes: 109681-01, 110590-02, 111218-02 Requires: 108529-07, 108990-01 Incompatibles: Packages: SUNWcsr, SUNWcsl, SUNWarc, SUNWcstl, SUNWdpl, SUNWhea
    Patch: 108994-04 Obsoletes: Requires: 108992-12 Incompatibles: Packages: SUNWcsr, SUNWcsl, SUNWnisu, SUNWhea
    Patch: 108821-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl
    Patch: 108828-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl
    Patch: 109224-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl, SUNWgss, SUNWcstl
    Patch: 109323-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl, SUNWarc, SUNWcstl
    Patch: 109327-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl, SUNWcstl
    Patch: 109385-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl
    Patch: 109462-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl
    Patch: 109681-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl
    Patch: 109802-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl
    Patch: 109806-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl
    Patch: 110459-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl, SUNWarc, SUNWcstl
    Patch: 111091-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl
    Patch: 108828-13 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl
    Patch: 111178-06 Obsoletes: 109462-03, 111642-01 Requires: Incompatibles: Packages: SUNWcsl, SUNWarc, SUNWcstl
    Patch: 109323-09 Obsoletes: Requires: 108992-07 Incompatibles: Packages: SUNWcsl, SUNWarc, SUNWcstl
    Patch: 109160-01 Obsoletes: Requires: Incompatibles: Packages: SUNWciu8
    Patch: 108822-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcar
    Patch: 108883-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcar
    Patch: 109929-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcar, SUNWpcmem, SUNWhea
    Patch: 109886-01 Obsoletes: 109349-02 Requires: 108529-03 Incompatibles: Packages: SUNWcar, SUNWhea
    Patch: 109644-02 Obsoletes: Requires: Incompatibles: Packages: SUNWos86r
    Patch: 108653-15 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt, SUNWxwinc, SUNWxwman, SUNWxwpmn, SUNWxwslb
    Patch: 108653-34 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwice, SUNWxwplt, SUNWxwdxm, SUNWxwinc, SUNWxwman, SUNWxwpmn, SUNWxwslb
    Patch: 108941-09 Obsoletes: Requires: Incompatibles: Packages: SUNWmfrun
    Patch: 108961-01 Obsoletes: Requires: Incompatibles: Packages: SUNWadmap
    Patch: 109222-02 Obsoletes: Requires: Incompatibles: Packages: SUNWadmap
    Patch: 110454-01 Obsoletes: Requires: Incompatibles: Packages: SUNWadmap
    Patch: 109319-23 Obsoletes: 108811-01, 108959-05, 108961-01, 109222-06, 110621-01, 110630-02, 110634-03, 110715-01, 109588-04, 110078-03, 110623-01, 110632-01 Requires: 108529-05, 110397-01, 110406-01, 111099-01 Incompatibles: Packages: SUNWadmap, SUNWadmc, SUNWinst
    Patch: 109319-04 Obsoletes: 108811-01, 108959-05 Requires: Incompatibles: Packages: SUNWadmc, SUNWinst
    Patch: 109588-02 Obsoletes: Requires: Incompatibles: Packages: SUNWadmc
    Patch: 108963-01 Obsoletes: Requires: Incompatibles: Packages: SUNWadmj
    Patch: 111334-01 Obsoletes: Requires: Incompatibles: Packages: SUNWadp
    Patch: 108824-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesu
    Patch: 108971-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesu
    Patch: 109937-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesu
    Patch: 109014-02 Obsoletes: Requires: 108529-01, 108990-01, 108992-02, 108994-01, 108998-01 Incompatibles: Packages: SUNWesu
    Patch: 111112-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesu
    Patch: 110917-02 Obsoletes: Requires: Incompatibles: Packages: SUNWesu, SUNWxcu4
    Patch: 108436-02 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC
    Patch: 110701-01 Obsoletes: Requires: Incompatibles: Packages: SUNWatfsu
    Patch: 110287-04 Obsoletes: Requires: Incompatibles: Packages: SUNWtltk
    Patch: 108715-02 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas
    Patch: 108950-03 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas
    Patch: 109143-03 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas
    Patch: 108920-02 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdte
    Patch: 109166-06 Obsoletes: Requires: 108978-01 Incompatibles: Packages: SUNWdtdte, SUNWdticn, SUNWdtdst, SUNWdthev, SUNWdtma
    Patch: 111549-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdoc
    Patch: 108836-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst
    Patch: 109583-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst
    Patch: 109614-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst
    Patch: 109749-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst
    Patch: 110089-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst
    Patch: 109170-08 Obsoletes: Requires: 108922-02 Incompatibles: Packages: SUNWdtezt, SUNWdthez, SUNWdtmaz
    Patch: 109471-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtezt
    Patch: 109961-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtezt
    Patch: 109471-02 Obsoletes: Requires: Incompatibles: Packages: SUNWdtezt
    Patch: 109168-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdthev
    Patch: 109932-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtim
    Patch: 108922-06 Obsoletes: Requires: Incompatibles: Packages: SUNWdtwm
    Patch: 108924-01 Obsoletes: Requires: 108922-03 Incompatibles: Packages: SUNWdtwm
    Patch: 109355-02 Obsoletes: Requires: Incompatibles: Packages: SUNWdtwm
    Patch: 111607-02 Obsoletes: Requires: Incompatibles: Packages: SUNWftpu
    Patch: 109239-01 Obsoletes: Requires: 109237-01, 108992-03 Incompatibles: Packages: SUNWipc, SUNWxcu4
    Patch: 109239-02 Obsoletes: Requires: 108992-03, 109237-01 Incompatibles: Packages: SUNWipc, SUNWxcu4
    Patch: 109129-01 Obsoletes: Requires: Incompatibles: Packages: SUNWisolc
    Patch: 109705-02 Obsoletes: Requires: Incompatibles: Packages: SUNWjiu8
    Patch: 109767-01 Obsoletes: Requires: Incompatibles: Packages: SUNWjxmft, SUNWjxcft
    Patch: 109401-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwpls, SUNWxwscf
    Patch: 109401-11 Obsoletes: Requires: Incompatibles: Packages: SUNWxwpls, SUNWxwscf
    Patch: 109026-01 Obsoletes: Requires: 108996-01, 108990-01, 108992-02, 108529-01 Incompatibles: Packages: SUNWtoo
    Patch: 109135-03 Obsoletes: Requires: Incompatibles: Packages: SUNWwbcou
    Patch: 108870-02 Obsoletes: Requires: Incompatibles: Packages: SUNWmibii, SUNWsasnm, SUNWsadmi
    Patch: 108870-11 Obsoletes: Requires: Incompatibles: Packages: SUNWmibii, SUNWsasnm, SUNWsadmi, SUNWsacom
    Patch: 109038-01 Obsoletes: Requires: 108998-01, 108994-01 Incompatibles: Packages: SUNWnisr, SUNWypr
    Patch: 109329-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu, SUNWypu
    Patch: 110323-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu
    Patch: 110406-02 Obsoletes: 110195-01 Requires: Incompatibles: Packages: SUNWnisu
    Patch: 109668-01 Obsoletes: Requires: Incompatibles: Packages: SUNWntpu
    Patch: 109668-04 Obsoletes: Requires: Incompatibles: Packages: SUNWntpu
    Patch: 109921-02 Obsoletes: Requires: Incompatibles: Packages: SUNWpcmci, SUNWhea
    Patch: 109923-02 Obsoletes: Requires: Incompatibles: Packages: SUNWpcmci, SUNWpcelx, SUNWpcser, SUNWhea
    Patch: 109927-02 Obsoletes: Requires: Incompatibles: Packages: SUNWpcmci
    Patch: 109321-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu, SUNWpsu
    Patch: 109321-04 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu, SUNWppm, SUNWpsf, SUNWpsu, SUNWscplp
    Patch: 109030-01 Obsoletes: Requires: 108998-01, 108994-01 Incompatibles: Packages: SUNWpl5u
    Patch: 109728-01 Obsoletes: Requires: Incompatibles: Packages: SUNWppm
    Patch: 109891-01 Obsoletes: Requires: Incompatibles: Packages: SUNWppm
    Patch: 109895-01 Obsoletes: 109308-01 Requires: 108980-05, 108529-03 Incompatibles: Packages: SUNWpsdcr
    Patch: 109925-02 Obsoletes: Requires: Incompatibles: Packages: SUNWpsdpr, SUNWhea
    Patch: 108988-02 Obsoletes: Requires: Incompatibles: Packages: SUNWswmt
    Patch: 108988-07 Obsoletes: Requires: Incompatibles: Packages: SUNWswmt
    Patch: 109863-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfs
    Patch: 109191-02 Obsoletes: Requires: Incompatibles: Packages: SUNWeeudt, SUNWeeuos, SUNWeeuow
    Patch: 109192-02 Obsoletes: Requires: Incompatibles: Packages: SUNWi5cs
    Patch: 110940-01 Obsoletes: Requires: Incompatibles: Packages: SUNWaccu
    Patch: 109235-01 Obsoletes: Requires: Incompatibles: Packages: SUNWapchr, SUNWapchu, SUNWapchd
    Patch: 109067-03 Obsoletes: Requires: Incompatibles: Packages: SUNWapchu, SUNWcstl, SUNWncar, SUNWncau
    Patch: 109875-01 Obsoletes: 109342-01 Requires: Incompatibles: Packages: SUNWaudh
    Patch: 111072-01 Obsoletes: Requires: Incompatibles: Packages: SUNWbnuu
    Patch: 111571-01 Obsoletes: Requires: Incompatibles: Packages: SUNWbnuu
    Patch: 109991-01 Obsoletes: Requires: Incompatibles: Packages: SUNWbtool
    Patch: 109078-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdhcsu
    Patch: 109608-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea
    Patch: 109643-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea
    Patch: 109814-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea
    Patch: 109878-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea
    Patch: 108809-10 Obsoletes: Requires: Incompatibles: Packages: SUNWman
    Patch: 110944-01 Obsoletes: Requires: Incompatibles: Packages: SUNWtcsh
    Patch: 108898-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwpmn
    Patch: 111597-02 Obsoletes: Requires: 111660-01 Incompatibles: Packages: SUNWypu

    You have run into bug 6588033 "std::sort from libCstd loops", which is fixed in current patches.
    Get the current patches for Sun Studio and also the current patch for the C++ runtime libraries (SUNWlibC patch).
    You can find them here:
    [http://developers.sun.com/sunstudio/downloads/patches/index.jsp]
    Sun C++ 5.5 probably does not have the fix, since it is quite old and falling out of support.
    C++ 5.9 does have the fix.

  • Cc got assertion error, when compiling emacs-23.3

    I got an assertion error with cc as follows, when compiling emacs-23.3.
    It compiles fine without the "-O" option.
    I can provide a CPP processed file which reproduces it.
    ;; I could not find a place to report bugs, and I put it here.
    ;; Sorry if it is not an appropriate place.
    % cc -V
    cc: Sun C 5.12 SunOS_i386 2011/11/16
    % cc -c -Demacs -DHAVE_CONFIG_H -I. -I/work/emacs/emacs-23.3/src -I/usr/dt/include -g -O font.c
    "font.c", line 185: warning: integer overflow detected: op "<<"
    "font.c", line 197: warning: integer overflow detected: op "<<"
    "font.c", line 215: warning: integer overflow detected: op "<<"
    "font.c", line 2995: warning: integer overflow detected: op "<<"
    "font.c", line 3422: warning: integer overflow detected: op "<<"
    "font.c", line 3920: warning: assignment type mismatch:
    pointer to char "=" pointer to unsigned char
    "font.c", line 3945: warning: assignment type mismatch:
    pointer to char "=" pointer to unsigned char
    "font.c", line 4026: warning: integer overflow detected: op "<<"
    assertion failed in function pg_first_pass_do_block_rec() @ post_gen.c:3758
    assert(blk_sp_offset_(nextb) == (current_offset + get_prologue_size() + BITS2BYTES(be_cur_local_size)))
    cc: ube failed for font.c

    Got it ...
    Reduced testcase:
    % cat c.c
    enum Lisp_Type
    Lisp_Int0 = 0,
    Lisp_Float = 7,
    struct Lisp_Float
    union
    double data;
    struct Lisp_Float *chain;
    } u;
    struct Lisp_Vector
    unsigned int size;
    struct Lisp_Vector *next;
    int contents[1];
    int
    font_unparse_xlfd (font, pixel_size, name, nbytes)
    int font;
    int pixel_size;
    char *name;
    int nbytes;
    char *f[21];
    int val;
    int i, j, len = 0;
    val = ( ( struct Lisp_Vector * ) ( ( unsigned int ) ( ( ( font ) ) & ( ( ( ( int ) 1 ) << ( 32 - 3 ) ) - 1 ) ) ) ) -> contents [ 5 ];
    if ( ( ( ( enum Lisp_Type ) ( ( ( unsigned int ) ( ( val ) ) ) >> ( 32 - 3 ) ) ) == Lisp_Float ))
    i = ( ( ( void ) 0 , ( struct Lisp_Float * ) ( ( unsigned int ) ( ( val ) & ( ( ( ( int ) 1 ) << ( 32 - 3 ) ) - 1 ) ) ) ) -> u . data + 0 ) * 10;
    f[2] = __builtin_alloca ( 12 );
    else
    f[2] = "*-*", len += 4;
    % cc -g -O c.c -V
    cc: Sun C 5.12 SunOS_i386 2011/11/16
    acomp: Sun C 5.12 SunOS_i386 2011/11/16
    "c.c", line 41: warning: implicit function declaration: __builtin_alloca
    "c.c", line 41: warning: improper pointer/integer combination: op "="
    iropt: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
    ir2hf: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
    ube: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
    assertion failed in function pg_first_pass_do_block_rec() @ post_gen.c:3758
    assert(blk_sp_offset_(nextb) == (current_offset + get_prologue_size() + BITS2BYTES(be_cur_local_size)))
    cc: ube failed for c.c
    Bug 7167252 filed. If we find a work-around I'll post it.

Maybe you are looking for

  • Login issue in R12 after Java Upgrade

    Hello All, After upgarding Java on Application server to JDK7, I am not able to go past the logon screen of oracle application in R12 using the IE-8 web browser, got with below error,  whereas i am able to work as usual in Firefox web browser, also f

  • File upload in FormDataMultiPart with invalid Chinese filename in MS Window

    Hi, I found a strange problem that for the same file loading code work very well in OSX but not in Windows. The chinese filename get corrupted in Windows but not in OSX. I'm using Jersey 1.9 and the server is running Node.js. Is it a Java problem or

  • How do i insert image and place it where i want to in the pdf

    hi i have converted a word to pdf.Now i have my text on the left and i have a image to be inserted on to the right. when i do insert the image just gets inserted in the center or on the top.

  • Customer oustanding report

    Hi Friends I got one requirement from user ... My requirement is Customer Outstanding by month ....this includes current month and last five months , All previous items under one colum... For this report fom where i can fetch the data ...... Please g

  • Problem in get_lead_selection_index( ). . pls help

    Hi frnds, I have two tables.. one below the other.. the below table has drop down values. lets say table2 the above has the item list. lets say table1 WHen a new record is selected in the table 1, the below table2 has to update few values. for that i