Compilers

hi to all !
i have a problem when i compile a program
the error is:
ld: elf error: file /export/soft/linpack/hpl/lib/Sun_Ultra20/libhpl.a(HPL_dlamch.o): elf_getshdr: Request error: class file/memory mismatch
ld: elf error: file /export/soft/linpack/hpl/lib/Sun_Ultra20/libhpl.a(HPL_dlamch.o): elf_getshdr: Request error: class file/memory mismatch
ld: fatal: file /opt/SUNWhpc/lib/libmpi.so: wrong ELF class: ELFCLASS32
tell me someone what does it mean and what can i do
thanks

This problem is happened with Solaris 10 and Sun Studio compile with 64bit. You get compile error or dbx will crash when you debug the program.
Two correct solutions are to have all the Solaris 10 libraries affected by this bug patched or upgrade your system to Solaris 10 update 1. We have patches for our Sun Studio libraries
SPARC platforms:
119963-04 (Shared library patch for C++)
120753-02 (libmtsk patch)
x86 platforms:
119964-05 (Shared library patch for C++)
120754-02 (libmtsk patch)
But We strongly suggest you to upgrade your OS system to Solaris 10 update 1 or later.
In the mean time, if you can not do either 2 correct solutions above (means you have to stay with Solaris 10 and can't patch all the libraries), Sun Studio dbx group produced dbx patches as a work around solution for this crash problem.
If you have Sun Studio 11, install dbx patch 121023 for SPARC and 121616 for x86
If you have Sun Studio 10, install dbx patch 117844-04 for SPARC and 117845-04 for x86
-Ngoc

Similar Messages

  • Does anyone know anything about embedded compilers?

    That is: compilers reflected by a java class (besides java.lang.Compiler) that have thorough error messages.

    You can look at IBM's Jikes

  • Switching b/w JSP compilers

    In iAS6.0 we had the option of switching b/w the JSP compilers( Jasper & native compilers), by setting -DIAS_JSPSTRICT=false/true in JavaArgs.
    iAS7.0 uses Jasper jsp compiler by default, this is having a strict check on case of tag's and extra spaces.
    Is there any way for switching b/w jsp compilers Or configuring new compiler with SunONE server.
    Thanks,
    Prakash

    Replacing/swapping the JSP compiler with another JSP engine is not a supported feature of Sun ONE Application Server 7.
    Arvind

  • Sun Studio Compilers for Linux: Problems with undefined variables using CC

    I am experiencing the following errors below while trying to compile C++ programs using Sun C++ from the latest release of Sun Studio Compilers for Linux Alpha, on Red Hat Enterprise Linux 4 with kernel 2.6.9-34.EL and Ubuntu Breezy Badger 5.10 with kernel 2.6.12-10-686. I get the same exact errors on both OS's and on two different machines.
    root@ubuntu:/home/jc/cs225/Machine Problems/cs225/mp1/cs225_mp1# make
    CC -c -g string.cpp
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 74: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 75: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 191: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 194: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 261: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 265: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 299: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 302: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 410: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 414: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 506: Error: The function "strstr" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 523: Error: The function "strcspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 529: Error: The function "strspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 214: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 221: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 277: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 335: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 392: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 443: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 504: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 558: Error: Template declarations cannot have extern "C" linkage.
    Compilation aborted, too many Error messages.
    make: *** [string.o] Error 1
    Except on ubuntu, it has one more error
    "/usr/include/wctype.h", line 47: Error: A declaration was expected instead of "}".
    and what is on line 47 is below
    __END_NAMESPACE_C99
    When I comment this line out, that particular error does not show up but still the other errors above still show up.
    From the testing I did, it appears to have these problems for most of the C++ programs I have written, especially the ones that involve object oriented programming. All programs that I wrote do not have these problems with g++ or Sun CC for Solaris. It does however work fine only for small fraction of the programs I have written. I dont quite understand why it works in some cases and others it doesnt, but I know for sure, that it should be working for all cases when Sun CC from Sun Studio 10 on Solaris 10 for X86 has no problems compiling the same programs.

    I tried workaround number 2 from the 3 choices that were listed by horsh. That fixes the mathcalls.h problem but still I have the following errors.
    jcurran2@ubuntu:~/cs225/Machine Problems/cs225/mp1/cs225_mp1$ make
    CC -c -g string.cpp
    "/usr/include/wctype.h", line 47: Error: A declaration was expected instead of "}".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 74: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 75: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 191: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 194: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 261: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 265: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 299: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 302: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 410: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 414: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 506: Error: The function "strstr" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 523: Error: The function "strcspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 529: Error: The function "strspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 55: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 55: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 61: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 63: Error: Use ";" to terminate declarations.
    Error: Cannot continue processing because of prior errors.
    Compilation aborted.
    make: *** [string.o] Error 1
    jcurran2@ubuntu:~/cs225/Machine Problems/cs225/mp1/cs225_mp1$
    Can someone please respond? There is more to the problem. Perhaps
    there are more glibc headers that have problems. In addition, if Sun wants to port the Sun Studio Compilers for linux to be stable on all linux distributions I suggest using VM ware and installing several linux distrobutions as virtual machines and testing this software on each virtual machine to see the problems that occur on each distribution. That way you might be able to uncover more problems to find a solution that will work best for portability on all linux distributions.

  • Intel compilers+MKL+CMAKE corrupting Yosemite 10.10 kernel (no root required)

    I'm forwarding this from Intel software forums, where they suggested me that this is a 10.10 kernel bug.
    Comment by mecej4:
    I should consider it an OSX bug if you cannot kill a misbehaving user mode program, regardless of whether you used MKL, Cmake, and other tools to build the program. In other words, if a program that would cause an access violation in WIndows or a seg-fault in Linux causes a hung machine under OSX, you have a defective OS, and should inform Apple.
    Original thread:
    Dear all,
    I am trying to compile Fenics in OsX using intel compilers.
    The new edition to my saga is that CMAKE creates test binaries when testing MKL that can not be killed, and leads to a slow corruption of the system (i.e. fonts go crazy etc). The error is reproducible in a macbook pro retina 2011 and mac pro cylinder 2013.
    The "zombie" is created when Teuchos is testing:
    Performing Test CXX_COMPLEX_BLAS_WORKS
    The CMAKE is invoked via hashdist with following parameters
    ${CMAKE} -DCMAKE_INSTALL_PREFIX:PATH="${ARTIFACT}" \
      -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON \
      -DCMAKE_INSTALL_RPATH:STRING="${ARTIFACT}/lib" \
      -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \
      -DCMAKE_BUILD_TYPE:STRING=Release \
    -DCMAKE_PREFIX_PATH="${BLAS_DIR};${CMAKE_DIR};${LAPACK_DIR};${MPI_DIR};${NUMPY_ DIR};${PYTHON_DIR};${SUITESPARSE_DIR};${SWIG_DIR}" \
      -D CMAKE_CXX_COMPILER:FILEPATH=${MPICXX} -D CMAKE_C_COMPILER:FILEPATH=${MPICC} -D Trilinos_INSTALL_INCLUDE_DIR:PATH=include/trilinos -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON -D Trilinos_ENABLE_Epetra:BOOL=ON -D Trilinos_ENABLE_ML:BOOL=ON -D Trilinos_ENABLE_PyTrilinos:BOOL=ON -D Trilinos_ENABLE_TESTS:BOOL=OFF -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D TPL_ENABLE_MPI:BOOL=ON -D TPL_ENABLE_UMFPACK:BOOL=ON -D BLAS_LIBRARY_NAMES:STRING=mkl_rt -D BLAS_LIBRARY_DIRS:PATH=/opt/intel/mkl/lib/ -D LAPACK_LIBRARY_NAMES:STRING=mkl_rt -D LAPACK_LIBRARY_DIRS:PATH=/opt/intel/mkl/lib/ -D UMFPACK_INCLUDE_DIRS:PATH=${SUITESPARSE_DIR}/include/suitesparse -D UMFPACK_LIBRARY_DIRS:PATH=${SUITESPARSE_DIR}/lib -D UMFPACK_LIBRARY_NAMES:STRING="umfpack;cholmod;camd;ccolamd;colamd;amd;suitespar seconfig" -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE} -D PYTHON_EXECUTABLE:FILEPATH=${PYTHON} \
    ${CMAKE} --build . -- -j ${HASHDIST_CPU_COUNT}
    The zombie binary is generated with the following link.txt
    mpic++    -DCXX_COMPLEX_BLAS_WORKS -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -Lhashdist/bld/blas/orqin7luuh5d/lib  -L.hashdist/bld/cmake/llreawl5z57x/lib  -L.hashdist/bld/lapack/xvzyk5hqp7ew/lib  -L.hashdist/bld/mpi/gi7gvjksd6f3/lib  -L.hashdist/bld/numpy/pwyxrcqhcikq/lib  -L/.hashdist/bld/python/2y62fdg7o42s/lib  -L/.hashdist/bld/suitesparse/47udu3z4wfph/lib  -L.hashdist/bld/swig/mev4ahg24s3p/lib   CMakeFiles/cmTryCompileExec1717385958.dir/src.cxx.o  -o cmTryCompileExec1717385958  /opt/intel/mkl/lib/libmkl_rt.dylib
    I tried manually, and ended up with the zombie process myself, and had to reboot the system, even I initiated the process with gdb.
    The test is this:
    #include
    #define F77_BLAS_MANGLE(name,NAME) name ## _
    extern "C" {
      std::complex F77_BLAS_MANGLE(cdotc,CDOTC)(
        const int* n, const  std::complex x[], const int* incx,
        const std::complex y[], const int* incy);
    int main() {
      const int NUM=2;
      const int INC=1;
      std::complex f[NUM];
      const std::complex
        ONE = std::complex(1.0,0.0),
        TWO = std::complex(2.0,0.0);
      f[0] =  ONE;
      f[1] =  ONE;
      const std::complex ret =
        F77_BLAS_MANGLE(cdotc,CDOTC)(&NUM, f, &INC, f, &INC);
      return (ret == TWO ? 0 : 1);

    Hi Benzema10,
    If you are having an issue with frequent kernel panics - often showing as the "You must restart your computer..." screen - I would suggest that you troubleshoot using the steps in this article - 
    OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support
    Thanks for using Apple Support Communities.
    Sincerely,
    Brett L 

  • Slow File I/O with newer compilers (SPARCompiler 5 and gcc 3)

    Well it's more like slow File I, as I'm only really testing Input, but anyway, here goes...
    I have a simple program that takes a file of about 250mb and simply loops through the file reading it in chunks of 8,192 bytes.
    Basically I'm timing the read speed to try and figure out why there is such a large discrepancy between the older SPARCompiler 3.0.1 : C++ 4.0.1 and the newer 5.0 as well as gcc 3.0 in reading a file. I realize that the old compiler doesn't support STL and that SPARCompiler 5's .h headers basically point to the STL headers, so there is a difference there, but the numbers I get are around 35s with SC 3.0.1 : C++ 4.0.1 to about 90s with SC 5.0 and 76s with gcc 3.0. I understand the numbers are going to vary depending on the test input file size and the machine you're running on, but the ratio's should stay relatively similar if you do run your own tests. That slowdown is pretty much unacceptable in my opinion and I really want the benefits of a new compiler, am I doing something wrong, is this a known issue??
    Command Lines (I did my best to try with different versions of the OS, but Sun licensing makes it hard!):
    With C++ 4.0.1 (tried on Solaris 2.6 and 2.7)
    CC -fast -o IOtest.CC io_read_tst.cpp
    With C++ 5 (used on Solaris 2.5.1 and 2.8)
    CC -O3 -o IOtest.CC5 io_read_tst.cpp
    With gcc 3.0 (tried on Solaris 2.5.1, 2.6, 2.7, and 2.8)
    gcc -O3 -o IOtest.gcc3 io_read_tst.cpp
    I've got the latest patches for the OS and compilers, I've tried compiling on multiple versions of the OS (Solaris 2.5.1, 2.6, 2.7, and 2.8) and always I get similar results, I know I haven't tested every OS possibility, but you have to re-install the OS to test since the compiler is licensed to only one machine, at least for the SUN Compilers anyway! Any help would be greatly, greatly appreciated, code is as follows:
    #include <iostream.h>
    #include <fstream.h>
    #include <time.h>
    int main( )
    char sBuffer[8192];
    time_t startTime, endTime;
    ifstream TestFile;
    TestFile.open( "/data4/tax101/taxtab" ); // Change this to a large file local to your system (~250mb)
    if( TestFile.fail() )
    return( EXIT_FAILURE );
    time( &startTime );
    while( !TestFile.eof() )
    TestFile.read( sBuffer, 8192 );
    time( &endTime );
    cout << endl << "Read Time: " << endTime - startTime << "s\n";
    return( EXIT_SUCCESS );
    Thanks,
    Lance Beddawi
    [email protected]

    Alright, here is my code reposted:
    // Warning.java
    // Reads student data from a text file and writes data to another text file.
    import java.util.;
    import java.io.;
    public class Warning
    // // Reads student data (name, semester hours, quality points) from a
    // text file, computes the GPA, then writes data to another file
    // if the student is placed on academic warning.
    public static void main (String[] args)
    int creditHrs; // number of semester hours earned
    double qualityPts; // number of quality points earned
    double gpa; // grade point (quality point) average
    Scanner scan=null;
    PrintWriter outFile=null;
    String name, inputName = "students.txt";
    String outputName = "warning.txt";
    try
    // Set up Scanner to input file
    scan=new Scanner(new FileInputStream(inputName));
    // Set up the output file stream
    outFile = new PrintWriter(new FileWriter(outputName));
    // Print a header to the output file
    outFile.println ();
    outFile.println ("Students on Academic Warning");
    outFile.println ();
    // Process the input file, one token at a time
    while (scan.hasNext())
    // Get the credit hours and quality points and
    // determine if the student is on warning. If so,
    // write the student data to the output file.
    name=scan.next();
    creditHrs=scan.nextInt();
    qualityPts=scan.nextDouble();
    gpa=qualityPts/creditHrs;
    if ((gpa < 1.5 && creditHrs < 30) || (gpa < 1.75 && creditHrs < 60) || (gpa < 2.0 && creditHrs >= 60))
    outFile.print(name " ");
    outFile.print(creditHrs " ");
    outFile.print(qualityPts " ");
    outFile.print(gpa);
    //Add a catch for each of the specified exceptions, and in each case
    //give as specific a message as you can
    catch (FileNotFoundException e)
    System.out.println("The file " inputName " was not found.");
    catch (IOException e)
    System.out.println("The I/O operation failed and " outputName + " could not be created.");
    catch (InputMismatchException e)
    System.out.println("The input information was not of the right type.");

  • Quick Question, re: C and C++ Compilers Installation

    I am running Mac OS X Tiger; I've been reading on here that in order to get the C and C++ compilers, I have to use the Tiger discs that came with my iBook. So, my question is, when I pop these discs in, will it give me an option of what I want to install/correct, a la a Windows Installer for applications? If not, what do I need to do?
    Thanks in advance for your time in responding.
      Mac OS X (10.4.5)  

    MacOS X comes with XCode, Apple's IDE that include a C/C++/Objective-C compiler (and a lot of other stuff). Just run the Developer's Tool install from your installation disk or download the current version from the Apple developer site. It's extremely easy to install.

  • Do we need two compilers?

    when we use an swf that's AVM1Movie and when its used in
    flex3 and communicate between them using a local connection, do we
    need both flex3 and flex2 compilers to run the SWF that's built in
    flex3 having swf of older version embedded?

    The AVM1 movie gets loaded, not embedded. It is already
    compiled and just plays in the AVM1 machine of the Flash Player
    plugin.

  • Compilers with (good) support for c++11

    I'm looking for more compilers to cross check and optimize the project I'm working on. As I tested and tried a lot of new c++11 features, those should be supported.
    Up to now on my machine I have:
    g++ (the good one! )
    clang++ (does not support openMP )
    icpc (does not support some c++11 as Delegating constructors and User defined literals )
    I was wondering if there is something else that I don't know.

    Thid may take you a bit away from your current setup, but if you have used sup you shouldn't be too scared ;D
    Ive started using mutt a while back, and if properly configured it can do a _lot_ of things and very well at that too!
    Anyway, to answer your post:
    1) Mutt can be configured to retieve your rss feeds, so you dont need to use rss2email and still get a centralilsed repo for your email and rss and, you will be able to keep your email account uncluttered with rss mail (but thats personal preference).
    2) Intrinsically, like all CLI mail clients, butt doesnt show html/html5 or embedded flash in email. /BUT/ you can configure it to use a differen program to handle this automatically.
    So, you will be able to get say uzbl, or jumanji or surf (if you're into your lightweight browsers) to open those multimedia emails. Edit: it seems you will probably have to use links2, but you may be able to use other clients (they will have to open as a seperate application though, whilst links2 is able to stay embedded. Maybe this can be done with the other browsers but I haven't tried nor researched this.
    Generally as: (in .muttrc)
    # enriched messages
    auto_view text/html # view html automatically
    alternative_order text/plain text/enriched text/html # but save it for last
    Credit for that snippet goes to something i found on dotfiles. If I ever find the author's name, I shall edit it in here.
    You will also need to create a .mailcap file with the relevant data. A basic google search reveals some good tutorials for this.
    Last edited by GalacticArachnid (2010-12-03 02:01:42)

  • How are Hot Spot Compilers and VMs of different vendors fit together?

    I read that the Hot Spot technology is splitted up into a Hot Spot compiler and a Hot Spot VM. Since maybe the ISV uses another Hot Spot Compiler (maybe IBM on Windows) to compile and the user drives that app on another Hot Spot VM (maybe Novell on Netware), I am wondering how this fits together?
    Do some compiler/VM couples make problem? Do some combinations produce higher performance or smaller memory load than others?
    Any comments welcome! :-)

    You compiled the same application using jikes and the
    sun javac and then ran it on the the same jvm (and
    version) and got a 10% improvement using the jikes
    binary?Yes, but this was more than a year ago. I used javac from Sun 1.3 in comparison with the latest jikes from IBM. Both binaries I started on a Sun 1.3 VM and the jikes code performed UP TO 10% for SOME CASEs. It was a micro benachmark, so I could imagine that jikes optimized some code sequences out of the code, whereas javac did not. Anyway, micro benchmarks are not totally exact and one should do an application benchmarking with the latest compilers from both companies.

  • How to we install faster compilers like sj or jikes

    Hi
    I have come across a problem where weblogic portal server takes exceptionally long time to come up.
    one point I have come across is using sj or jikes compiler we can decrease the server start-up time since these are fast compilers.
    Please let me know where from where can I download and install these compilers to work with weblogic.
    Also any what are the settings I should investigate to make sure that weblogic portal server comes up fast when ever started.
    Thanks
    Ashish

    You can download the Office 2013 Pro Plus install from Office 365 using the Office Deployment Tool and then use one of the deployment methods (i.e GPO, SCCM, etc) to deploy it.
    Check out the following links:
    Office Deployment Tool http://technet.microsoft.com/en-us/library/jj219422(v=office.15).aspx
    Determine Deployment Method http://technet.microsoft.com/en-us/library/gg998766(v=office.15).aspx
    Deploying Office 2013 http://technet.microsoft.com/en-us/library/ee624360(v=office.15).aspx
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer"
    Georg Thomas | Lync MVP
    Blog www.lynced.com.au | Twitter
    @georgathomas
    Lync Edge Port Check (Beta)

  • How can I protect my classes from de-compilers?

    Is there a way to protect my *.class files from de-compilers such as "decafe pro"????
    is there somewhere a good code-obfuscator?

    Why would you want to?
    Obfuscators won't do anything other than slow down those who want to decompile your class. And annoy them. And make debugging difficult.
    Perhaps you should re-evaluate your reasons, and if you still think you have a good reasons, then use some language other than Java. I would certainly never want to work with your code, even though I've never decompiled a class except to see how it is done.
    If you still want to prevent decompiling, write all of your code in JNI. Sure, it's not portable, but what difference would that make.

  • Mistery around Intel Fortran/C compilers and my Macbook

    Hi all,
    First post here. I do not want to write a long post here but I really need some enlightenment about a strange problem.
    My Macbook came with Tiger and Xcode 2.4. Being a Fortran programmer, I installed Intel compilers without much hassle. Then Leopard arrived but I decided to not upgrade until receiving the green light from Intel (for months their compilers were broken for first-time Leopard users). A few months back most of issues seemed to be gone (I successfully installed the new compilers on 3 Mac Pros and 1 Intel iMac) and I was able to upgrade my Macbook to Leopard and the new compilers.
    Here starts the drama : last week I had to upgrade my hard drive so I backup everything and did a clean Leopard install on a new and bigger HD (Hitachi 200Gb 7200rpm). Everything went fine except the fortran/C compilers. The error message I get is unique (try Google) :
    ifort: error fatalerrorterminated: Fatal error in /opt/intel/fc/10.1.014/bin/ifortia32, terminated by segmentation violation
    (I got similar message if I setup 64 bit compiler)
    I can not compile anything. Even a simple hello.f. I even update to 10.5.4 but nothing changed. In fact, it was so frustrating that I decided to do another clean install of Tiger. Yes, I downgraded Mac OSX to 10.4, downloaded the old Fortran compiler (the one I had) and guess what ? I got the SAME message.
    I triple checked my shell environment, looked over all libraries but nothing seems wrong. The ONLY thing that caught my attention was during the installation, when I selected to format the new disk using HFS+ journaled (non case sensitive). I do not believe that my old original drive had a case sensitive system but I did not checked it.
    If you can help, it would be very much appreciated !

    Here is the crash log file I am getting :
    Process: ifortia32 [441]
    Path: /opt/intel/fc/10.1.007/bin/ifortia32
    Identifier: ifortia32
    Version: ??? (???)
    Code Type: X86 (Native)
    Parent Process: ifortbin [440]
    Date/Time: 2008-07-14 10:04:53.262 -0500
    OS Version: Mac OS X 10.5 (9A581)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGSEGV)
    Exception Codes: KERNINVALIDADDRESS at 0x000000002820659e
    Crashed Thread: 0
    Thread 0 Crashed:
    0 ifortia32 0x0006ccf4 lmaster_listlfp + 297
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x28206572 ebx: 0x00068cfe ecx: 0x282065a2 edx: 0x00000002
    edi: 0x0080eed3 esi: 0x00000000 ebp: 0xbfffbfd8 esp: 0xbfffaf80
    ss: 0x0000001f efl: 0x00010202 eip: 0x0006ccf4 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x2820659e
    Binary Images:
    0x1000 - 0x1ddfe2 +ifortia32 ??? (???) /opt/intel/fc/10.1.007/bin/ifortia32
    0x266000 - 0x266ffd libmx.A.dylib ??? (???) /usr/lib/libmx.A.dylib
    0x8fe00000 - 0x8fe2d883 dyld 95.3 (???) <81592e798780564b5d46b988f7ee1a6a> /usr/lib/dyld
    0x90003000 - 0x90011ffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
    0x90655000 - 0x9067ffef libauto.dylib ??? (???) <d468bc4a8a69343f1748c293db1b57fb> /usr/lib/libauto.dylib
    0x906da000 - 0x906e1fe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
    0x92edd000 - 0x92edefef libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
    0x94211000 - 0x94349ff7 libicucore.A.dylib ??? (???) <afcea652ff2ec36885b2c81c57d06d4c> /usr/lib/libicucore.A.dylib
    0x948f6000 - 0x9497ffff com.apple.framework.IOKit 1.5.0 (???) <5d9b85c55183f9732eb9efc38d18ba53> /System/Library/Frameworks/IOKit.framework/Versi
    ons/A/IOKit
    0x94e11000 - 0x94ef0fff libobjc.A.dylib ??? (???) <5eda47fec2d0e7853b3506aa1fd2dafa> /usr/lib/libobjc.A.dylib
    0x95559000 - 0x956b3fe3 libSystem.B.dylib ??? (???) <8ecc83dc0399be3946f7a46e88cf4bbb> /usr/lib/libSystem.B.dylib
    0x95f4b000 - 0x95fa8ffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
    0x966c2000 - 0x967f4fe7 com.apple.CoreFoundation 6.5 (476) <8bfebc0dbad6fc33bea0fa00a1b9ec37> /System/Library/Frameworks/CoreFoundation.framework
    /Versions/A/CoreFoundation
    0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
    0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

  • Solaris 11 c compilers ?

    Hi,
    Could anyone tell me what C compilers are available for Solaris 11 ?
    I'm trying to use the C compiler bunded with Sun Studio but it won't work unless i get the system/header pkg installed, stupidly i can't get this pkg as it resides in the support repository that you need a contract to access.
    I guess in reality any compiler will need this system / header pkg so i'm pretty stuck :-(
    and this is progress.... ?
    Mike.

    Mike has another thread which I think helps explain his problem:
    Unable to install system/header package - 404 error
    Basically, he can't install the headers because they conflict with other packages on his system. My best guess, is that somehow a newer release of some packages, perhaps from the support repository, got installed on his system but the publisher is now set to the release repository. This is causing a package version conflict when he tries to install the headers. From this message, I'm guessing he can't install the compilers because he can't install the headers.
    The real question becomes "how to get the system back into a shape where he can install the packages he needs". I don't know how practical a reinstall from the release repo would be but that is one option. If there aren't too many problematic packages one might be able to back them out and replace them with the release version (in a separate BE of course). Unfortunately, that could be very messy and error prone. Anybody have any other ideas?

  • Suggestion for Linux Compilers Alpha Build 18 Readme

    The Alpha Build 18 Readme at
    <http://developers.sun.com/prodtech/cc/documentation/linux_ea/readme.html>
    does not make it clear how one should file bug reports against the
    build. Perhaps you could add a statement saying, "to file a bug
    report, start a new topic on the Sun Studio C forum", assuming that
    this is actually what you want people to do.

    Paul,
    "Compilers and Tools on Linux" page specifically says that " these early builds available is strictly for evaluation and to gather feedback thru the Sun Studio for Linux forum".
    We are trying to address all the problems reported on forums, however forums are not intended to be used as a primary framework for filing bugs.
    We are working on providing a convenient way to report bugs not just through a support contract channel (which will be still available for you if you have one). Thats still in progress AFAIK.
    regards,
    __Fedor.

  • Any interest in a repo of cross-compilers?

    I recently had to make a couple of cross-compilers for a project that I was working on and wondered if there was any interest in a repo for cross-compilers?
    These are compilers that I know I can easily build (target triplet in brackets)
    linux-32bit:
    arm (arm-none-linux-gnueabi)
    ppc (powerpc-unknown-linux-gnu)
    mips (mips-unknown-linux-gnu / mipsel-unknown-linux-gnu)
    sparc (sparc-unknown-linux-gnu)
    linux-64 bit:
    alpha (alpha-unknown-linux-gnu)
    mips64 (mips64-unknown-linux-gnu / mips64el-unknown-linux-gnu)
    sparc64 (sparc64-unknown-linux-gnu)
    ppc64 (powerpc64-unknown-linux-gnu)
    hppa (hppa-unknown-linux-gnu)   [probably...]
    other:
    windows (i686-pc-mingw32)
    And some that I think can be done and would be quite interesting...
    bsd (i686-pc-kfreebsd-gnu) - the start to the often suggested ArchBSD maybe...
    hurd (i686-pc-gnu) - ArchHURD anyone?  I didn't think so! 
    So, would these be useful for anyone and are there any other architectures people would like?
    For those that are interested, my mingw32 compiler PKGBUILDs are here.  They are quite different to those in the [community] repo...

    I'll be doing lots of stuff with arm since I'm starting to make some homebrew apps for nds.
    But I'm already using:
    pkg: cross-arm-elf-binutils
    pkg: cross-arm-elf-gcc-base

Maybe you are looking for

  • Itunes can't find the REAL last version of my ipod

    HI, I want to put my ipod touch 2 generation 8g on the 4.2 because it's only on 2.2.1 now but itune say that 2.2.1 is the latest version but I saw on google that people with a 2G have the 4.2 so I don't know what to do ! When I click on ' search for

  • Simple Intaractive report in HR-ABAP

    Hi Experts, How can i display Intaractive report , In basic List i want to print EMP data on top. and infotype number and infotype text . In secondary list infotype data on which the user intactive with infotype no.. If user intaract the 0001 infotyp

  • MS office settings via Zen

    Hi Everyone, How does one manage MS Office settings on the desktop after Office has been installed? I have a custom MSI that I use to install office. That works fine for installation. Now I have to change a few settings that I can't find in the regis

  • Fetching GL account Information

    Hi all,          Could any one tell if any bapi class-method or something else is there to find the GL account information which is not yet posted. Thanks n Advance.

  • ORA-01031: insufficient privileges when loggin in as sqlplus "/ as sysdba"

    I have recently got a brand new Solaris Box. Have restored the ORacle Home from a live server. then gone to restore a database from Tape. All done fine. However I cannot seem to login as $>sqlplus "/ as sysdba" I can only seem to login as $>sqlplus /