Sun Studio 12u1 cc passes empty filename strings to the linker

Hi,
Sun Studio 12u1 cc passes empty filename strings to the linker, as demonstrated with the following
trivial test case.
This problem occurs while trying to compile the Boost 1.42 beta 1 libraries with Sun Studio 12u1.
goanna% cat e.c
int main()
return 0;
goanna% cc -V
cc: Sun C 5.9 SunOS_i386 Patch 124868-11 2009/11/21
usage: cc [ options] files. Use 'cc -flags' for details
goanna% cc "e.c" ""
goanna% kde12u1
goanna% cc -V
cc: Sun C 5.10 SunOS_i386 Patch 142363-03 2009/12/03
usage: cc [ options] files. Use 'cc -flags' for details
goanna% cc "e.c" ""
ld: fatal: file : open failed: No such file or directory
ld: fatal: File processing errors. No output written to a.out
goanna%
Thanks, Mark

Thanks for filing the bug report. It will be visible at [http://bugs.sun.com] in a day or two as bug 6921481.

Similar Messages

  • When I click a link only an empty page opens, now the link does not open anything at all

    when I click a link only an empty page opens, now the link does not open anything at all

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Difference between Sun Studio 12u1 and Sun Studio Express...

    Hi,
    on my open solaris:
    SunOS opensolaris 5.11 snv_111b i86pc i386 i86pc
    I've installed Sun Studio Express to get the C/C++ compilers. What is the difference with the Sun Studio 12 suite (which is about 200 MB larger than the Express one)? Also I saw there are patches for Sun Studio 12 (last one Jul 20 2009) that might have a fix for a problem I just reported. How can I install such patches?
    Patch: http://sunsolve.sun.co.jp/search/document.do?assetkey=1-21-126498-14-1
    Cheers, Fons.

    Studio Express is a pre-release or beta release. Some features may be missing or not functional. It cannot be patched. It can be replaced by a later release.
    Sun Studio 12 update 1 is an actual, supported release, later than the most recent (as of this date) Studio Express. If you install SS12u1 from packages (using the installer GUI for example), you can download and install patches for it as they become available. (Installations from a tar file cannot be patched; they can be replaced.)

  • Sun Studio 11 on Linux: newbie needs help playing the Temple of the Sun

    Hi!
    I've installed Sun Studio 11 on Mandriva 2007.1 Free edition. I would like to play the Temple of the Sun game but the building process fails consistently.
    I tried to follow the instructions on the following page
    http://developers.sun.com/sunstudio/learning/temple_faq.html#
    but still no joy.
    The wizards throughout the building process request much more parameters than those indicated on the FAQ page.
    This is the makefile
    ## -- Makefile --
    ## User: complex
    ## Time: May 18, 2007 12:00:44 PM
    ## Makefile created by Sun Studio.
    ## This file is generated automatically.
    #### Compiler and tool definitions shared by all build targets #####
    CC = gcc
    BASICOPTS = -g
    CFLAGS = $(BASICOPTS)
    # Define the target directories.
    TARGETDIR_String=GNU-i386-Linux
    all: $(TARGETDIR_String)/String
    ## Target: String
    OBJS_String = \
         $(TARGETDIR_String)/cEmptyFile.o
    # Link or archive
    $(TARGETDIR_String)/String: $(TARGETDIR_String) $(OBJS_String) $(DEPLIBS_String)
         $(LINK.c) $(CFLAGS_String) $(CPPFLAGS_String) -o $@ $(OBJS_String) $(LDLIBS_String)
    # Compile source files into .o files
    $(TARGETDIR_String)/cEmptyFile.o: $(TARGETDIR_String) cEmptyFile.c
         $(COMPILE.c) $(CFLAGS_String) $(CPPFLAGS_String) -o $@ cEmptyFile.c
    #### Clean target deletes all generated files ####
    clean:
         rm -f \
              $(TARGETDIR_String)/String \
              $(TARGETDIR_String)/cEmptyFile.o
         rm -f -r $(TARGETDIR_String)
    # Create the target directory (if needed)
    $(TARGETDIR_String):
         mkdir -p $(TARGETDIR_String)
    # Enable dependency checking
    .KEEP_STATE:
    .KEEP_STATE_FILE:.make.state.GNU-i386-Linux
    Below is the output of make
    dmake -m serial -f "/home/complex/.sunstudio/11-Linux-Intel(R) Pentium(R) 4 CPU 1.50GHz/sampledir/ts.c/Makefile" GNU-i386-Linux/String
    mkdir -p GNU-i386-Linux
    gcc -g -c -o GNU-i386-Linux/cEmptyFile.o cEmptyFile.c
    ts.c/cEmptyFile.c [2] warning: data definition has no type or storage class
    cEmptyFile.c: In function �main�:
    ts.c/cEmptyFile.c [3] warning: �a� is narrower than values of its type
    gcc -g -o GNU-i386-Linux/String GNU-i386-Linux/cEmptyFile.o
    Build Successful
    Total time: 0 seconds
    When I execute, it says "unexpected exception has occurred".
    Could someone more successful with this game please provide more detailed instructions on how to proceed?
    I should get a string somehow which I should paste into the answer window on the game page.
    Thanks a lot in advance.

    Hi
    CC = gccYou are using gcc. Switch to using the Sun Studio toolset, and all should be well.
    Paul

  • Sun Studio 11 do not parse make output and create link to file?

    Hi,
    Running Sun Studio 11 and can only get file links in the output window when I run a make command that uses CC -g (debug option). We have integrated other tools into our make system (flexlint, cppUnit..) and even though we make sure that the syntax is exactly the same as the compiler output and matches regular expression under tools->options->building->make settings->error expression, it doesn't work. Why do you have to debug compile to get sun studio to create a file link in the output window? Doesn't sun studio just parse the text from the make command?
    example of flexlint output for which no link is created:
    "/vobs/project/oss/fm/fm4/fm-fmalib/fmbal/fmaaulib/src/FMA_List.cc", line 440: Error 84: sizeof object is zero or object is undefined'�
    example of make debug output for which we do get a link:
    "/vobs/project/oss/fm/fm4/fm-fmalib/fmbal/SunOS5.10/inc/FMA_alarm_record.hh", line 1310: Warning (Anachronism):Info "static" is not allowed and is being ignored.
    Regards,
    Ola

    I'd second Maxim's suggestion: try NetBeans 5.5 with C/C++ Development Pack. The official release of NetBeans C/C++ Development Pack 5.5 has happened a few days ago. You can download it from
    http://www.netbeans.info/downloads/all.php?b_id=2284
    Some of the changes between the beta3 build and FCS are:
    * Significant performance improvements in the code parser resulting in faster results in the Class View and Code Completion
    * Programs now run in an external terminal (system dependent) by default. This allows better input control
    * Significant performance improvement in the debugging module
    * Significant functionality improvement in the debugging module
    * New project type "C/C++ Project From Existing Code" which simplifies creating a project from existing code
    * Macro support in code completion
    * Hyperlink navigation for macro usages and #include directives
    * Reformat code
    * Code folding
    * Code completion
    All these features will appear in next Sun Studio release, so you can
    consider NetBeans C/C++ Development Pack 5.5 as a preview of new
    Sun Studio IDE.

  • Huge debugging binaries after switching from C++ Sun Studio 11 to 12u1

    Hello
    I changed the compiler in our C++ project from Sun Studio 11 to Sun Studio 12u1 (12u3 is currently not available).
    The only change on the command line I had to do was replacing -xarch=v9 with -m64.
    The command line now is "CC -c -g -features=rtti -mt -KPIC -w -staticlib=Cstd,Crun -m64  ...".
    Our static libraries are now 50% bigger, the executables are 10x bigger (200 MB to now 2 GB!!!).
    This also affected the debugger sessions, they are slow and the print statement only produces internal errors.
    I think this is due to the size of the binaries.
    Please help to reduce the binary size.
    Best regards
    Hans

    The debug data format changed between Studio 11 and 12u1 from Sun stabs to the industry-standard dwarf format. (The Studio 12u1 C++ Users Guide is incorrect where it says stabs is the default format.)
    The change in debug format has two consequences:
    1. Debug data is typically 10-15% larger, due to increased information about the program being available (a major reason for the change).
    2. Whereas stabs data resides in the .o files with only index information in the executable program, all the dwarf data is copied into the executable. With dwarf, you can fully debug the program without access to the .o files that make up the program.
    To verify this reason for the larger binaries, try building your program using Studio 11, adding the -xs option. This option causes the stabs to be copied into the executable program. You should find the binaries are similar in size compared to building with Studio 12u1. If this is not the case, we'll need to dig deeper.
    You can revert to using stabs by adding the option -xdebugformat=stabs to every compile and link command (CC or cc).
    In a future version of Studio, we plan to provide an option to leave dwarf data in the .o files with only index information in the executable, so that you can have a smaller executable when you don't mind requiring access to the .o files in order to debug.
    By the way, we do not recommend static linking of libCstd and libCrun. Unless you have a particular reason for linking the static libraries, we recommend the default dynamic linking.

  • Error message when starting Sun Studio express IDE

    When I start the Sun Studio express IDE version 3/09 I get the following error message:
    java.lang.IllegalArgumentException: Instance_urn = urn:st: already exists in the registration data.
         at org.netbeans.modules.servicetag.RegistrationData.addServiceTag(RegistrationData.java:343)
         at org.netbeans.modules.servicetag.RegistrationDocument.addServiceTags(RegistrationDocument.java:304)
         at org.netbeans.modules.servicetag.RegistrationDocument.load(RegistrationDocument.java:126)
         at org.netbeans.modules.servicetag.RegistrationData.loadFromXML(RegistrationData.java:433)
         at com.sun.tools.swdev.sunstudio.registration.SSServiceTagSupport.getRegistrationData(SSServiceTagSupport.java:257)
         at com.sun.tools.swdev.sunstudio.registration.SSServiceTagSupport.getSSServiceTag(SSServiceTagSupport.java:306)
         at com.sun.tools.swdev.sunstudio.registration.SSServiceTagSupport.createSSServiceTag(SSServiceTagSupport.java:157)
         at com.sun.tools.swdev.sunstudio.registration.SSInstaller.restored(SSInstaller.java:97)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:419)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:340)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
         at org.netbeans.core.startup.Main.start(Main.java:312)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
    [catch] at java.lang.Thread.run(Thread.java:619)

    Hello!
    I googled "SSServiceTagSupport.java:257" and found out that it is filed as IZ 154094 against Netbeans:
    http://www.netbeans.org/issues/show_bug.cgi?id=154094
    Actually it was reported many times:
    http://www.netbeans.org/issues/show_bug.cgi?id=151921
    It suggests a few workarounds.
    Workaround 1:
    "Simple workaround is to disable registration using command line option -J-Dnb.registration.enabled=false"
    Workaround 2:
    "The file ~/.netbeans-registration/6.5/registration.xml is empty, so I have this file erased and restarted the IDE.
    After this step, the file was not regenerated, but the IDe starts now without this problem."
    Please, try one of them.
    Thanks,
    Nik

  • Building NCAR Graphics 5.2.1 on Solaris 10 x86u9 under Sun Studio 10 (2005)

    Hello,
    I've got the following error when compiling ncar program with Sun
    cc and f90 and /usr/ccs/bin/ld.
    cc -ansi -O -I/usr/openwin/include -I/usr/include/X11 -DSYSV -
    D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -Di386 -DNeedFuncProto -
    c cl.c
    cc: Warning: illegal option -nsi
    cc: -a conflicts with -dy.
    *** Error code 1
    make: Fatal error: Command failed for target `cl.o'
    After that i've changed the config/SolarisPC file and tried a build with gcc 3.4.3 and f90 but I got
    ld fatal: library -lc not found.
    I have an old box from 2001 which was under HCL of Solaris 8 x86.
    The people at NCAR did not update their configuration files for Solaris 10 x86. The SolarisPC file is old and is using by default g77 as the fortran compiler. Could I mix gcc with f90 ? Which linker should I use in that case?
    /usr/ccs/bin/ld or /usr/ucb/ld?

    Please refer to the C Users Guide for details of cc command line options. All manuals for Sun Studio 12u1 are listed here:
    http://download.oracle.com/docs/cd/E19205-01/index.html
    There is no -ansi option in Sun/Oracle C, nor has there ever been. The compiler attempts to interpret it as -a followed by some other letters, which is why you get a complaint about -a. Remove the option.
    Depending on what you expect from the -ansi option, either the default compiler behavior or the -Xc option should work. I suggest trying the default behavior (no -X option). Refer to the manual for details.
    Always use the /usr/ccs/bin/ld linker, but you normally should not use the ld linker directly. If you mixing C and Fortran, use the f90 driver to do the linking; it knows what Fortran libraries need to be linked, depending on command line option. When linking a program using only C, use the cc driver to link. Some C command-line options require linking special system files; the cc and f90 drivers know the rules.
    To mix Fortran with C, refer to the Fortran Users Guide. I recommend using the Studio C compiler when mixing code, not gcc. The requirements of gcc are not known to the f90 driver, but it does know the requirements of Studio C.
    The schema for a mixed Fortran and C program is something like this:
    cc -c f1.c f2.c <other options>
    f90 -c f3.f90 f4.f90 <other options>
    f90 -o myprog f1.o f2.0 f3.0 f4.0 <other options>

  • How to change Makefile file name in sun studio for linux 11?

    Greetings,
    For historical reasons, our makefiles are called Make.bld
    Sun Studio refuses to accept these as makefiles.
    It'd be a big pain to modify our entire build system to take makefile as the name.
    Is there a way to instruct sun studio to accept a different filename for makefiles ?
    Thanks,
    Bill

    There is no supported way of getting the Sun Studio IDE (or NetBeans) to recognize
    Make.bld as a Makefile. However, the solution Nik pointed out with a .nbattrs file will
    work.
    Here is a complete file which, if copied to each directory containing a Make.bld file
    will work. However, if the directory already contains a .nbattrs file you should edit
    the existing one and add the <fileobject>...</fileobject> lines rather than overwriting
    the entire file.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE attributes PUBLIC "-//NetBeans//DTD DefaultAttributes 1.0//EN"
    " http://www.netbeans.org/dtds/attributes-1_0.dtd">
    <attributes version="1.0">
    <fileobject name="Make.bld">
    <attr name="MAKEFILE_TYPE" stringvalue="foo"/>
    </fileobject>
    </attributes>
    Note: I split the DOCTYPE line myself. It should be a single line in the file (although
    its probably OK if split, I didn't verify that so I'll suggest a single line).
    I should warn you that the next release of the Sun Studio IDE will no longer use
    .nbattrs files and you'll need a different solution. A preliminary version of the next
    release is currently available by downloading Sun Studio Express 3. The IDE is
    significantly better than the current one! You also get a lot of the same features
    by downloading NetBeans 5.5 with the C/C++ Development Pack.
    Gordon

  • Future support for C++0x in Sun Studio

    I've recently been having to defend my choice of using the sun studio compiler against several gcc advocates here in the office. The one reasonable issue they keep bringing up is when the upcoming C++0x (more like C++1x or even C++2x at the pace the standards committee is operating at) features will be available in complete fashion in sun studio. They say, and I have to begrudgingly agree, that judging by the amount of time it took studio to support boost (template templates, certain partial template specializations, etc), there could be a long delay between the release of gcc's C++0x support and that of studio's.
    I understand that many of the new features of C++0x, even from initial glance, appear to be quite complicated, especially lambda functors and their associated []/auto return types, variadac template parameters and class concept checking. In addition, I understand gcc has an unfair advantage so to speak since it is being used as the test bed for many of the committee proposal submitter's proof-of-concept implementations (the variadic template parameter feasibility implementation written for gcc comes to mind).
    Could a developer please assuage my fears and inform me that the studio team has a roadmap/timeframe in place to release a studio that fully supports the new language-level features in a reasonably competitive time frame? It apparently will be the responsibility of the STLPort team to essentially copy many of boost's libraries (shared_ptrs, random numbers, type_traits) and rename them and move them to the std namespace and also supply the new unordered<> containers, to name a few.
    I for one can't wait until boost::mpl, boost::fusion, boost::format and others are all reduced from 10's of 1000's of lines of pre-processor generated crufty template definitions to a single variadic template declaration. Also, I won't feel quite so willfully derelict to efficient code every time i bust out an std::for_each and drop in a boost::bind generated functor and instead can use a lambda function with the various efficiency gains ranging from direct referencing to the stack variables passed in as the closure arguments to the ability for the compiler to actually inline the body of the lambda function where appropriate.
    I'm in no way trying to accuse you compiler developers of being slow to implement features, but just would like to be assured that there is nothing to worry about and there is a plan and current work being done on the required features. I know it's still a couple of years off, but I personally can't wait to replace hundreds of lines of boost::bind() calls with their more efficent lambda equivalent, and in addition clean up interfaces that could have used boost::bind if it weren't for the unacceptable overhead introduced often executed blocks of code.
    Thanks,
    Chris Knight - Faithful sun studio user through at least 2 major name changes and since at lest when it was called Forte 4.2 and RougeWave and classicIO libraries roamed the earth in vast quantities.
    P.S. I truly fear that the other 3 major compilers (gnu, intel, ms) will be out the door with C++0x in around the same time and boost will then willingly drop support for the sun compiler if it doesn't support the required language features at that time as they had no problem not supporting studio at all until Studio 12 so I'm sure as soon as the 3 compilers they run nightly tests with support it, they'll be just as eager to
    make use of the new features as I am.
    This leaves someone who has based their entire system on Solaris + SunStudio + Boost in a potentially undesirable situation. Solaris is far too stable and Linux to ever-changing to ever consider Linux as a platform for critical systems yet the idea of running g++ on Solaris w/ gcc's propensity to change their ABI on a weekly basis gives me immediate heartburn.
    Thanks again.

    You raise some very good points, and believe me, we are even more aware of them than you are!
    Short answer: We are planning to bring out a compiler conforming to C++0X in a timely fashion.
    Longer answer:
    Right now, we are working on providing binary compatibility with g++ as an option in the next compiler release. When we are done, you will be able to use g++ headers with Sun C++, and link the code with binaries created by g++. The first implementation will be on Linux. (Which versions of g++ and which versions of Linux? Stay tuned.)
    Implementing all the new features of C++0X will require a re-design of parts of the compiler front end. The current compiler organization does not support "concepts", for example. (We've been looking for an excuse to re-design the front end for a while, and C++0x is not just an excuse -- it's a requirement.) With the g++ ABI work done, we'll ready to start the re-design, and begin to implement C++0x features.
    We won't release an official (stable, fully-supported) product with C++0X features until the standard is final. Until then, any feature could change in unpredictable ways. We got caught by that problem with C++ 4.2 and C++98 -- we implemented what we thought were final features that changed dramatically after we released the compiler. We won't do that again. Compiler stability is one of our most important considerations.
    Beginning some time next year, we expect to have Express releases with some C++0X features. Express releases are our way of providing compilers with experimental features that might not be stable yet. It gives our customers a chance to try them out and provide feedback before they become part of a stable release. That is to say, a feature flagged as experimental is subject to change, and compatibility with other Express or official releases is not guaranteed. We can therefore fix bugs and catch up with late changes in the Standard as necessary.
    We have not yet done all the planning for our C++0X compiler, so I can't give you any estimates about specific feature availability and time frames. When we are farther along, we'll post the road map on a public site, and I'll announce it here.
    Steve Clamage
    Sun C++ Team

  • How to report bugs for Sun Studio 12 update 1?

    I want to report a bug for the Sun Studio 12u1 C compiler, but bugreport.sun.com doesn't know about Sun Studio 12u1. The latest release know is SS12.
    Furthermore, the form doesn't allow to attach additional files, e.g. sources and other information needed to reproduce the problem.
    Since we have a valid service support contract with Sun, I used the official channel via the member support center, on January 15. Now, one month later, there is still no answer - and searching the databases both on sunsolve and bugreport.sun.com show, that my report hasn't gotten that far, yet.
    I really like Sun Studio, and I use it both for research and education, but reporting issues is really a problem. This somehow spoils the fun, both for the end users and the developers of a really great product!
    So the big question is: What is the best and quickest way to get bugs reported?
    Regards,
    Bernd

    If you have a support contract, the best way is to report via official channel; this is the only way to ensure that the bug is fixed in a patch for already released product. The fact that you can't find your report on sunsolve and bugreport.sun.com does not mean anything: not all bugs are public for obvious reasons.
    I think you should request an update via the same official channel; if you get nothing in a reasonable time (a day, I think), please report back here, we'll try to find out what's going on.

  • Installing Sun Studio 12 on Ubuntu 8.04

    When I try to install Sun Studio 12 with the graphical installer, I get a message half was through that Java is not installed. In my case Sun's Java was already installed. I tell the Sun Studio installer to do the update and it finished what it was doing. After the install is done, I found that the Sun Studio executable is missing, so it looked like the installation did not work. What version of Java is Sun Studio expecting and does it need to be tied to a specific path? Is there a known method for installing Java for Sun Studio 12?
    After this I uninstalled Java and Netbeans and started the system prep tool, which correctly said I was missing netbeans and java. I had the system prep tool install netbeans successfully but I get this message when trying to install java:
    error: Failed dependencies:
    glibc >= 2.1.2-11 is needed by jdk-1.5.0_09-fcs.i586
    sh-utils >= 2.0-1 is needed by jdk-1.5.0_09-fcs.i586
    fileutils >= 4.0-8 is needed by jdk-1.5.0_09-fcs.i586
    gawk >= 3.0.4-1 is needed by jdk-1.5.0_09-fcs.i586
    textutils >= 2.0-2 is needed by jdk-1.5.0_09-fcs.i586
    /bin/sh is needed by jdk-1.5.0_09-fcs.i586
    Any suggestions?

    I could not find any log files with error information from Express or Sun Studio 12. Any ideas?Not yet :-) Can you try to build and debug a sample project? Does it show the same problem?
    I mean one of several sample projects, that are shipped with the Sun Studio IDE.
    Start "sunstudio", from main menu: "File->New Project", select Samples->C/C++/Fortran->Welcome
    Did you try to run compilers and other tools?
    Please, make sure they work. For example, run the following commands:
    cc -V
    CC -V
    f90 -V
    collect -V
    dbx -V
    dmake -v
    (Note: the last one is small "v")

  • Sun Studio Debugging problem

    Hello
    I need help configuring the Sun studio debugger to work in fedora 8. The project is loaded from a make file, compiles fine, and runs fine. However, I can not place break points, and when I start the visual debugger, it gives a message box titled progress, and hangs on saying: starting debugger: /lib/libc.so.6
    Running from the command line gives me:
    $dbx <my program>
    For information about new features see `help changes'
    To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc
    Reading <my program>
    Reading ld-linux.so.2
    Reading libm.so.6
    Reading libmpich.so.1.1
    Reading libpthread.so.0
    Reading librt.so.1
    Reading libc.so.6
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: warning: unknown location expression code (0xe0)
    dbx: panic: "ThreadAgent::setup_helper"(): Assertion (ta_td_agent) failed - "thread.cc":2674
    I have another problem in debugging an mpi problem in another installation of Sun Studio on Solaris 10 on a Sun machine. The visual debugger is working fine there, however, I need to debug with mpirun
    to decide the number of processors, because by default it loads the application on one processor. Iwill need to do this as well later on the linux machine I am using now, which doesn't even start the debugger on a sequential code so far.
    I appreciate your help a lot.
    Thank you very much in advance.
    Manal

    mhelal wrote:
    Hi
    Thank you for your reply. you said 2 problems,Yes, basically I meant these two:
    1. dbx: warning: unknown location expression code (0xe0)
    2. dbx: panic: "ThreadAgent::setup_helper"(): Assertion (ta_td_agent) failed - "thread.cc":2674
    First one should be fixed in dbx itself, but the second looks like an incompatibility between Fedora's libc and dbx; unless distros in "supported" list upgrade to the same version of libc, dbx can't be changed to match it.
    In other words, I'm sorry to say that you will probably not succeed in using dbx on Fedora 8 for the time being.

  • General and specific questions on the applicability of Sun Studio 11

    Hi. In an e-mail letter from Sun Microsystems I read about Sun Studio 11 to "utilize its record-setting parallelizing compilers." From this message I was attracted by the possibility of adding something like parallel processing, not by changing the processor (hardware), but by adding Sun-Studio-11 software to a Linux operating system. Now I already have a Fortran compiler, the Intel Fortran Compiler for Linux, which is free and can handle Cray-style pointers, a feature hard to find in a free Fortran compiler.
    1a. So for the most basic of questions, without having parallel-processing hardware, just an ordinary processor [a 1-GigaHertz (GHz) Advanced MicroDevices Duron central processing unit, in my case], is it possible to have parallel processing and thereby increase one's computing speed by installing Sun Studio 11 in a Linux operating system?
    1b. If so, by what factor could one expect the speed of computation to increase over not having Sun Studio 11 installed? (If the gain in speed is dependent on the type of computations being performed, I imagine possibly using a Fortran code to perform numerical calculations using and perhaps searching for minima or maxima in a two-or-more-dimensional surface. So please give me an idea of the sort of gain in speed one could expect for these two types of activites, calculations using formulas and searches for minima and maxima among already-computed quantities.)
    1c. Again if so, how could one just by adding software have parallel processing without two or more hardware processors? In other words, what is the basic working principle of the software to make the simultaneous performance of multiple tasks (multitasking or parallel processing) possible?
    2a. Does Sun Studio 11 include a Fortan compiler?
    2b. If so, must one use it to have parallel processing with Sun Studio 11?
    2c. Or will the Intel Fortran Compiler for Linux work with Sun Studio 11 to have a parallel processing capability?
    Concerning hardware requirements I read that Sun Studio 11 requires a minimum of 512 MegaBytes (MB) of memory, presumably Random Access Memory (RAM). My Hewlett-Packard, ZE1110, Pavilion, notebook computer has 256 MB of RAM, but is expandable to a maximum of 512 MB of RAM. So in this respect it is in principle at least technically possible for me to meet the minimum system requirement for Sun Studio 11 with my computer, if I choose to increase its RAM. Somehow accommodating the cost of such a RAM addition, including whether one may have to buy two, matching, 256-MB RAM modules or just presumably one additional 256-RAM module, is another requirement. But before spending money for such an upgrade, one should first thoroughly investigate other matters to determine if other things are going to work and to determine what gain, if any, one could expect in computing speed with Sun Studio 11 and an additional 256 MB of RAM; then decide, based on such data, whether the purchase is personally worth the money or not. That's one motivation behind this posting; another motivation is for me to learn some things.
    Lastly I would like to here thank whoever was thoughtful enough to provide the Sun Download Manager (SDM) 2.0, which allows the pausing and resumption of the 207-MB download studio11-lin-x86.tar.bz2 for the Linux version of the Sun Studio 11! Using a slow, dialup, Internet connection like mine having a maximum speed of 28.8 kilobits/second, this makes it possible to download that file over a number of Internet sessions instead of having to have an uninterrupted, 19-or-more-hour Internet session. Besides the invconvenience of tying up one's telephone line for that long a time, it might be even be difficult to have such an uninterrupted Internet session for that long a time. I have at least started such a download using the SDM 2.0 potentially over multiple Internet sessions. Whether or not I carry it out to completion could depend on whether everything looks good with Sun Studio 11 for my particular situation. Thanks in advance for your help.

    Thanks for both of your postings here. I'm mostly trying to learn something here.
    From Maxim Kartashev: "For example, if one thread (or process, or lwp) frequently performs an I/O operation, then the other thread (process, lwp) can utilize processor resources to perform, say, some computations while first one waits for operation to complete."
    I think I might understand what you meant above. I guess lwp in the above context stands for light-weight process. And I think you may be talking about a potential gain in speed with just one, ordinary processor. I guess you meant that one program, or perhaps group of programs, could perform input/output processes at the same time it is performing calculations because different parts of the processor are being used in these two groups of processes. Then on "while first one waits for operation to complete" I guess you meant that if the input/output operations finish before the computations finish, then thread 1 that was performing the input/output operations will have to wait until the current computations ordered by thread 2 are complete before thread 1 can utilize the computational resources for its own computations; i.e., two threads can't use the same computational resources of an ordinary processor at the same time. How is my thinking so far, Maxim, right, partly right, or all wrong?
    Now if the above thinking of mine is right, then it appears that one could have some gain in speed doing things like you suggest with just one, ordinary processor. And if so, I imagine that the gain could be a maximum of a factor of two for a program that requires spending as much time in input and output as it does in computation; i.e., keeping both the computational and input/output resources working all of the time without the input/output resources waiting on the computational resources or vice versa. How is my thinking here?
    If the above thinking is correct, just for purposes of discussion with just one, ordinary processor, not a dual processor, and a program which does nothing but computations there would be no gain in speed using Sun Studio 11 and a Fortran compiler over not using Sun Studio 11. In other words, to increase the speed of computation one would have to buy a faster computer, buy parallel processing hardware for an existing computer and use parallel-processing software, or somehow figure out how to harness two or more computers to work for you at the same time with instructions from one piece or perhaps set of pieces of code set up for parallel processing using two or more different computers. The latter case would be a computer analogue or "two 'heads' are better than one," not human heads, but computers. How is my thinking here?
    Here I am still assuming that it is possible for one processor to be used to do two different kinds things at once. However, I don't see how one Fortran program could instruct two things to be done at once. This is because I have not seriously studied parallel processing, I suppose. That is I am used to a sequential set of instructions that proceed from top to botton down the lines of code; i.e., one instruction or line of code can't be executed until the line of code before it has been completely executed. That is the computing "world" with which I am familiar. So how about someone here teaching me with an example of parallel-processing Fortran code how parallel processing works, explaining what instruction or group of instructions tells the computer to execute input and computational instructions at the same time?
    Based on the encouraging information from one or more other people I have been able to use the Intel Fortran for Linux 8.1.024, if I remember correctly, in a computer with a 1-GigaHertz (GHz), Advanced MicroDevices (A.M.D.), Duron Processor. So this is at least one case where it is not essential to have an Intel processor to use the Intel Fortran Compiler for Linux 8.1.024.
    Is the Sun Fortran compiler free for personal use? And can it handle Cray-style pointers?

  • Pass multiple query strings to url using HTTPWebRequest

    I'm trying to read data from API (in Json format) and load it into SQL server using script task in SSIS.
    Dim Request1 As System.Net.HttpWebRequest = DirectCast(System.Net.HttpWebRequest.Create(URL), System.Net.HttpWebRequest)
            Dim Object1 As [Object]
            Dim Response1 As System.Net.HttpWebResponse = Nothing
            Dim reader1 As System.IO.StreamReader
            Dim myResponseString As String
            Request1.Headers.Add("Authorization: Token *****")
            Try
                Response1 = DirectCast(Request1.GetResponse(), System.Net.HttpWebResponse)
                reader 1= New System.IO.StreamReader(Response1.GetResponseStream())
                myResponseString = reader.ReadToEnd()
    I'm able to do this with the URL. However, the requirement now is to pass different query strings to the URL and load the data into SQL.
    Could someone please provide the code sample to achieve this.
    Thanks

    If we sent you a code you must try and tell that it doesn't work or that's not what I want, this is better than repeating the same question again and again. Here you go another snippet for httpwebrequest with querstrings and tested:
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Try
    Dim request As HttpWebRequest = DirectCast(HttpWebRequest.Create(New Uri("http://www.google.com?querstring1=1&querystring2=2")), HttpWebRequest)
    request.BeginGetResponse(New AsyncCallback(AddressOf ReadCallback), request)
    Catch ex As WebException
     End Try
    End Sub
    Private Sub ReadCallback(asynchronousResult As IAsyncResult)
    Dim request As HttpWebRequest = DirectCast(asynchronousResult.AsyncState, HttpWebRequest)
    Dim response As HttpWebResponse = DirectCast(request.EndGetResponse(asynchronousResult), HttpWebResponse)
    Using streamReader1 As New StreamReader(response.GetResponseStream())
    Dim resultString As String = streamReader1.ReadToEnd()
    Dim result As String = Convert.ToString("Using HttpWebRequest: ") & resultString
    End Using
    End Sub
    Fouad Roumieh

Maybe you are looking for

  • Connection problem in oracle10g and developer6i as front end!

    Hi, guys i installed oracle 10g database first and then installed developer6i, and the installation was successful. i changed the TNS name file in both the folders same.But when i try to login to the sql plus of oracle10g then the error comes as "lis

  • Cannon XH G1 with Intel MPro and Adobe Premiere CS3

    What could go wrong with that combination? The Premiere runs well on the Mac. The time code jackpack, though pricey, is recommended for proxy editing, and the software appears to support 24F, or does it? The Canon XH G1 ain't cheap, but I'm going for

  • Flash won't install in IE after FakeAVG trojan

    Help, please.  My computer had a FakeAVG Trojan (detected by MalewareBytes) and now I cannot get Adobe Flash to properly install.  The trojan was completely cleaned.  I have tried multiple steps including using Adobe tools to uninstall and reinstall,

  • Missing security features...

    Hi, Someone has suspiciously gotten information that was only available on my skype account including contact names and conversations. I am only to assume that they have somehow gotten into my account so I immediately changed my password. I am wonder

  • Arm controller

    Hello everybody I'm searching for a vi concerning supervision with control design and simulation of an arm controller this example is integrated in the examples on Lbaview but i can't found it on meine here is the picture   And thank u Solved! Go to