freeon-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeon-users] cross-compile?


From: Nicolas Bock
Subject: Re: [Freeon-users] cross-compile?
Date: Thu, 21 Jan 2010 08:10:16 -0700

Hi Jeff,

the configure script fails when it tries to run a short test program produced by the compilers it identified. We had put that test in so we can verify that the optimization flags we add to the compiler command line are actually working. While this is possibly a good idea when target and host are the same, it now seems a little bit questionable when cross compiling.

I am surprised though that you can't get past this test in configure when you enter PPC32 emulation mode. How do you use this emulation mode? Maybe the script does not run in PPC32 mode for some reason?

I will have to rethink this part of the configure script a little. In the meantime, we can hopefully get past the test in emulation mode.

nick



On Thu, Jan 21, 2010 at 01:11, Jeff Hammond <address@hidden> wrote:
I am trying to build FreeON on BlueGene/P.  The front-end is PPC64 and
the back-end is PPC32 with extra instructions.  Hence, when configure
attempts to execute back-end code on the front-end, it fails due to
illegal instructions in the F77 test code.  The config.log is
attached.

Usually --host=powerpc-bgp-linux fixes the cross-compile issue in
configure.  Using PPC32 emulation on the front-end did not help,
either in configure or with the isolated F77 test code build and
execution.  I am configuring as follows.

./configure FC=mpixlf95_r F77=mpixlf77_r CC=mpixlc_r
--prefix=/home/jhammond/FreeON/freeon-1.0-alpha-2010-01-14-build
--host=powerpc-bgp-linux --enable-MPI

If you need/want machine-access, it can be arranged.

Thanks,

Jeff

--
Jeff Hammond
Argonne Leadership Computing Facility
address@hidden / (630) 252-5381
http://www.linkedin.com/in/jeffhammond


reply via email to

[Prev in Thread] Current Thread [Next in Thread]