Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] Patch to disable GCC __builtin_ operations
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-06-09 09:05:30

Josh Hursey, le Thu 09 Jun 2011 14:52:39 +0200, a écrit :
> The odd thing about this environment is that the head node seems to
> have a slightly different setup than the compute nodes (not sure why
> exactly, but that's what it is). So hwloc is configured and runs
> correctly on the head node, but when it is asked to run on the compute
> nodes it segvs at the call site of the __builtin_ functions.

Could you post a disassembly of the site?

> I suspect that the ABI compatibility of the libc interface is what is
> enabling the remainder of the code to work in both environments, and
> that the __builtin_ functions bypass that ABI to put in system
> specific code that (for whatever reason) does not match on the compute
> nodes.

But the odd thing is that there shouldn't be any ABI things here, it's
meant to be inlined.