[oe] minimo: task do_configure failed

Mark Butsch mbutsch at syntech-fuelmaster.com
Fri Mar 13 15:34:16 UTC 2009


-----Original Message-----
From: openembedded-devel-bounces at lists.openembedded.org
[mailto:openembedded-devel-bounces at lists.openembedded.org] On Behalf Of
Khem Raj
Sent: Thursday, March 12, 2009 1:41 PM
To: openembedded-devel at lists.openembedded.org
Subject: Re: [oe] minimo: task do_configure failed

On Thu, Mar 12, 2009 at 8:02 AM, Mark Butsch
<mbutsch at syntech-fuelmaster.com> wrote:
> Hello,
>
>
>
> I am starting to work with OE again and am having trouble building
> minimo. I had had this working a year ago, but now it fails in
> do_configure:
>

post your config.log stuff somewhere may be a link to your build on
tinderbox

-----------

Here is the config.log :

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:964: checking host system type
configure:985: checking target system type
configure:1003: checking build system type
configure:1078: checking for gawk
configure:1176: checking for nsinstall
configure:1245: checking for host c compiler
configure:1251: checking for gcc
configure:1286: checking for host c++ compiler
configure:1292: checking for c++
configure:1341: checking for ranlib
configure:1376: checking for ar
configure:1411: checking whether the host c compiler (gcc
-isystem/home/ad/mbutsch/4G/tmp/4g/staging/i686-linux/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2
-march=i486 -L/home/ad/mbutsch/4G/tmp/4g/staging/i686-linux/usr/lib
-Wl,-rpath-link,/home/ad/mbutsch/4G/tmp/4g/staging/i686-linux/usr/lib
-Wl,-O1 ) works
configure:1420: gcc -c
-isystem/home/ad/mbutsch/4G/tmp/4g/staging/i686-linux/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2
-march=i486
-isystem/home/ad/mbutsch/4G/tmp/4g/staging/i686-linux/usr/include
conftest.c 1>&5
conftest.c:1: error: CPU you selected does not support x86-64
instruction set
conftest.c:1: error: CPU you selected does not support x86-64
instruction set
configure: failed program was:
#line 1413 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }

------------

I looked at the log.do_configure file and the invocation for the
configure is:

NOTE: make -f client.mk CONFIGURE_ARGS= --build=x86_64-linux
--host=x86_64-linux
 --target=i686-linux  configure

It looked strange to me that the 'build' and 'host' are the same. The
recipe for minimo_cvs has the line:

EXTRA_OECONF += "--build=${BUILD_SYS} --host=${BUILD_SYS}
--target=${TARGET_SYS} "

And uses EXTRA_OECONF when invoking oe_runmake. It seems to me that
'--host' should specify ${HOST_SYS} and if I make that edit, it does
successfully build.


For my education, what are 'build', 'host' and 'target' referring to in
this case?

-	'target' should be the target that is being built for
-	'build' should be the machine that is doing the building
-	'host' not sure?

Mark




More information about the Openembedded-devel mailing list