Topic
  • 3 replies
  • Latest Post - ‏2011-10-15T00:02:29Z by SystemAdmin
aleksandr_b
aleksandr_b
2 Posts

Pinned topic Quantify: Error: Did not find function name for the function....

‏2011-10-10T19:01:00Z |
Hello,
we are getting this error when running quantify'd binary on RHEL 4 Linux OS:
Quantify: Error: Did not find function name for the function at pc == 0x2aa08ebce8

We did not have any problems with RHEL 3, though.
Quasntify version used is: => quantify -version
Version 7.0.1 091008 Linux

What could cause such an error when going from RHEL 3 to RHEL 4?
Any help is appreciated.

Thank you
Alex
Updated on 2011-10-15T00:02:29Z at 2011-10-15T00:02:29Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    2948 Posts

    Re: Quantify: Error: Did not find function name for the function....

    ‏2011-10-11T17:50:37Z  
    Hi Alex,

    1. Is your application built with debug information? (For example, the -g option
    when compiling with gcc?)

    2. The version of PurifyPlus that you're using is over 3 years old, BUT it should
    work fine with RHEL 4 (up to RHEL 4.8). What compiler version are you using?
    PurifyPlus 7.0.1 supports up through gcc/g++ 4.4.

    3. When you moved from RHEL 3 to RHEL 4, did you completely reinstall PurifyPlus?
    Or did you at least clear out the Purify cache directory and re-instrument
    everything from scratch?

    Regards,
    Don
  • aleksandr_b
    aleksandr_b
    2 Posts

    Re: Quantify: Error: Did not find function name for the function....

    ‏2011-10-14T17:12:58Z  
    Hi Alex,

    1. Is your application built with debug information? (For example, the -g option
    when compiling with gcc?)

    2. The version of PurifyPlus that you're using is over 3 years old, BUT it should
    work fine with RHEL 4 (up to RHEL 4.8). What compiler version are you using?
    PurifyPlus 7.0.1 supports up through gcc/g++ 4.4.

    3. When you moved from RHEL 3 to RHEL 4, did you completely reinstall PurifyPlus?
    Or did you at least clear out the Purify cache directory and re-instrument
    everything from scratch?

    Regards,
    Don
    Hi Don,
    1) yes, we are using -g option.
    2) We are using gcc 3.4.
    3) I think this was done when moving to RHEL4.

    Thank you
    Alex
  • SystemAdmin
    SystemAdmin
    2948 Posts

    Re: Quantify: Error: Did not find function name for the function....

    ‏2011-10-15T00:02:29Z  
    Hi Don,
    1) yes, we are using -g option.
    2) We are using gcc 3.4.
    3) I think this was done when moving to RHEL4.

    Thank you
    Alex
    Hi Alex,

    Without more detail, it's very difficult to diagnose this problem. Based
    on the fact that everything was working on RHEL 3, we would certainly
    expect everything to continue working on RHEL4 and RHEL5. For starters,
    I would recommend re-building your Quantify'd application using the
    -force-rebuild option. This forces everything to be reinstrumented and
    ensures that everything in your Quantify cache directory is built with the
    same version of the Quantify instrumentation engine. For example:

    % quantify -force-rebuild gcc -g foo.c ...

    Regards,
    Don