[PCM] building OS X driver fails

[PCM] building OS X driver fails

Danilcha D commented on the Intel PCM article::

Hello!

Could you please help me?

I was building the OS X driver and it failed:
Check dependencies
[BEROR]error: There is no SDK with the name or path '.../IntelPerformanceCounterMonitorV2.8/MacMSRDriver/macosx10.8'

I'm on OS X Mavericks (10.9.5), XCode 6.2.

I'm posting this to the forum, hoping that some of the Apple user can answer it.

Kind regards

Thomas

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Thank you, Thomas!

I did it as described in https://software.intel.com/en-us/forums/topic/533393 — changed in Xcode SDK to 10.9 and removed the search path.

Caught a kernel panic in the driver then after running pcm.x for a minute.

Hello Danicha,

Also see https://software.intel.com/en-us/comment/1822905#comment-1822905

In particular:

I also had to comment out the call to freeRMID() in the PCM::cleanup() routine in cpucounters.cpp.
If freeRMID() is not commented out then my Mac crashes when I hit control-C while running pcm.x. I believe that the next version of PCM will avoid calling freeRMID() on systems which don't have the RMID MSRs.

 

Leave a Comment

Please sign in to add a comment. Not a member? Join today