How to generate gdb compatible .o for CMT using Sun Studio C compiler?

Hello,
we've been working on a joint project for telco bearer plane applications on CMT.
We started the project using gcc for Sparc and we switched to Sun Studio compiler when we hit some bugs in gcc (optimized mode was not completely stable). The switch took a few weeks due to syntax differences and toolchain option changes.
With Sun Studio we got a double digit percent performance improvement, so Sun Studio proved more stable and faster than gcc.
To debug programs we require gdb, because the Telco customers are more familiar with it. The problem is that Sun Studio generates object files which are not compatible with gdb.
Our main requirement is to be able to generate gdb compatible object files using Sun Studio compiler.
We checked this link:
http://cooltools.sunsource.net/gcc/ReleaseNotes.html
but this seems to be a variant of gcc. At this point we cannot switch compiler because of the performance and stability issues mentioned above and because it will take a few weeks to months to switch.
We have two questions:
1) Is there a way to generate gdb compatible object files using Sun Studio 11?
2) If not, is this funcionality going to be available in a future release of Sun Studio and what is the time frame?
Thanks for your help.
Marco Zandonadi
Teja Technologies

The undefined symbol is in the C++ runtime support library that is part of Solaris. Probably you have an out-fo-date version of the libraries.
You can get current patches from the Sun Studio patch page:
http://developers.sun.com/prodtech/cc/downloads/patches/index.html
From the page for your version of WorkShop or Sun Studio, select the C++ Runtime Library patch for the version of Solaris that your are running. While you are at it, you can get the current compiler patches as well.
If patching the runtime libraries does not fix the problem, let me know, and also show the exact command lines that you use for compiling and linking the program.

Similar Messages

  • How to generate an XML file for an animation of IK armature

    Can someone please tell me how to generate an XML file for an animation of IK armature.
    I have a 5 keyframe/16 frame animation of a human character made up of a series of moveiclip symbols that is animated with an IK armature.  I need the XML information from the animation. 
    When I go to Commands > Export Motion XML I get the error message "There is more than one object on frame 1" and then nothing happens.
    Thank you,
    c

    I hope that's not the case.  I want to write to adobe about it.  I think it's a great feature and it functions really well even though it is not a very developed IK tool.  My biggest issue with it is ouput options and integration with motion tweens.
    I have seen a lot of examples of animators using it online, just no one talked about output.  I just feel it hasn't been developed.  It can generate a sprite sheet but only for a single pose frame of the animation, and not all the key frames or pose tweens.  I find that functionality quite odd, as if adobe just forgot about IK when added in sprite sheets, etc. and the reason it half works is just an accident.

  • How To Generate Debug Log Files for ebs jsp?

    hi   How To Generate Debug Log Files for ebs r12 jsp?
    and where i get the log .please help me thanks!

    Please check following MOS Document
    Oracle Application Server Diagnostic Tools and Log Files in Applications Release 12 (Doc ID 454178.1)

  • How to generate a  number sequence for a column of a Z*table?

    Hi ,
    How to generate a  number sequence for a column of a Z*table?
    plz guide me.
    thanks
    Albert

    1) Use SNRO for defining a number range.
    2) Use FM NUMBER_GET_NEXT for getting the next number with object, sub object etc..
    See one example below.
          CALL FUNCTION 'NUMBER_GET_NEXT'
            EXPORTING
              nr_range_nr                   = c_01
              object                        = c_z_prd_code
    *           QUANTITY                      = '1'
             subobject                     = p_vkorg
    *           TOYEAR                        = '0000'
    *           IGNORE_BUFFER                 = ' '
           IMPORTING
             number                        = in_prd_code
    *           QUANTITY                      =
    *           RETURNCODE                    =
            EXCEPTIONS
                  interval_not_found            = 1
                  number_range_not_intern       = 2
                  object_not_found              = 3
                  quantity_is_0                 = 4
                  quantity_is_not_1             = 5
                  interval_overflow             = 6
                  buffer_overflow               = 7
                  OTHERS                        = 8
    3) You may write these code in main program of the table maintinence
    rgds,
    TM.

  • How to generate a chirp(linear FM) signal using dds theory in LabVIEW FPGA.

    how to generate a chirp(linear FM) signal using dds theory in LabVIEW FPGA.
    attachment:a sine signal using dds theory. Hope to get some help. Thanks!
    Attachments:
    FPGA DDS SineGen IP.vi ‏42 KB

    you need to increment the "accumulator increment" during the duration of the chirp.  the "accumulator increment" controls the frequency of the DDS cycle.  by increasing it's value, you are increasing the frequency.  the math for increment values follows the same math as determining the frequency to increment value.
    Stu McFarlane
    Viewpoint Systems, Inc.

  • Create office app for word using visual studio 2013

    i tried to create an app for office using visual studio 2013 i just created one in task pane with all default settings and then deployed succesffully and i can't find the app in task pane in word office any ideas
    Mohamed Abdeen

    Hi Mohamed Abdeen,
    Please try to enable a build-in app for Office, such as "Bing dictionary" and check if the task pane pop-up.
    If the "Bing dictionary" works well, I suppose that this issue might be caused by itself. I recommend you post the question to Word for DEV forum:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=worddev&filter=alltypes%2Calllanguages&sort=lastpostdesc
    If all the apps can't be used, they might be blocked. Please go to File/option/trust center/trusted app catalogs/enable it.
    Reference:
    https://technet.microsoft.com/en-us/library/jj219429.aspx?f=255&MSPPError=-2147217396
    https://msdn.microsoft.com/en-us/library/office/jj220060.aspx?f=255&MSPPError=-2147217396
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to generate Header and Trailer for a file

    Hi Guru
    How can we generate header and Trailer for a file
    EX:
    i want to generate header with date and trailer with record count from table.
    Sample file :
    20120120
    fwsfs
    adfwsfd
    adff
    afsadf
    afdwsg
    adgsg
    adgsgg
    asgdsag
    sdgasgdaf
    sdfsagfadf
    10

    Hi ,
    1.Create an interface to load data from oracle to file and set generate header as false option in IKM .
    2.Create variable get_current_date of alphanumeric datatype and implement logic SELECT to_Char(SYSDATE,'yyyymmdd') FROM DUAL under refreshing tab
    3.Create variable get_record_count of numeric datatype and implement logic SELECT '<%=odiRef.getPrevStepLog("INSERT_COUNT")%>' FROM DUAL under refreshing tab
    4.Create a package
    Drag the get_current_date variable ,
    Drag odioutfile and paste the below logic OdiOutFile "-FILE=D:\ODI_TEST\emp.txt" "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A" #GET_current_date in command tab
    Drag the interface
    Drag another variable get_Record_count
    Drag the odioutfile and paste the below logic OdiOutFile "-FILE=D:\ODI_TEST\emp.txt" -APPEND "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A"
    #GET_RECORD_COUNT in command tab
    Link all these in sequence,save and run the package.
    OR Modify the IKM SQL to File Append to achieve same functionality.
    Thanks,
    Anuradha

  • How to Generate a Java file for a JSP Page

    Hi ,
    I am using weblogic11 .
    I am working on a JSP page which nearly consists of 4000 lines of code.
    I need to debug the file , but weblogic server is not generating the java file for the JSP pages .
    Please let me know how can i genertae Java file for the jsp pages ??

    JSPs are compiled into servlets automatically and those classes are stored in WEB-INF/classes folder. Servlet engine handles servlets.

  • How to generate a SSL certificate for Adobe Connect?

    My organization uses adobe connect across the internet and we
    would like to enable SSL on the server. I have instructions for
    enabling SSL once a CSR is generated, but I do not know how to
    actually generate the CSR using Adobe Connect.
    Any info on how to generate a SSL CSR would be great,
    thanks.

    There is no 'built-in' method in Connect to do this. We used
    a open-source product called OpenSSL to generate our CSR file for
    Connect. Just Google OpenSSL and download/install it (it's free).
    Then use something like this command for creating a cert:
    openssl
    req -new -key <exisiting private key file> -out <csr
    file you want to make>
    Example:
    OpenSSL> req -new -key privatekey.pem -out connectcert.csr
    After you get the new certificate from the CA, put in
    d:\breeze directory. Then update the adaptor.xml file with the new
    cert name (make sure backup the existing file).
    Make sure you REBOOT the server to enable changes! Simply
    restarting services will not work.
    Hope this helps!

  • How to Generate Diffrent Subcontarcting BOM for Diff. Vendor in MRP

    Hi Experts,
    Ii have query @ how to generate to Diffrent Subcontracting BOM for Diffrent Vendor for same material in one plant in MRP(Material Requiremnt Planning)
    Example: I have X Finished material having 3 Vendor with their Quota Arrangement with 40,30 & 30% quota. This 3 vendors have diffrent BOM,i.e. Alternative BOM. how shall i generate Diifrent PR with Diffrent Subcontracting BOM for according Vendor.
    Pls tell me procedure for this.
                 Thanks in Advance,
    Best Regards,
    Dev

    Hi Dev,
    You can acheive your requirement using Production Version in Material Master MRP 4 view , production versions tab.
    Create three different production version as below  and assign the same to the Vendor in Vendor Info record Tcode : ME11 / ME12 :
    Prod Version                  Alt BOM            For Vendor
    01                                       01                 XXXXXX
    02                                       02                YYYYY
    03                                        03               ZZZZZZ
    Assign the Production Version to corresponding vendor in Vendor Info Record.
    Goto t.code : ME11 /ME12 put the Vendor (say XXXXXX), Material No , Purchase Org and Plant and seeect the sub contract vendor radio button and press enter.
    System will take you to CIR : General Data screen , Select the Purch Org Data 1 and enter the Production version  "01" number in the field "Version"  save and comeout.
    Similarly do it for the other two vendors YYYYYY -02 and ZZZZZZ -03 .
    Now if you create a sub contracting P.O system will propose the Alt BOM 1 for the Vendor XXXXXX , Alt BOM 2 for the vendor "YYYYYY" and Alt BOM 3 for the vendor "ZZZZZZ".
    Hope this will help you.
    regards
    radhak mk

  • How to generate the deferent pdfs for deferent vendor ?

    Hi,
    i have requirement to generate the each pdf for each vendor and i need to mail those pdfs to respective vendor,
    here i am facing the prob to generate the no of pdfs for deferent vendors...please can any one help me in this how i generate the no of pdfs ?? using wrapeer program ....
    if possible any one can provide some example code..(Exmplae program)
    Thanks,
    PK..

    There are two function use one for convert PDF and second use to email, hope it will give u idea proper.
    Assigning the OTFDATA to OTF Structure table
      CLEAR gt_otf.
      gt_otf[] = gs_otfdata-otfdata[].
    Convert the OTF DATA to SAP Script Text lines
      CLEAR gt_pdf_tab.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = gv_bin_filesize
        TABLES
          otf                   = gt_otf
          lines                 = gt_pdf_tab
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = gs_docdata
            put_in_outbox              = 'X'
            commit_work                = 'X'
          TABLES
            packing_list               = gt_objpack
            contents_bin               = gt_objbin
            receivers                  = gt_reclist
          contents_txt               = i_objtxt
            object_header              = objhead
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            OTHERS                     = 8.

  • How to generate WS and WSDL for proper working DS under ALDSP 3.0?

    Hi,
    Ive got small problem with generating WebService and WSDL for proper working DataService in AL Data Service Studio.
    Whats the worse, I cant find any good documentation showing how to do it step by step in the new development enviroment.
    Currently Im doing it like:
    1) right click on DS and then Create Web Service Map
    2) when Im trying to View WSDL for created (in previous point) WS Map, after a while for deployment, I get Error 404--Not Found
    3) when Im trying to Save WSDL As ... , after showing where it should to be saved, nothing happens
    4) At Test Web Service Map option Ive got (in ZIP archive there is error trace from WebLogic console):
    http://localhost:7001/xyz/abc/test/something.ws?WSDL
    failed due to weblogic.testclient.WsdlParseFailedException: Not Found
    My questions are:
    i) how I can generate WS for DS?
    ii) when there will be some tutorials to download for ALDSP 3.0?

    Some new facts about this situation.
    A moment ago Ive made all the things like in edocs:
    http://edocs.bea.com/aldsp/docs30/install/migration.html#wp1081343
    After that problems still exists and what is the worst - the same problem as at the first time.
    So:
    1) Problem of not migrated kind="private" to visibility="private"
    2) Problem of migrating the files encoded in CP1250 if they got charakters encoded in CP1250
    3) I know that proces of migration from multiple imports to the same namespace within XSDs must be done in manual way but problem still exist
    4) There are some issue like this:
    "[ld:xXx_PIDataServices/cache/order/order.ds]: The return type of the read function "{ld:xXx_PIDataServices/cache/order/order}setOrderStatus" with arity 1 does not match the Data Service target (element) type "{services.cache.integration.amg}setOrderOut"."
    When I remove kind="read" from pragma then its going to be valid.
    In short time we will try to contact with our local BEA support.
    PS Right now I was trying to import another project (sample one for Workshop 8.1 - <BEA_HOME>\weblogic81\samples\workshop\SamplesApp) and it also didnt go smoothly :/
    Edited by PiotrGalas at 02/01/2008 4:20 AM

  • How to generate the ATR files for reports with out manually?

    Hi all,
    how to create the ATR files for reports in OBIEE 11g with out manually?
    is there any other method to create the ATR files by using the OBIEE Server?
    please provide me the solution for this?
    we are creating manually for each and every report, it is time taken process how can we generate ATR files automatically
    by using the OBIEE Server?
    Thanks,

    Hi,
    I am afraid not.ATR are attributes files contains the object's full name, access controllist (ACL), description, and so on.Each catalog object has a corresponding attributes file, I am not sure why do you have to generate the atr files.In case you need info about atr files: http://businessdecisionsystems.com/blog/?p=7
    If you have huge number of similar reports(with filter variations and same kind of layout), try to play around with the xml to minimize the development effort.
    Rgds,
    Dpka
    Edited by: Dpka on Oct 4, 2011 12:00 AM

  • How to generate all possible keys for DES algorithm

    Hello every one,
    I want to generate all the possible key combinations for the DES algorithm 56-bit "actuallly 64 but the last 8 bits are just padding", so can anyone plz help how can i do that? or give me article or something that might help me?
    Thanks in advance,
    Amr M. Kamel.

    I know that but who said that it will be one
    processor it will be on distributed and clustered
    environment :). I just want to know how to generate
    the keys "or write binary".
    Thans again for your helpA cluster of 2285 machines will still take a year! The simplest algorithm is to just count from 0 to 2^56 .
    If you are thinking of cracking DES then there is a Book I have on my shelf 'Cracking DES' published by the 'Electronic Frontier Foundation' ISBN 1-56592-520-3 . It contains the C code and describes the hardware used. The hardware cost was about $100,000 and it cracks DES in about 3.5 days.
    Assuming Moore's law ( http://en.wikipedia.org/wiki/Moore's_law ) applies then it should now take about much less than a day and cost much less than $100,000. BUT - it will take a long time using basic computers.

  • How to generate a unique WSDL for two webservices ?

    Hi ,
    Does anyone know if there is a way to generate a unique WSDL file for two webservices ?
    Actually, the problem is more general. I have two EJB that are exposed through web services. They both contain a simple data structure that is passed back and forth.
    The Client is a C# GUI and it is having problems with that data structure. Even if it is the same data structure with the same namespace, it seems it as two different objects and so creates two different stubs ...
    I am trying to work around that from the server side, bc it does not seem that we can do it from the C# application.
    First, I am trying to generate just one WSDL that would include both webservices but I can't seem to find an easy way of doing that.
    Second, I have heard that the complex types could be referenced externaly and I think that it would do the trick as well. I don't know how to do that either.
    I am using ServiceGen Ant tags to generate my web services from an EJB.
    Did anyone encounter that issue ?
    Can any one help ?
    Thanks a lot
    Farez

    hi,
    go to t-code SNRO and create a number range from 0 to 99999999.
    call the below fm in the report by passing the created number range name to fm to generate the new number every time..
    see
    NUMBER_GET_NEXT Get next free number in a range
    CALL FUNCTION 'NUMBER_GET_NEXT'
    EXPORTING
    NR_RANGE_NR = '01'
    OBJECT = 'YPOLLID'        "number range name created in SNRO.
    IMPORTING
    NUMBER = LS_NUMBER.       "new number with one increment..
    or
    you can try..
    you can use following code.
    select max( num ) from z_table into v_max_num.
    v_max_num = v_max_num+1.
    Regards,
    prabhudas

Maybe you are looking for