[oe] [RFC, PATCH, resend] gmp: assign --target to --host to avoid configure error

Paul Menzel paulepanter at users.sourceforge.net
Fri Oct 15 15:00:49 UTC 2010


Am Donnerstag, den 14.10.2010, 10:24 -0400 schrieb Ben Gardiner:
> When trying to build angstrom-2008.1 from
> f58a5d59b755bdb725497f574a8059529c134c27 of master or from
> b78fc95424b5f0fb28246e8c61bb8b4d6a9d733a of stable/2009 the builds failed on
> gmp-native (then later gmp). The error was that "--target is not appropriate
> for GMP".
> 
> To avoid the error printed by the following code snippet from configure.in:
> 
> configure.in:
> "
> if test -n "$target_alias" && test "$target_alias" != "$host_alias"; then
>   AC_MSG_ERROR([--target is not appropriate for GMP
> Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system
> explicitly.  Use --host if cross-compiling (see "Installing GMP" in the
> manual for more on this).])
> fi
> "
> 
> this patch assigns the value of the '--target' argument to the value of the
> '--host' argument.
> 
> Tested by 'bitbake gmp' and 'bitbake gmp-native'

I tried to build `gmp-native` without your patch and it worked for me
with `minimal` (eglibc) for `MACHINE = "beagleboard"`. Is there a
difference how things are handled between distributions?

[…]


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101015/337a1647/attachment-0002.sig>


More information about the Openembedded-devel mailing list