Josh Hursey, le Wed 08 Jun 2011 22:28:53 +0200, a écrit :
> I hit a problem when installing hwloc statically on a machine with a
> slightly different gcc support libraries and OSs on the head/compile
> node versus the compute nodes. The builtin functions would cause hwloc
> to segfault when run on the compute nodes. By disabling the builtin
> operations, and using the more portable techniques seemed to do the
> trick.
This is very odd. How does it segfault exactly? Unless you are (or
your distribution is) using an -march=something option, gcc is not
supposed to produce code which can not be run on another machine.
Samuel
|