Opened 15 years ago

Closed 13 years ago

#21504 closed defect (fixed)

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 (4)

comment:1 Changed 15 years ago by lminder@…

Cc: lminder@… added

Cc Me!

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: lminder@… removed
Owner: changed from macports-tickets@… to brett@…

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Is this still a problem with 1.5?

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Version 1.5 installs libprofiler.

Note: See TracTickets for help on using tickets.