[OE-core] psuedo-native strangeness on 64 bit build machine

Steve Sakoman sakoman at gmail.com
Wed Feb 29 04:35:49 UTC 2012


I did a clean build on an Ubuntu 64 bit build machine a couple of days
ago with no issues.

After a pull of today I did an image build for an OMAP3 machine and
encountered an issue with psuedo-native.

First I got this familiar message:

Pseudo is not present but is required, building this first before the main build

which seemed a bit strange since pseudo was built in the previous
clean build.  The build proceeded until task 75 and then failed with
the following error:

NOTE: Running task 75 of 77 (ID: 6,
virtual:native:/home/steve/source/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.2.bb,
do_compile)
NOTE: package pseudo-native-1.2-r5: task do_compile: Started
ERROR: Function failed: do_compile (see
/media/data/yocto/tmp/work/x86_64-linux/pseudo-native-1.2-r5/temp/log.do_compile.32657
for further information)
ERROR: Logfile of failure stored in:
/media/data/yocto/tmp/work/x86_64-linux/pseudo-native-1.2-r5/temp/log.do_compile.32657
Log data follows:
| ERROR: Function failed: do_compile (see
/media/data/yocto/tmp/work/x86_64-linux/pseudo-native-1.2-r5/temp/log.do_compile.32657
for further information)
| SQLite header for version 3007010 found.
| NOTE: make -j 4 -e MAKEFLAGS= libpseudo
| ccache gcc -isystem/media/data/yocto/tmp/sysroots/x86_64-linux/usr/include
-O2 -pipe -pipe -std=gnu99 -Wall -W -Wextra -fPIC
-D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE -m32
-DPSEUDO_PREFIX='"/media/data/yocto/tmp/sysroots/x86_64-linux/usr"'
-DPSEUDO_SUFFIX='""' -DPSEUDO_BINDIR='"bin"'
-DPSEUDO_LIBDIR='"lib/pseudo/lib"'
-DPSEUDO_LOCALSTATEDIR='"var/pseudo"' -DPSEUDO_VERSION='"1.2"' -O2 -g
-L/media/data/yocto/tmp/sysroots/x86_64-linux/usr/lib
-I/media/data/yocto/tmp/sysroots/x86_64-linux/usr/include
-Wl,-R/media/data/yocto/tmp/sysroots/x86_64-linux/usr/lib -shared -o
lib/pseudo/lib/libpseudo.so \
| 		pseudo_client.o pseudo_ipc.o \
| 		pseudo_wrappers.o pseudo_tables.o pseudo_util.o -ldl -lpthread
| /usr/bin/ld: i386:x86-64 architecture of input file
`pseudo_client.o' is incompatible with i386 output
| /usr/bin/ld: i386:x86-64 architecture of input file `pseudo_ipc.o'
is incompatible with i386 output
| /usr/bin/ld: i386:x86-64 architecture of input file
`pseudo_wrappers.o' is incompatible with i386 output
| /usr/bin/ld: i386:x86-64 architecture of input file
`pseudo_tables.o' is incompatible with i386 output
| /usr/bin/ld: i386:x86-64 architecture of input file `pseudo_util.o'
is incompatible with i386 output
| /usr/bin/ld: final link failed: Invalid operation
| collect2: ld returned 1 exit status
| make: *** [lib/pseudo/lib/libpseudo.so] Error 1
| ERROR: oe_runmake failed
NOTE: package pseudo-native-1.2-r5: task do_compile: Failed
ERROR: Task 6 (virtual:native:/home/steve/source/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.2.bb,
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 75 tasks of which 74 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:
  virtual:native:/home/steve/source/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.2.bb,
do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Has anyone else been successful building on 64 bit machines?

I see no issues on my 32 bit build machines.

Forcing a clean build of pseudo (by hand, since -c cleansstate
obviously won't work with pseudo-native!) resulted in a good build,
both of psuedo-native and the image.

Any ideas?

Steve




More information about the Openembedded-core mailing list