Objet : Developers list for StarPU
Archives de la liste
- From: George Russell <george@codeplay.com>
- To: Samuel Thibault <samuel.thibault@ens-lyon.org>, starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Building StarPU on Windows
- Date: Tue, 22 Feb 2011 15:21:35 +0100
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
On 22/02/2011 15:06, Samuel Thibault wrote:
George Russell, le Tue 22 Feb 2011 14:49:01 +0100, a écrit
checking for lib... noSee the comment in configure.ac: it is necessary to get atomic ops. But
checking for pthread_create in -lpthread... no
configure: error: pthread_create unavailable
imac:starpu-0.4 grrussel$ uname -a
Darwin imac.lan 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17
PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
imac:starpu-0.4 grrussel$ less config.log
configure:14824: checking for pthread_create in -lpthread
configure:14849: gcc -o conftest -g -O2 -march=i686 conftest.c
-lpthread>&5
conftest.c:1: error: CPU you selected does not support x86-64
instruction set
configure:14849: $? = 1
It looks like the use of -march with GCC is the problem. I don't think
it is actually necessary, either.
in principle that should get only enabled on i386 (see the case
statement). Is your machine i386 or x86-64, actually? What does your
gcc emit by default, 32bit or 64bit code?
Samuel
Thats a complicated question; I believe the machine is indeed x86-64, and runs a mixture of 32bit and 64bit code (e.g. the OS user land is 64bit, the kernel, not so; various legacy applications (e.g. from OSX 10.5 or before, or those targetting 10.5 and 10.6 are 32bit).
The gcc configuration (and default output?) is shown below: I read that as targetting (compiling to) i686, so generating 32bit code, on an X86-64 host 64bit code host.
imac:~ grrussel$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~105/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)
Cheers,
George
- [Starpu-devel] Building StarPU on Windows, George Russell, 21/02/2011
- <Suite(s) possible(s)>
- Re: [Starpu-devel] Building StarPU on Windows, Samuel Thibault, 21/02/2011
- Re: [Starpu-devel] Building StarPU on Windows, George Russell, 22/02/2011
- Re: [Starpu-devel] Building StarPU on Windows, Samuel Thibault, 22/02/2011
- Re: [Starpu-devel] Building StarPU on Windows, George Russell, 22/02/2011
- Re: [Starpu-devel] Building StarPU on Windows, Samuel Thibault, 22/02/2011
- Re: [Starpu-devel] Building StarPU on Windows, George Russell, 22/02/2011
Archives gérées par MHonArc 2.6.19+.