[lttng-dev] URCU on the Xeon Phi
Simon Marchi
simon.marchi at polymtl.ca
Sun Nov 15 22:31:47 EST 2015
On 15 November 2015 at 14:58, Michel Dagenais
<michel.dagenais at polymtl.ca> wrote:
> Simon Marchi worked on the Xeon Phi. He should be able to tell you more. Basically the Phi is compatible with older "pentium" presumably a design decision to put simpler cores but more of them. Thus, some of the later additions (e.g., a few specialized instructions) are missing.
Indeed, it was possible at the time to build lttng-tools and lttng-ust
fo the Phi. Since urcu is a dependency of those, it means it was
possible to build it as well.
As Michel said, the serializing instructions used for the regular x86
(mfence?) port are not available on the Phi, so urcu treats it like an
old x86 processor. See:
https://git.lttng.org/?p=urcu.git;a=commit;h=8496c88699ea71aea6a8a244f20df4fcd558ffba
However, I see that you are building with icc and not gcc. I don't
think I have tried that. Would you mind trying to build with the Xeon
Phi's gcc? I think it's called x86_64-k1om-linux-gcc and is bundled
with Intel's MPSS. It's possible that using icc confuses the
architecture auto-detection.
Finally, providing the config.log (you can pastebin it) would help
identify what happens.
Simon
More information about the lttng-dev
mailing list