[Bug 60912] Profiling broken for optimized shared library projects

Craig Scott craig.scott at csiro.au
Wed Jul 9 02:59:02 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=60912     




------- Additional Comments From craig.scott at csiro.au  2003-07-09 02:58 -------
I copied libMyLibDir.so.0 and libWasteTime.so.0 to the same directory as the 
test executable (ie the non-libtool version created by the build) so that the 
non-libtool binary could find them. Ran it but had the same core dump problem. 
 
I also tried a separate build (in fresh directories) where I did all the 
compiling manually: 
 
cd MyLibDir/WasteTime 
g++ -O2 -pg -g3 -fPIC -o libwastetime.so -shared wastetime.cpp 
cd .. 
g++ -O2 -pg -g3 -fPIC -o libmylib.so -shared mylib.cpp 
cd .. 
g++ -O2 -pg -g3 -c main.cpp 
g++ -O2 -pg -g3 main.o MyLibDir/libmylib.so MyLibDir/WasteTime/libwastetime.so 
 
ldd reports that a.out finds the required libraries just fine. However, this 
a.out still causes a core dump as before. Clearly, this is not a KDevelop or 
libtool bug, but probably a gcc thing. Any suggestions where else I should 
report this?




More information about the KDevelop-devel mailing list