Le 21/11/2010 20:03, Christopher Samuel a écrit :
> On 22/11/10 05:45, Christopher Samuel wrote:
> > I'll try applying the same patch to the x86-64 build and doing
> > a --enable-debug build there and compare them.
> Looking at the strace and the source seems to show that
> both builds enter the look_powerpc_device_tree() function
> (they both access proc/device-tree/cpus) but then on the
> PPC system it doesn't look any further, whilst on x86-64
> it continues happily to look through the rest of the contents
> of the extracted tar file.
You might want to add some printf in hwloc_opendir like I did with
hwloc_access in my debug patch.
I am fixing gather-topology to include empty directories in the tarball
and the linux code to not use sysfs when the topology directory is
empty. Debugging will be a bit mort clear then.