Dear OpenEmbedded hackers,
Am Sonntag, den 15.11.2009, 20:03 +0100 schrieb Paul Menzel:
> I am trying to build Ångström following [1]. But
>
> $ bitbake base-image
>
> fails when working with gmp-native.
>
> ERROR: function do_configure failed
> ERROR: see log in
> /oe/angstrom-dev/work/x86_64-linux/gmp-native-4.2.4-r0/temp/log.do_configure.29183
> NOTE: Task failed:
> /oe/angstrom-dev/work/x86_64-linux/gmp-native-4.2.4-r0/temp/log.do_configure.29183
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of /oe/openembedded/recipes/gmp/gmp-native_4.2.4.bb
> do_configure failed
> ERROR: Task 1273 (/oe/openembedded/recipes/gmp/gmp-native_4.2.4.bb,
> do_configure) failed
> NOTE: Waiting for 3 active tasks to finish
> NOTE: 1: /oe/openembedded/recipes/gettext/gettext-native_0.17.bb,
> do_configure (29189)
> NOTE: 2: /oe/openembedded/recipes/zlib/zlib-native_1.2.3.bb,
> do_configure (12652)
> NOTE: 3: /oe/openembedded/recipes/pkgconfig/pkgconfig-native_0.23.bb,
> do_configure (12447)
> NOTE: Waiting for 2 active tasks to finish
> NOTE: 1: /oe/openembedded/recipes/gettext/gettext-native_0.17.bb,
> do_configure (29189)
> NOTE: 2: /oe/openembedded/recipes/pkgconfig/pkgconfig-native_0.23.bb,
> do_configure (12447)
> NOTE: Waiting for 1 active tasks to finish
> NOTE: 1: /oe/openembedded/recipes/gettext/gettext-native_0.17.bb,
> do_configure (29189)
> NOTE: Tasks Summary: Attempted 539 tasks of which 0 didn't need to be
> rerun and 1 failed.
> ERROR: '/oe/openembedded/recipes/gmp/gmp-native_4.2.4.bb' failed
>
> The log [2] – also attached – shows
>
> checking size of mp_limb_t... 4
> configure: error: Oops, mp_limb_t is 32 bits, but the assembler code
> in this configuration expects 64 bits.
> You appear to have set $CFLAGS, perhaps you also need to tell GMP the
> intended ABI, see "ABI and ISA" in the manual.
> FATAL: oe_runconf failed
>
> The exact same happens for gmp-native 4.3.1. blindvt send me the recipes for
> this.
>
> Could someone enlighten me please, what I am missing.
>
> local.conf is attached and all other files related to gmp-native.
>
> $ git branch
> * stable/2009
>
> HEAD fdfedf718dd484607f1b1b839e5e9608406e02e4
>
> I am using Debian unstable and MACHINE = "beagleboard".
>
> I think the problem is that I am running a 64-bit Linux kernel with a
> 32-bit userspace.
>
> $ uname -r
> 2.6.31-1-amd64
> $ dpkg --print-architecture
> i386
>
> But running `./.bootstrap` and `./configure` on a normal gmplib checkout
> [3] does not return any errors, so it must be OpenEmbedded related, must
> not it?
>
> Please tell me, if you need other information.
I did some more testing and the same problem exists in the branch
org.openembedded.dev where gmp 4.2.4 is also present.
1. Is there a maintainer for GMP in OpenEmbedded? I did not find an
entry in MAINTAINERS [4].
2. Running `./configure` with the flags in the log file
$ ./configure --build=x86_64-linux
--host=x86_64-linux --target=x86_64-linux
--prefix=/srv/oe/angstrom-dev/staging/x86_64-linux/usr
--exec_prefix=/srv/oe/angstrom-dev/staging/x86_64-linux/usr
--bindir=/srv/oe/angstrom-dev/staging/x86_64-linux/usr/bin
--sbindir=/srv/oe/angstrom-dev/staging/x86_64-linux/usr/sbin
--libexecdir=/srv/oe/angstrom-dev/staging/x86_64-linux/usr/libexec
--datadir=/srv/oe/angstrom-dev/staging/x86_64-linux/usr/share
--sysconfdir=/srv/oe/angstrom-dev/staging/x86_64-linux/etc
--sharedstatedir=/srv/oe/angstrom-dev/staging/x86_64-linux/com
--localstatedir=/srv/oe/angstrom-dev/staging/x86_64-linux/var
--libdir=/srv/oe/angstrom-dev/staging/x86_64-linux/usr/lib
--includedir=/srv/oe/angstrom-dev/staging/x86_64-linux/usr/include
--oldincludedir=/srv/oe/angstrom-dev/staging/x86_64-linux/usr/include
--infodir=/srv/oe/angstrom-dev/staging/x86_64-linux/usr/share/info
--mandir=/srv/oe/angstrom-dev/staging/x86_64-linux/usr/share/man
in the upstream source and in the temporary directory for build Ångström
`angstrom-dev/work/x86_64-linux/gmp-native-4.2.4-r0.1/gmp-4.2.4` works
without problem.
[…]
checking if the assembler takes cl with shldl... yes
checking size of unsigned short... 2
checking size of unsigned... 4
checking size of unsigned long... 4
checking size of mp_limb_t... 4
checking for stack_t... yes
checking for tputs in -lncurses... yes
[…]
How do find out what other flags are passed during the BitBake run or
what environment variables are set, so that I can test the upstream copy
with these settings?
Thanks,
Paul
> [1] http://www.angstrom-distribution.org/building-ångström
> [2] oe/angstrom-dev/work/x86_64-linux/gmp-native-4.2.4-r0/temp$ less
> log.do_configure.29183
> [3] hg clone http://gmplib.org:8000/gmp-4.3/
[4] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/MAINTAINERS
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
