Community
cancel
Showing results for 
Search instead for 
Did you mean: 
54 Views

Calling 32bit apps from 64bit ones

Hi,

our 64bit application has to fork off and exec a 32bit app we only have in 32bit. Currently this fails becuase
the LD_PRELOAD variable is set to a 64bit library that cannot be called.

How to say VTune that it should not profile child processes?
0 Kudos
3 Replies
vprovalo
Beginner
54 Views

Hi, Christoph,

Could you please add some details? Which VTune version do you use, which collector (Callgraph or Sampling) and VTune error output?

54 Views

I use version 9.0 from the vtune_linux_9.0.833.tar.gz package. Sampling does not work as described in another post. Therefore I try the Callgraph collector.

The error message is not from VTune. The application fails with:

error while loading shared libraries: /opt/intel/vtune/rdc/analyzer/bin32/libLauncherPreload.so: cannot open shared object file: No such file or directory


However it seems as if the following script helps:

#!/bin/bash
REALPROGRAM=/path/to/32bit/binary
unset LD_PRELOAD
exec $REALPRPGRAM $*

Maybre VTune should offer an option to do this automatically for selected childs
vprovalo
Beginner
54 Views

Hi Christoph,

Could you please tell, which processor do you use? Because that dll (/opt/intel/vtune/rdc/analyzer/bin32/libLauncherPreload.so) should only be loaded on ia32,but according to your post, profiling is run on EM64T machine.