profileing apache,mod_ssl, openssl, with -a -g

James Harris jharris@vislab.ucr.edu
Thu Nov 30 00:06:00 GMT 2000


Im attempting to profile apache with modssl,openssl-engine, using a
Rainbow (cswift) card.  I have been able to use the -a switch on the
openssl application and generate a basic block profile while using the
hardware card. After configuring apache and adding -g -a to the CFLAGS1
in each Makefile, I was able to recompile the server. Now when I start the
server it immedatly gives a bus error signal. gdb says the signal was in
__bb_init_func(). When I use stepi instead of step in gdb I can sometimes
get through  the __bb_init_func(). 

Im using FreeBSD 4.1 
gcc 2.95.2
apache 1.3.14
modssl 2.7.1-1.3.14
openssl-engine-0.9.6

Is there a known bug in the code -a generates? I cant use -pg isnt an
option the hardware card doesnt come with source (.so only) and openssl
uses its own DSO code. 

                	James Harris 
		Department of Electrical Engineering 
		University of California, Riverside
   jharris<at>ee.ucr.edu               jharris<at>cs.ucr.edu



More information about the Gcc-bugs mailing list