This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSS Scripting DVT profiling example fails "out-of-the-box" after installing ccsv5.

Other Parts Discussed in Thread: CCSTUDIO

I have installed ccsv5.0.3 on a windows XP machine (service pack 3) and I'm investigating the profiling capabilities of DSS scripting. I'm trying to run the supplied example located at: C:\Program Files\Texas Instruments\ccsv5\ccs_base_5.0.3.00028\scripting\examples\DVTExample. When running the go.bat command I get the following Java error:

traceSetFileLevel: ENTRY sLevel: ALL

traceSetFileLevel: RETURN

getServer: ENTRY sServerName: DebugServer.1

getServer: Getting definition for: DebugServer.1

getServer: Constructing server

getServer: RETURN com.ti.debug.engine.scripting.DebugServer@19bd03e

setConfig: ENTRY sConfigurationFile: ../C64/tisim_c64xpcpube.ccxml

setConfig: RETURN

openSession: ENTRY sPattern: .*

start: ENTRY

start: Firing: onServerStarting()

start: Connecting to XPCOM DebugServer

start: Initializing DebugServer using specified configuration: "C:\Program Files\Texas Instruments\ccsv5\ccs_base_5.0.3.00028\scripting\examples\C64\tisim_c64xpcpube.ccxml"

waitUntil: ENTRY com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1833955 timeout: 240000 (ms)

<init>: CPU Name: TMS320C64+

<init>: PartNum:

<init>: Family: 320

<init>: SubFamily/MajorISA: 64

<init>: Revision/MinorISA: 105

<init>: Platform: SIMULATOR

<init>: Processor ID: 1342280521

isConnected: ENTRY

isConnected: Target is connected

isConnected: RETURN true

getLogFileConfig: ENTRY

getLogFileConfig: RETURN Success

configureLogFile: ENTRY sFileName: C:\Program Files\Texas Instruments\ccsv5\ccs_base_5.0.3.00028\scripting\examples\DVTExamples\logfile.rtd nFileSize: 0 nFileFullMode: 1 nFileOpenMode: 2

isConnected: ENTRY

isConnected: Target is connected

isConnected: RETURN true

isEnabled: ENTRY

isEnabled: RETURN 0

configureLogFile: RETURN Success

configureRTDX: ENTRY nMode: 1 nBufferSize: 64600 hsEmuPin: 0 nBufferCount: 4

isConnected: ENTRY

isConnected: Target is connected

isConnected: RETURN true

isEnabled: ENTRY

isEnabled: RETURN 0

configureRTDX: RETURN Success

waitUntil: RETURN com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1833955

start: Firing: onServerStarted()

start: Searching for devices

listDevices: ENTRY

listDevices: Found debuggable device: C64x+ CPU Cycle Accurate Simulator, Big Endian/TMS320C64+

listDevices: RETURN

start: RETURN

openSession: Searching for device exactly matching name: .*

openSession: No exact name matches found.  Searching for device matching regular expression: .*

open: Initializing RTDX: "RTDXServer.1"

getServer: ENTRY sServerName: RTDXServer.1

getServer: Getting definition for: RTDXServer.1

getServer: Constructing server

getServer: RETURN com.ti.debug.engine.scripting.RTDXServer@f47bf5

openSession: ENTRY sDebugSession: C64x+ CPU Cycle Accurate Simulator, Big Endian/TMS320C64+

getServer: ENTRY sServerName: DebugServer.1

getServer: Getting cached server: DebugServer.1

getServer: RETURN com.ti.debug.engine.scripting.DebugServer@19bd03e

openSession: ENTRY session: com.ti.debug.engine.scripting.DebugSession@f6438d

openSession: RETURN com.ti.debug.engine.scripting.RTDXSession@1cd0888

openSession: RETURN

openSession: RETURN C64x+ CPU Cycle Accurate Simulator, Big Endian/TMS320C64+

getServer: ENTRY sServerName: DVTServer.1

getServer: Getting definition for: DVTServer.1

java.lang.NoClassDefFoundError: com/ti/dvt/profileanalysismanager/IProfileAnalysisProviderList

     at java.lang.ClassLoader.defineClass1(Native Method)

     at java.lang.ClassLoader.defineClassCond(Unknown Source)

     at java.lang.ClassLoader.defineClass(Unknown Source)

     at java.security.SecureClassLoader.defineClass(Unknown Source)

     at java.net.URLClassLoader.defineClass(Unknown Source)

     at java.net.URLClassLoader.access$000(Unknown Source)

     at java.net.URLClassLoader$1.run(Unknown Source)

     at java.security.AccessController.doPrivileged(Native Method)

     at java.net.URLClassLoader.findClass(Unknown Source)

     at java.lang.ClassLoader.loadClass(Unknown Source)

     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

     at java.lang.ClassLoader.loadClass(Unknown Source)

     at java.lang.Class.forName0(Native Method)

     at java.lang.Class.forName(Unknown Source)

     at com.ti.ccstudio.scripting.environment.ScriptingEnvironment.getServer(ScriptingEnvironment.java:1090)

     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

     at java.lang.reflect.Method.invoke(Unknown Source)

     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:142)

     at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:201)

     at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:64)

     at org.mozilla.javascript.gen.c1._c0(javascript_examples/FunctionProfileScript.js:37)

     at org.mozilla.javascript.gen.c1.call(javascript_examples/FunctionProfileScript.js)

     at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:337)

     at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2755)

     at org.mozilla.javascript.gen.c1.call(javascript_examples/FunctionProfileScript.js)

     at org.mozilla.javascript.gen.c1.exec(javascript_examples/FunctionProfileScript.js)

     at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:500)

     at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:422)

     at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:388)

     at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:379)

     at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:176)

     at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:97)

     at org.mozilla.javascript.Context.call(Context.java:540)

     at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:447)

     at org.mozilla.javascript.tools.shell.Main.exec(Main.java:159)

     at org.mozilla.javascript.tools.shell.Main.main(Main.java:137)

Caused by: java.lang.ClassNotFoundException: com.ti.dvt.profileanalysismanager.IProfileAnalysisProviderList

     at java.net.URLClassLoader$1.run(Unknown Source)

     at java.security.AccessController.doPrivileged(Native Method)

     at java.net.URLClassLoader.findClass(Unknown Source)

     at java.lang.ClassLoader.loadClass(Unknown Source)

     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

     at java.lang.ClassLoader.loadClass(Unknown Source)

     ... 38 more

org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (javascript_examples/FunctionProfileScript.js#37)

     at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1705)

     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:157)

     at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:201)

     at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:64)

     at org.mozilla.javascript.gen.c1._c0(javascript_examples/FunctionProfileScript.js:37)

     at org.mozilla.javascript.gen.c1.call(javascript_examples/FunctionProfileScript.js)

     at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:337)

     at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2755)

     at org.mozilla.javascript.gen.c1.call(javascript_examples/FunctionProfileScript.js)

     at org.mozilla.javascript.gen.c1.exec(javascript_examples/FunctionProfileScript.js)

     at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:500)

     at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:422)

     at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:388)

     at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:379)

     at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:176)

     at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:97)

     at org.mozilla.javascript.Context.call(Context.java:540)

     at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:447)

     at org.mozilla.javascript.tools.shell.Main.exec(Main.java:159)

     at org.mozilla.javascript.tools.shell.Main.main(Main.java:137)

Caused by: java.lang.NullPointerException

     at com.ti.ccstudio.scripting.ScriptEnvironment.registerServer(ScriptEnvironment.java:38)

     at com.ti.ccstudio.scripting.environment.ScriptingEnvironment.getServer(ScriptingEnvironment.java:1137)

     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

     at java.lang.reflect.Method.invoke(Unknown Source)

     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:142)

     ... 18 more

Obviously it looks like some .jar file(s) are missing. Can you recommend what I need to add to the CLASSPATH to get this going.

Thanks,

Mark

  • Hi Mark,

    I can reproduce this issue on 5.0.3. But it also looks resolved in 5.1.0M6. I would recommend moving to 5.1.0

    Thanks

    ki

  • Ki,

       Thanks. I downloaded and installed ccsv5.1.0M6 and the DVT profile example works fine. Now my next question is regarding instruction-level profiling. I need to acquire execution and cycle counts at the instruction level rather than just at the function level. While it looks like there is no published reporting capability to proved this level of detail, is there a simulator API that I can use to obtain these execution and cycle counts at the instruction level?

    Thanks,

    Mark

  • Mark,

    That example shows just function profiling. You can also configure DSS to generate Code Coverage data. That will give you coverage data and also profile data per source line. But i don't think you can data on a per instruction basis using just DSS.

    ki

  • I forgot to mention above that code coverage data is only available using C6x simulators.

  • Ki,

    Does C6x in this case include all C6000, especially C66x for Mark's use?

    Regards,
    RandyP

  • Yes, C66x simulators should be supported.

    ki

  • Ki,

    Two related questions for this issue, please:

    1. In the TI response on Where can I get the simulator for TMS320C6678?, it was said that M6 may have serious issues. Would the DVT problem of 5.0.3 also be resolved in M4, or only in M6?

    2. You mentioned above that we could not get instruction-level detail with just DSS. How can we get instruction level profiling?

    Regards,
    RandyP

  • RandyP said:
    1. In the TI response on Where can I get the simulator for TMS320C6678?, it was said that M6 may have serious issues. Would the DVT problem of 5.0.3 also be resolved in M4, or only in M6?

    I believe so, but I haven't tried in on M4 myself so I can't confirm this. Another option is to take M7 (which should be coming soon) if the simulator issues have since been resolved.

    RandyP said:
    2. You mentioned above that we could not get instruction-level detail with just DSS. How can we get instruction level profiling?

    With CCS, you can use the profile clock and see the cycle counts as you assembly step. I suppose you can do this on DSS also by assembling stepping and then reading the CLK register.

    ki

     

     

  • Ki,

       Instead of single stepping at the assembly code level, could an event callback be setup somehow that would fire on each instruction execution?

     

    Thanks,

    Mark

  • Ki, Randy,

       I'm trying to run the same example on the linux version of ccsv5.1.0M7 and it is failing trying to connect with the Debug server. The message is as follows:

    SEVERE: Could not start server: DebugServer.1: Can not connect to DebugServer. Contract ID :@ti.com/DebugServer1;1" is not registered with XPCOM Runtime.  (0x80004005)

    The linux OS I'm using is: 2.6.18-194.el5 x86_64

    Thanks,

    Mark

     

  • Mark,

    What version of java do you have installed? type in "java -version" in the terminal to get the version number

    ki

  • Ki,

       The version of java is:

    java version "1.6.0"

    OpenJDK  Runtime Environment (build 1.6.0-b09)

    OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)

     

    Thanks,

    Mark

  • Mark,

    First delete /<install path>/ccsv5/ccs_base/DebugServer\linux/components/compreg.dat and then try again.

    If that doesn't fix the issue, tyep "ldd libDebugServer.so" from the same directory and paste the output to this thread.

    Darian

  • Darian,

    Mark has IT issues today with uploading to the forum, so I have posted this on his behalf. Thank you for your continued support for him.

     

    Darian,

       Removing the file you specified did not work. However after running ldd on the libDebugServer file I noticed two problems. The first was a requirement that the version of libstdc++.so.6 be either GLIBCXX_3.4.9 or GLIBCXX_3.4.11. The version we have goes up to GLIBCXX_3.4.8. Off-hand do you know where I can get a copy of libstdc++.so.6 with the required GLIBCXX versions? I believe our glibc version is OK. The second problem was that the library libxpcom was not found. I noticed that this library is located one level up from components. I can update LD_LIBRARY_PATH to allow it to find it but I should not have to do that.  Please advise.

    Thanks,
    Mark

  • Mark/Randy,

    libxpcom.so will be resolved at runtime (it actually is responsible for loading libDebugServer.so).  So the only issue is that you need a newer version of libstdc++.so.  How you go about doing that is dependent on what distro you're running, but you can get it standalone from http://gcc.gnu.org/libstdc++/.  Once replaced, you may need to delete that compreg.dat file again so that it re-scans for valid components.

    Darian

  • Darian, et al,

    For Mark:

     

    Darian

       We’ve had to build a later version (4.4.6) of GCC and extract the libstdc++ library because it is no longer packaged separately. I set LD_LIBRARY_PATH to a directory containing the new libstdc++ library and the example DSS script loads the debug server, finds the processor model and is in the process of opening the DVTserver when it quits with the following error:



    Please advise.
     
    Thanks,
    Mark

  • Mark, Randy,

    This appears to be a problem with CCS5.0.3. but it seems to work fine in CCS5.1 M7. Is moving to CCS5.1M7 and option?

    Regards,

    Imtaz.

  • Imtaz,

       We are currently using the linux version of ccsv5.1.0M7. I do agree that this issue is similar to that in the windows version of 5.0.3 but it is slightly different.Look at the first post on this forum and compare it to the latest just above.

    Thanks,

    Mark

  • Mark,

    We reproduced this problem on 5.1 M7 Linux (Windows works fine). It appears the DVTServer path is not setup correctly in the dss.sh file.

    Please add CLASSPATH=$DEBUGSERVER_ROOT/../dvt/scripting/dvt_scripting.jar:$CLASSPATH before export CLASSPATH in /ccs_base/scripting/bin/dss.sh and let us know if works.

    Thanks,

    Imtaz.

     

  • Imtaz,

       That did the trick!!! :) The example is working fine now on linux.

    Thanks-a-bunch,

    Mark

  •  

    Hi Imtaz,

    I am getting the same issue when I tried to load the simulator. I am using CCS5.1.09-linux.  I tried using your solution stated above,..yet I get this error when I try to load the simulator.

    Configuring Debug Server for specified target...

    Done

    SEVERE: Can not connect to DebugServer. Contract ID "@ti.com/DebugServer1;1" is not registered with XPCOM Runtime.  (0x80004005)

    SEVERE: Could not start server: DebugServer.1: Can not connect to DebugServer. Contract ID "@ti.com/DebugServer1;1" is not registered with XPCOM Runtime.  (0x80004005)

    org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Could not start server: DebugServer.1: Can not connect to DebugServer. Contract ID "@ti.com/DebugServer1;1" is not registered with XPCOM Runtime.  (0x80004005) (/home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/scripting/examples/loadti/main.js#164)

            at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1705)

            at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:157)

            at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:201)

            at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:74)

            at org.mozilla.javascript.gen.c1._c4(/home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/scripting/examples/loadti/main.js:164)

            at org.mozilla.javascript.gen.c1.call(/home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/scripting/examples/loadti/main.js)

            at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:106)

            at org.mozilla.javascript.gen.c1._c0(/home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/scripting/examples/loadti/main.js:9)

            at org.mozilla.javascript.gen.c1.call(/home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/scripting/examples/loadti/main.js)

            at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:337)

            at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2755)

            at org.mozilla.javascript.gen.c1.call(/home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/scripting/examples/loadti/main.js)

            at org.mozilla.javascript.gen.c1.exec(/home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/scripting/examples/loadti/main.js)

            at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:500)

            at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:422)

            at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:388)

            at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:379)

            at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:176)

            at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:97)

            at org.mozilla.javascript.Context.call(Context.java:540)

            at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:447)

            at org.mozilla.javascript.tools.shell.Main.exec(Main.java:159)

            at org.mozilla.javascript.tools.shell.Main.main(Main.java:137)

    Caused by: com.ti.ccstudio.scripting.environment.ScriptingException: Could not start server: DebugServer.1: Can not connect to DebugServer. Contract ID "@ti.com/DebugServer1;1" is not registered with XPCOM Runtime.  (0x80004005)

            at com.ti.debug.engine.scripting.DebugServer$SessionFactory.<init>(DebugServer.java:155)

            at com.ti.debug.engine.scripting.DebugServer.openSession(DebugServer.java:1314)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

            at java.lang.reflect.Method.invoke(Unknown Source)

            at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:142)

            ... 21 more

     Please advise.

     

    Thanks

    Khushbu.

  • Khushbu,

    Could you post the output from running ldd on libDebugServer.so (which I believe is in DebugServer/linux/components/ ).


    Darian

  • Hi Darian,

     

    This is the output that I get:

    ldd: warning: you do not have execution permission for `./libDebugServer.so'
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by ./libDebugServer.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./libDebugServer.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./libDebugServer.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../bin/linux_ia32/libtiofr11.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../bin/linux_ia32/libtiofr11.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../../common/bin/libsetup_parser.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../../common/bin/libsetup_parser.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../../common/bin/libti_logger.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../bin/linux_ia32/libXPCOMUtility.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../bin/linux_ia32/libXPCOMUtility.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../../common/bin/libfsutil.so)
    ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../../common/bin/libfsutil.so)
            linux-gate.so.1 =>  (0xffffe000)
            libtiofr11.so => /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../bin/linux_ia32/libtiofr11.so (0xf75d9000)
            libsetup_parser.so => /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../../common/bin/libsetup_parser.so (0xf7368000)
            libti_logger.so => /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../../common/bin/libti_logger.so (0xf733e000)
            libXPCOMUtility.so => /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../bin/linux_ia32/libXPCOMUtility.so (0xf730d000)
            libfsutil.so => /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../../common/bin/libfsutil.so (0xf72a5000)
            libdl.so.2 => /lib/libdl.so.2 (0xf727f000)
            libnspr4.so => /usr/lib/libnspr4.so (0xf7246000)
            libxpcom.so => /usr/lib/xulrunner-1.9.2/libxpcom.so (0xf7241000)
            libxerces-c.so.25 => /home/dsp-tools/linux/ti/ccs5.1.09/ccsv5/ccs_base/DebugServer/linux/components/./../../../common/bin/libxerces-c.so.25 (0xf6ebc000)
            libjvm.so => not found
            librt.so.1 => /lib/librt.so.1 (0xf6eb2000)
            libstdc++.so.6 => /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6 (0xf6de2000)
            libm.so.6 => /lib/libm.so.6 (0xf6db9000)
            libgcc_s.so.1 => /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libgcc_s.so.1 (0xf6db0000)
            libpthread.so.0 => /lib/libpthread.so.0 (0xf6d97000)
            libc.so.6 => /lib/libc.so.6 (0xf6c3d000)
            /lib/ld-linux.so.2 (0x007aa000)
            libxul.so => /usr/lib/xulrunner-1.9.2/libxul.so (0xf551f000)
            libplds4.so => /usr/lib/libplds4.so (0xf551b000)
            libplc4.so => /usr/lib/libplc4.so (0xf5517000)
            libasound.so.2 => /lib/libasound.so.2 (0xf5438000)
            libsqlite3.so => /usr/lib/xulrunner-1.9.2/libsqlite3.so (0xf53ad000)
            libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xf538b000)
            libmozjs.so => /usr/lib/xulrunner-1.9.2/libmozjs.so (0xf5266000)
            libssl3.so => /usr/lib/libssl3.so (0xf5231000)
            libsmime3.so => /usr/lib/libsmime3.so (0xf5209000)
            libnss3.so => /usr/lib/libnss3.so (0xf50e0000)
            libnssutil3.so => /usr/lib/libnssutil3.so (0xf50c7000)
            libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf50be000)
            libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf503e000)
            libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf500f000)
            libz.so.1 => /lib/libz.so.1 (0xf4ffc000)
            libdbus-1.so.3 => /lib/libdbus-1.so.3 (0xf4fbc000)
            libX11.so.6 => /usr/lib/libX11.so.6 (0xf4eb9000)
            libXext.so.6 => /usr/lib/libXext.so.6 (0xf4ea9000)
            libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xf4e7c000)
            libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xf4e3d000)
            libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0xf4dfd000)
            libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0xf4dfa000)
            libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xf4d5c000)
            libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xf49c3000)
            libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xf49a7000)
            libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xf491a000)
            libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xf4902000)
            libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xf48f9000)
            libcairo.so.2 => /usr/lib/libcairo.so.2 (0xf488b000)
            libXt.so.6 => /usr/lib/libXt.so.6 (0xf4833000)
            libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0xf482e000)
            libexpat.so.0 => /lib/libexpat.so.0 (0xf480c000)
            libcap.so.1 => /lib/libcap.so.1 (0xf4808000)
            libXau.so.6 => /usr/lib/libXau.so.6 (0xf4805000)
            libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf47ff000)
            libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xf47fb000)
            libXi.so.6 => /usr/lib/libXi.so.6 (0xf47f3000)
            libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xf47ef000)
            libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xf47e5000)
            libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf47e0000)
            libpng12.so.0 => /usr/lib/libpng12.so.0 (0xf47b9000)
            libSM.so.6 => /usr/lib/libSM.so.6 (0xf47b0000)
            libICE.so.6 => /usr/lib/libICE.so.6 (0xf4796000)

    Thanks

    Khushbu.

     

     

  • Khushbu,

    You need an updated version of libstdc++.so.  Version 3.4.11 or later, which is included in GCC 4.4.5 or later.  How you go about doing that is dependent on what distro you're running, but you can get it standalone from http://gcc.gnu.org/libstdc++/. 

    Darian

  • Actually, we are using the later one:

     

    libstdc++-4.1.2-51.el5
    libstdc++-4.1.2-51.el5
    
     
     Thanks,
    Khushbu.
  • ldd reports: ./libDebugServer.so: /home/dsp-tools/linux/arm/rvds4.1-sp1/RVD/Core/4.1.2/38/linux-pentium/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by ./libDebugServer.so)

    I'm not sure why, but clearly the libstdc++.so that is being picked up is not the correct version.  Is that the location where your newer version is? If not, can you add it to the LD_LIBRARY_PATH ahead of this version?  Or perhaps your newer version is a 64 bit version?  Either way, this is the dependency issue that needs to be resolved.

    Darian

  • I'm investigating the code coverage capabilities of DSS scripting in CCSv5.2.1. I tried to run the supplied example located at: C:\ti\ccsv5\ccs_base\scripting\examples\DVTExamples\javascript_examples and the DVT profile example worked fine.

    However, I couldn’t get coverage data properly. “CoverageProfile_LineCountAnalyser.csv” and “CoverageProfile_FunctionCountAnalyser.csv” was generated, but there are no data. Two terms are changed in “FunctionProfileScript.js” for my simulation.

    1)     FunctionProfile  --> CoverageProfile

    2)     Profile all Functions for CPU Cycles --> Collect Code Coverage and Exclusive Profile Data

     

    Are there any points should be changed?