New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21504 (closed defect: fixed)

Opened 2 years ago

Last modified 14 months ago

google-perftools does not build/install libprofiler on Snow Leopard

Reported by: lminder@… Owned by: brett@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: google-perftools

Description

On Snow Leopard, google-perftools does not install the libprofiler library, so the package can't be used for profiling.

One problem here is that it tries to include /usr/include/ucontext.h, which no longer works without -D_XOPEN_SOURCE.

I tried adding -D_XOPEN_SOURCE to both cflags and cxxflags, and then the library is built and installed, but crashes when I try to actually use it (as CPU-profiler, at least).

Change History

Changed 2 years ago by lminder@…

  • cc lminder@… added

Cc Me!

Changed 2 years ago by jmr@…

  • cc lminder@… removed
  • owner changed from macports-tickets@… to brett@…

Changed 14 months ago by jmr@…

Is this still a problem with 1.5?

Changed 14 months ago by jmr@…

  • status changed from new to closed
  • resolution set to fixed

Version 1.5 installs libprofiler.

Note: See TracTickets for help on using tickets.