[Bro] compiling bro with tcmalloc

Keith Lehigh klehigh at iupui.edu
Fri Sep 14 15:40:58 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,
   I'm taking a stab at using tcmalloc with Bro.  I'm running FreeBSD-8.3.  I'v
e got tcmalloc built and installed from gperftools :

$ file /usr/local/lib/libtcmalloc.so.5 
/usr/local/lib/libtcmalloc.so.5: ELF 64-bit LSB shared object, x86-64, version 
1 (FreeBSD), dynamically linked, not stripped

  When I run configure, Bro says it finds GooglePerfTools, but shows "false" fo
r tcmalloc :

- -- Found GooglePerftools: /usr/local/lib/libtcmalloc.so
...
gperftools found:  true
        tcmalloc:  false
       debugging:  false

   When I compile Bro and check to see if tcmalloc is there, ldd doesn't show i
t in the shared libraries.
   Am I misunderstanding something about how Bro is compiling in/using tcmalloc
 or Bro's configure output?

Thanks!

- - Keith
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlBTsnUACgkQW5AQrvjB4meTVACfYoZk4Q1Be7V4PGdxfUg51TJW
3kYAniZGwCRnmadFCCLene/oP4VnKalg
=3PF/
-----END PGP SIGNATURE-----



More information about the Bro mailing list