[Pvfs2-developers] ppc64 compile problems?

kyle schochenmaier kschoche at scl.ameslab.gov
Tue Nov 21 00:16:04 EST 2006


On Nov 20, 2006, at 11:31 PM, Robert Latham wrote:

> On Mon, Nov 20, 2006 at 11:09:48PM -0500, kyle schochenmaier wrote:
>> when compiling the latest 2.6.0 release on our ppc64 box I get the
>> following:
>> did I mess up the configure or something?
>>
>>   $ ./configure --with-openib=/usr --with-openib-libs=/usr/local/lib
>> --with-kern
>> el=/usr/src/linux-2.6
>
> This ppc64 box.. what distribution is it?  Are you building with a
> bi-arch toolchain, or one that is pure 64 bit?
>
debian distro.   As long as hozer hasnt changed anything, I should be  
building pure 64, we(I) had issues cross compiling pvfs2 on this box  
this summer and I thought things were moved back to pure 64.
> Since PVFS_handle isn't getting the right type, I suspect a
> configure-time issue.  If you are using a biarch toolchain, did you
> pass the '-m64' option to CFLAGS and LDFLAGS?
>
tried this, and it got upset even doing the base `make`..  Same types  
of errors.

To answer Murali's question:
No problems compiling on x86_64.  although I did notice a warning:
   LD [M]  /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2.ko
   CC            src/apps/kernel/linux/pvfs2-client-core.o
src/apps/kernel/linux/pvfs2-client-core.c: In function  
'process_vfs_requests':
src/apps/kernel/linux/pvfs2-client-core.c:2904: warning:  
dereferencing type-punned pointer will break strict-aliasing rules

I'll have hozer decided the compiling stuff if he ever comes back  
from SC....

+=Kyle

> ==rob
>
> -- 
> Rob Latham
> Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
> Argonne National Lab, IL USA                 B29D F333 664A 4280 315B
>
>



More information about the Pvfs2-developers mailing list