Recent update: 2008-5-9
Hi all,I've just installed Workshop 6.0 on my Sparc with Solaris 2.6.Everything seems to be working...But it is so slooooow.Compiling a trivial program from the commandprompt takes almost 2 minutes!!(prompt> CC test.cpp )And starting up the workshop gui takes also something around 2 ...
668 byte By
afabri at 2007-11-16
Hello,The following program shows that there is probably a bug in the numeric_limits:#include <cassert>#include <limits>int main() { assert(std::numeric_limits<double>::denorm_min() != 0); return 0;}> /opt/SUNWspro/bin/CC tt.C> ./ttAssertion failed: ...
1318 byte By
abiesa at 2007-11-15
Hello,I have two 3rd party C++ libraries. One of them is using stlport, second classic Cstd library. Is it possible to make application which will use both of them at the same time?I know that easy answer is 'no'. I have contacted both vendors - stlport-based one says "We won't support old ...
It seems obvious that a function returning a pointer should be valid anywhere that a pointer of the same value is valid. Sun's Fortran is the first one I have tried that gets this right. There are several standards clarifications about pointer functions because the idea seems to be confusing to ...
All, does any have a little better description of the -xarch and -xtarget options for the Sun Compiler? What is the default for both if nothing is specified? Thanks in advance,
Hi,I think I may have found a bug in SunStudio 11 related to partial specialisation. However the whole concept of partial specialisation is so confusing I can't be sure. Can someone out there tell me whether my code is broken or the compiler is broken.FYI gcc don't seem to have a problem with ...
Hello,I just downloaded the release of SunStudio 12 for Linux and I found a bug -- even worse, a regression from the February 2007 Express edition: the .d files contain an extra \n:Here is a work session:florin@hera $ make CC=sunccsuncc -xMMD -g -xO1 -xdebugformat=dwarf -m64 -xc99=all -xCC -Xc ...
I notice GNU libtool (libtool.m4 serial 47 AC_PROG_LIBTOOL) does not recognize suncc on Linux. The generated libtool script contains pic_flag=-DPIC instead of the correct pic_flag=-Kpic. What would be the best strategy to correct this problem?This manifests itself with the following message ...
Hi, everyone:On page 3-75 of Fortran User's Guide for Studio 11(Part No. 819-3686-10), the examples showed both little4 and little8. What are the differences for these two? I tried both for compilation, I still got something like End of File error. I am working with ExpressStudio 3 releas 2 on ...
Hello,I have a strange problem while using MACRO inside template class/method.The pre-compiler doesn't sreplace the macro inside the code, but leave it without changes.So this code failed to compile, and I have no solution unless I will replace it by myself !!!Is this a wrong/correct behavior ...
316 byte By
evgs at 2007-11-14
HiI am using the latest SunStudio11 C++ compiler CC: Sun C++ 5.8 Patch 121017-03 2006/07/19During compilation of some source files I have message:">> Assertion:(../lnk/storage.cc, line 99)while processing ... at line 0."What does this message ...
[b]Update: Sun Studio Compilers for Linux Technology Preview[/b]We've just made Build 24 - June 2006 available for download visit: http://developers.sun.com/prodtech/cc/downloads/tech_preview.jspSome of the features changes available in this update include:OpenMP support for cc and f95-xipo, ...
Hello,Good news for communitty users of Sun Studio product. If you think you found a bug (defect) or Request for Enhancement (RFE) with Sun Studio, you can report it to us. We are so excited about having another channel to listen to you and to serve you.- How to get to the page:Please bookmark ...
Hi guys,I have defined the following xdoclet comment in my SessionFacadeBean. @weblogic:cache max-beans-in-cache="200" idle-timeout-seconds="3600" session-timeout-seconds="4800" cache-type="NRU"But the problem is that in the weblogic-ejb-jar.xml, it is generating all the tags except ...
Hi,I'm calling DGELS in parallel using OpenMP and there seems to be a problem with a subroutine to DGELS called, pl_dlascl_. Sometimes the code just hangs in this routine. I have compiled the code using the Sun Studio 10 compilers and performance library. Can this be ...
I want the answer for this question ?question no : 11.public class X (2. public object m () {3. object o = new float (3.14F);4. object [] oa = new object [1];5. oa[0]= o;6. o = null;7. return oa[0];8. }9. }When is the float object created in line 3, eligible for garbage collection?A. Just after ...
hi all,please tell me where the session id is stored in server or JVM in java.regardsMohan kumar
256 byte By
vvaidu at 2007-11-14
hi all,i want iPlanet Apps SErver to be configured not with iWS but with IIS. I did the necessary stuffs given in the Docs..but still i face problems as far as running the simple Sample Fortune Servlet. Can anyone help me out. on that.
Hi,I am working on Java 1.2 on Solaris 8 sparc machine.I have a java thread, which opens Raw Java server socket and listens on the port infinitly.Not complicated enough, when a request comes ( accept() method returns from the server socket), it transfers a lot of Data to another Server via ...
Hi,how to create folder from webserver to server local disk(used jsp ),thanks for help.
21 byte By
Guest at 2007-11-14
testing
Howdy,Today, Sun announced the availability of [b]Sun Studio 11[/b], the latest release of our venerable set of optimizing compilers and tools. We are very excited about this release for many reasons, including:* Record-setting optimizing C,C++,Fortran compilers[b]App performance =?Platform + ...
Hello,I add OpenMP directives in my code, do "setenv OMP_NUM_THREADS 4", then run the code. When the code is running, I use "top" utility to look at this running job. One column "THR" in the "top" screen shows "6" for this job. I only set to use at most 4 threads, why are there "6" threads? I ...
I've a short code to illustrate this bug.f90 -g -C -O3 code.f90 -o codeWithout -O3 option, this code work correctly.With -O3 option, this code can work correctlyif i change len of T_Files array by 500orif i don't use a imbricate loops, but 2 single loopsorif i remove all trim()or if i comment ...
Hi,How should i know a program executes in which space (whether it is in kernel space or in user space)Thanks in advance.
I am new to Solaris environment.I have a source code for shared library.I compiled the code on SPARC/solaris 9 OS using gcc it gets compiled. But using cc it gives compiler error : FCALL with no root.may any one help me to comeout.Advance thanks and regardsRenga.. ...
Hello, I'm working on a very old project which has been maintained for a long time by people with very weak UNIX knowledge, so most of the Makefiles are copied from another directory and edited a bit. The result is that a lot of our binaries are linking (dynamically most of them) with some ...
Hi all, below is my compilation error. looks like there's something wrong with the compiler.I'm using SunOS spf450 5.6 Generic_105181-32 sun4u sparc SUNW,Ultra-4System = SunOSWill that be related to patch 107390 for this? Any input?Error: Cannot use ...
$ make -f demo_proc.mk sample1/usr/ccs/bin/make -f/rd/oracle/SYS/app/oracle/product/8.1.7/precomp/demo/proc/demo_proc.mk OBJS=sample1.o EXE=sample1 buildcc -xO2 -Xa -xstrconst -xF -mr -xarch=v8 -xcache=16/32/1:1024/64/1-xchip=ultra -D_REENTRANT -K PIC -DPRECOMP ...
We are working on Solaris 2.6 on an ULTRASPARC IIi processor.We tried to create a Shared object which dynamically links libpfpro.soWe could create the SO alright but when I ran ldd on the SO I obtained the following error.ld.so.1: /usr/lib/lddstub: fatal: ./Ctest.so: mmap failed: No such device ...
if I compile the given program on solaris 5.5.1 and execute that in solaris5.8, the performance is very bad. On profiling, it shows that 88% of the time is taken in mallocIf I compile the same program in solaris 5.8, the performanceis very good. please suggest me what I should do to get the ...
I have noticed that if execve is called to exec a shell script , it always closes fd 19irrespective of wheather it is open or not previously .why does this happen ? This is true with sh and for ksh the file fd it closes is 62 always . Does anyone know whyI saw this trough truss . You can write ...
747 byte By
Lars_V at 2007-11-14
HiShould this happen ?CC: Sun C++ 5.6 Patch 117549-04 2005/10/11CC test.cpp && ./a.out1 5 51 5 5CC test.cpp -library=stlport4 && ./a.out1 5 51 0 5With stlport4 tellp is zeroed after the .str() call.[code]#include <sstream>#include <iostream>int ...
We meet coredump for our big application under mutli-thread (libmtmalloc.so) and high load=== core file ===7ee1f63c _lwp_kill (6, 0, 68e7a798, 7e697b08, 0, 7f0cab70) + 8 7edb6ce0 abort(0, 0, 88, 1, 15590, 7f0b4ae4) + 100 7fb80b2c free(1e67560, d4918, 68e7aea8, 3002, 7f0a4ca0, 2000) + 1e0 ...
One more mind twister for me.I made an executable of size 2.5 MB.When i linked it with a .so of mine then its size decreased to 2.2 MB.Further on linking with 2 it reduced to 2 MBWith 3 to 1.6 MB.Is it possible somehow?
my process core dumps when starting on solaris 9 with patch 117171-09--current thread: t@2=> [1] realfree(0xfe6fbec8, 0x31333031, 0x31333130, 0x31333130, 0xfe6fbdc8, 0x0), at 0xfe747420 [2] _malloc_unlocked(0xf8, 0x0, 0x0, 0xfe7bc000, 0x0, 0x0), at 0xfe746f88 [3] malloc(0xf8, 0x7, 0x0, ...
Hi,I have a problem with programming asynchronous i/o on Sun Solaris 9i. I want to record big amounts of data within very short time intervals, so I use asynchronous read and write operations. But the process freezes at random times (sometimes within 5 minutes sometimes after 7 hours) and does ...
Hi,I am facing the following problems when I am trying to port an application developed in Windows (32 bit) to solaris-8 (our environment is - SunOS solaris8 5.8 Generic_108528-17 sun4u sparc SUNW,Ultra-5_10). The application is developed in C & C++.We have faced a problem while starting ...
Hi,I am trying pass a structure from one component A (C++ compiled on Solaris 5.5) to other Component B(C++ compiled FORTE 7.0 on Solaris 5.8). The Structure is given follows.Note: When I use both components compiled in same env (either 5.5 or 5.8), it works fine.A is sending 48 bytes, I am ...
Hello,I am having problems using the Sun Performance Library. Here is my system info:CPU: UltraSparc IIiOS: Solaris 8Compiler: Sun One Studio 8What I am doing is creating a shared object that uses the Sun Performance Library. I chose to include the static library. The line that creates the ...
Hi,I recently migrated from Workshop C++ 4.2 (Solaris 2.6) to C++5.0 When I recompiled all my programs, I get these errors in the header files :"/opt/SUNWspro/SC5.0/include/CCios/stdiostream.h", line 29: Error: streamoff is not defined."/opt/SUNWspro/SC5.0/include/CC/rw7/rw/defs.h", line 316: ...
173 byte By
giri04 at 2007-11-13
Does any one know where (ie., the file name of the object file Or shared object) the symbol "_profile_feedback_init_func_" is defined?Thanks,Giri
Dear All,How to clean loaded shared libaray in solaris?is there a command to do so?thx alot
I see a lot of you guys experience some problems which could be avoided if error PREVENTION tools were implemented in the development environment. Have a look at the links below to see how you could improve ( or not ) your development process. Just have a look, try it out and see for yourself ...
Hello ,I am using the following configuration, to build my applicationSunOS 5.8 Generic_108528-12 sun4u sparcSUNW,Ultra-5_1064 bit machine with CC 5.0 While excuting the program i get core dump/hang in cout , following is the stack looking from dbx[1] _mutex_adaptive_lock(0xffffffff7c322000, ...
Hello!We are messing around a bit with squeezing a large c++ code-base into one .so-file, and we are having one problem.What we do is create a bunch of .a-files based on -kPIC compiled .o-files and wants to throw them together to a .so-file.The error we get is648 ld: fatal: symbol `void ...
Hi,We have a C++ shared object and a C a.out that loads this shared object via dlopen(). The a.out used to be linked using CC . When I changed the linker to cc, I got the following undefined symbol errorat run time (while loading the C++ shared object) :symbol __1cDstdY__RTTI__1nDstdIbad_cast__ ...
We are trying to load a 4.2 compiler built library into 6.1 build one using a dlopen. What we are noticing is the exception catching mechanism in the 4.2 shared library is completely disabled. It's not even catching the exceptions within itself.So, I would appreciate any suggestions on ...
Currently we are using egcs-2.91.66 on an Ultra 1 running Solaris 6 and gcc 2.8.1 on an Ultra 80 running Solaris 8. Code compiled in Solaris 6 will run on Solaris 8, but code compiled in Solaris 8 will not run on Solaris 6.Will code compiled in Forte on a Solaris 8 machine run on Solaris 6 and ...
I am getting undefined symbol error's when recompiling a C++ program using const char* const variables inside of a template function. When I did the initial compile and link, everything worked and the program ran as expected. But if I then recompile the source file, the internally linked ...