Dear OpenEmbedded hackers,
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.
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/
automake (GNU automake) 1.10.2 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <[email protected]> and Alexandre Duret-Lutz <[email protected]>. AUTOV is 1.10 NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share/aclocal-1.10 -I /srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share/aclocal autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal -I /srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share/aclocal-1.10 -I /srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share/aclocal --force autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT' autoreconf: running: /srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/bin/autoconf --include=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share/aclocal-1.10 --include=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share/aclocal --force --warnings=cross autoreconf: running: /srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/bin/autoheader --include=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share/aclocal-1.10 --include=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share/aclocal --force --warnings=cross autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross automake: unknown warning category `cross' configure.in:47: installing `./config.guess' configure.in:47: installing `./config.sub' configure.in: installing `./ylwrap' autoreconf: running: gnu-configize autoreconf: Leaving directory `.' NOTE: Running /srv/filme/oe/angstrom-dev/work/x86_64-linux/gmp-native-4.2.4-r0/gmp-4.2.4/configure --build=x86_64-linux --host=x86_64-linux --target=x86_64-linux --prefix=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr --exec_prefix=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr --bindir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/bin --sbindir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/sbin --libexecdir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/libexec --datadir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share --sysconfdir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/etc --sharedstatedir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/com --localstatedir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/var --libdir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/lib --includedir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/include --oldincludedir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/include --infodir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share/info --mandir=/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/share/man ... checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler gcc -isystem/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/include -O2 -isystem/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/include... yes checking for x86_64-linux-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking build system compiler gcc -std=gnu99... yes checking for build system preprocessor... gcc -std=gnu99 -E checking for build system executable suffix... checking whether build system compiler is ANSI... yes checking for build system compiler math library... -lm checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E using ABI="64" CC="gcc -std=gnu99" CFLAGS="-isystem/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/include -O2" CPPFLAGS="-isystem/srv/filme/oe/angstrom-dev/staging/x86_64-linux/usr/include" MPN_PATH=" x86_64 generic" checking for function prototypes... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking whether assembler supports --noexecstack option... yes checking for x86_64-linux-ar... ar checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... ld checking if the linker (ld) is GNU ld... yes checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for x86_64-linux-ar... (cached) ar checking for x86_64-linux-strip... strip checking for x86_64-linux-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking for x86_64-linux-g77... g77 checking whether we are using the GNU Fortran 77 compiler... no checking whether g77 accepts -g... no checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (ld -m elf_i386) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ld used by g++... ld -m elf_i386 checking if the linker (ld -m elf_i386) is GNU ld... yes checking whether the g++ linker (ld -m elf_i386) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (ld -m elf_i386) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... checking if g77 static flag works... no checking if g77 supports -c -o file.o... no checking if g77 supports -c -o file.o... (cached) no checking whether the g77 linker (ld -m elf_i386) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking invent.h usability... no checking invent.h presence... no checking for invent.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking sys/attributes.h usability... no checking sys/attributes.h presence... no checking for sys/attributes.h... no checking sys/iograph.h usability... no checking sys/iograph.h presence... no checking for sys/iograph.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/processor.h usability... no checking sys/processor.h presence... no checking for sys/processor.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking sys/syssgi.h usability... no checking sys/syssgi.h presence... no checking for sys/syssgi.h... no checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/resource.h... yes checking for sys/sysctl.h... yes checking for machine/hal_sysinfo.h... no checking whether fgetc is declared... yes checking whether fscanf is declared... yes checking whether optarg is declared... yes checking whether ungetc is declared... yes checking whether vfprintf is declared... yes checking whether sys_errlist is declared... yes checking whether sys_nerr is declared... yes checking return type of signal handlers... void checking for intmax_t... yes checking for long double... yes checking for long long... yes checking for ptrdiff_t... yes checking for quad_t... yes checking for uint_least32_t... yes checking for preprocessor stringizing operator... yes checking for working volatile... yes checking whether <stdarg.h> exists and works... yes checking whether gcc __attribute__ ((const)) works... yes checking whether gcc __attribute__ ((malloc)) works... yes checking whether gcc __attribute__ ((mode (XX))) works... yes checking whether gcc __attribute__ ((noreturn)) works... yes checking for inline... inline checking for cos in -lm... yes checking for working alloca.h... yes checking for alloca (via gmp-impl.h)... yes checking how to allocate temporary memory... alloca checking whether byte ordering is bigendian... no checking format of `double' floating point... IEEE little endian checking for alarm... yes checking for attr_get... no checking for clock... yes checking for clock_gettime... no checking for cputime... no checking for getpagesize... yes checking for getrusage... yes checking for gettimeofday... yes checking for getsysinfo... no checking for localeconv... yes checking for memset... yes checking for mmap... yes checking for mprotect... yes checking for nl_langinfo... yes checking for obstack_vprintf... yes checking for popen... yes checking for processor_info... no checking for pstat_getprocessor... no checking for raise... yes checking for read_real_time... no checking for sigaction... yes checking for sigaltstack... yes checking for sigstack... yes checking for syssgi... no checking for strchr... yes checking for strerror... yes checking for strnlen... yes checking for strtol... yes checking for strtoul... yes checking for sysconf... yes checking for sysctl... yes checking for sysctlbyname... no checking for times... yes checking for vsnprintf... yes checking whether vsnprintf works... yes checking whether sscanf needs writable input... no checking for struct pst_processor.psp_iticksperclktick... no checking for suitable m4... m4 checking if m4wrap produces spurious output... no checking how to switch to text section... .text checking how to switch to data section... .data checking for assembler label suffix... : checking for assembler global directive... .globl checking for assembler global directive attribute... checking if globals are prefixed by underscore... no checking how to switch to read-only data section... .section .rodata checking for assembler .type directive... .type $1,@$2 checking for assembler .size directive... .size $1,$2 checking for assembler local label prefix... .L checking for assembler byte directive... .byte checking how to define a 32-bit word... .long checking if .align assembly directive is logarithmic... no checking if the .align directive accepts an 0x90 fill in .text... yes checking for unsigned short... yes checking size of unsigned short... 2 checking for unsigned... yes checking size of unsigned... 4 checking for unsigned long... yes checking size of unsigned long... 4 checking for mp_limb_t... yes 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
# Where to store sources
DL_DIR = "${OETREE}/downloads"
INHERIT += " rm_work "
# Make sure you have these installed
ASSUME_PROVIDED += "gdk-pixbuf-csource-native imagemagick-native librsvg-native"
# Which files do we want to parse:
BBFILES := "${OETREE}/openembedded/recipes/*/*.bb"
BBMASK = ""
# What kind of images do we want?
IMAGE_FSTYPES += " tar.bz2 "
# Set TMPDIR instead of defaulting it to $pwd/tmp
TMPDIR = "${OETREE}/${DISTRO}-dev"
# Make use of SMP and fast disks
PARALLEL_MAKE = "-j4"
BB_NUMBER_THREADS = "4"
#tinderbox
#INHERIT += "oestats-client"
OESTATS_BUILDER = "myname"
DISTRO = "angstrom-2008.1"
MACHINE = "beagleboard"
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
