[GEM-dev] Re: [PD-dev] oprofile - streamlining Pd/gem patch
B. Bogart
ben at ekran.org
Tue May 16 16:33:43 CEST 2006
Thanks Johannes,
So I changed "STRIP ?= strip" to "STRIP ?= echo"
oprofile still seems unable to see any gem symbols, it only shows me pd
functions.
qprof is really useless for some reason:
% qprof -o profile -g function ~/pd-stuff/pd-0.38-4/bin/pd -open unified9.pd
patch runs for a while and then freezes (gemwin stops updating, and the
CPU usage for PD drops to 0%.) qprof just sits there and I have to
manually kill pd (control C).
the STDERR from qprof says:
% cat profile
qprof: Ignoring sigaction(27, ...)
blech.
How can I test if my binary is striped or not? here is end of the gem build:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16
-funroll-loops -ffast-math -mmmx -I/usr/X11R6/include
-I/usr/include/ffmpeg -I/usr/include/quicktime -I/usr/include/avifile-0.7
-I/usr/include/freetype2 -I.. -I/usr/include/FTGL
-I/usr/include/freetype2 GEMglViewport.cpp -o GEMglViewport.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16
-funroll-loops -ffast-math -mmmx -I/usr/X11R6/include
-I/usr/include/ffmpeg -I/usr/include/quicktime -I/usr/include/avifile-0.7
-I/usr/include/freetype2 -I.. -I/usr/include/FTGL
-I/usr/include/freetype2 GEMgluPerspective.cpp -o GEMgluPerspective.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16
-funroll-loops -ffast-math -mmmx -I/usr/X11R6/include
-I/usr/include/ffmpeg -I/usr/include/quicktime -I/usr/include/avifile-0.7
-I/usr/include/freetype2 -I.. -I/usr/include/FTGL
-I/usr/include/freetype2 GLdefine.cpp -o GLdefine.o
make[1]: Leaving directory `/home/bbogart/pd-stuff/Gem.current/src/openGL'
g++ -o Gem.pd_linux -shared -Wl,-export-dynamic -L/usr/X11R6/lib
Base/*.o Controls/*.o Geos/*.o Manips/*.o MarkEx/*.o Nongeos/*.o
Particles/*.o Pixes/*.o openGL/*.o -ldv -lavformat -lmpeg -lmpeg3
-lquicktime -ljpeg -ltiff -lGLU -lGL -lXext -lXxf86vm -lXext -lX11 -ldl
-lz -lm -L/usr/X11R6/lib -lpthread -lGLU -lGL -lfreetype -lz -lftgl
-laviplay -L/usr/lib -lquicktime -lgthread -lz -ldl
bbogart at insitu:~/pd-stuff/Gem.current/src$ sudo cp Gem.pd_linux
/usr/lib/pd/extra/Gem.pd_linux
+ sudo cp Gem.pd_linux /usr/lib/pd/extra/Gem.pd_linu
Thanks,
.b.
On Tue, May 16, 2006 9:27 am, IOhannes m zmoelnig said:
> B. Bogart wrote:
>> Hi Johannes,
>>
>> When I do: autoconf && ./configure && vi Make.config
>>
>> I only see the following lines containing "[sS][tT][rR][iI][pP]":
>>
>> STRIP_UNNEEDED ?= --strip-unneeded
>> STRIP ?= strip
>>
>> So I'll comment those out and see what happens.
>>
>
> uncommenting is a not-so-good idea.
>
> try
> ~> STRIP=echo make
> without(!) editing the Make.config
>
>
> (or alternatively change the line "STRIP ?= strip" to "STRIP ?= echo" --
> actually that is what i meant by "replacing the STRIP-command with
> 'echo'")
>
> mfg.asdr.
> IOhannes
>
More information about the GEM-dev
mailing list