[OE-core] pseudo failing with cc1: error: unrecognized command line option '-m32'

Mark Hatle mark.hatle at windriver.com
Thu Mar 29 18:39:43 UTC 2012


It appears you are trying to build pseudo for the target right?

We've not really validated pseudo on non-x86 hosts.  I'm guessing a patch to 
remove the -m32/-m64 hard coded flags may be necessary.

(I've cc'd the pseudo maintainer...)

--Mark

On 3/29/12 1:30 PM, Steve Sakoman wrote:
> The pseudo build fails on both 32 and 64 bit build machines.  I am
> building for arm (omap).
>
> Not sure if this is related to the recent pseudo recipes changes, but
> here are the details:
>
> NOTE: package pseudo-1.3-r7: task do_compile: Started
> ERROR: Function failed: do_compile (see
> /media/Work/yocto/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/pseudo-1.3-r7/temp/log.do_compile.26657
> for further information)
> ERROR: Logfile of failure stored in:
> /media/Work/yocto/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/pseudo-1.3-r7/temp/log.do_compile.26657
> Log data follows:
> | ERROR: Function failed: do_compile (see
> /media/Work/yocto/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/pseudo-1.3-r7/temp/log.do_compile.26657
> for further information)
> | SQLite header for version 3007010 found.
> | NOTE: make -j 8 -e MAKEFLAGS=
> | mkdir -p lib/pseudo/lib
> | ./makewrappers
> | ./maketables enums/*.in
> | mkdir -p bin
> | enums/msg_type.in: type: msg_type_t (prefix 'PSEUDO_MSG_ENUM')
> |    ping               shutdown           op                 ack
> |    nak
> |
> | enums/op.in: type: op_t (prefix 'OP_ENUM')
> |    chdir              chmod              chown              chroot
> |    close              creat              dup                fchmod
> |    fchown             fstat              link               mkdir
> |    mknod              open               rename             stat
> |    unlink             symlink            exec               may-unlink
> |    did-unlink         cancel-unlink
> |
> | enums/query_field.in: type: query_field_t (prefix 'PSQF_ENUM')
> |    access             client             dev                fd
> |    ftype              gid                id                 inode
> |    mode               op                 order              path
> |    perm               program            result             severity
> |    stamp              tag                text               type
> |    uid
> |
> | enums/query_type.in: type: query_type_t (prefix 'PSQT_ENUM')
> |   extra column: sql (default 'LITTLE BOBBY TABLES')
> |    exact              less               greater            bitand
> |    notequal           like               notlike            sqlpat
> |
> | enums/res.in: type: res_t (prefix 'RESULT_ENUM')
> |    succeed            fail               error
> |
> | enums/sev.in: type: sev_t (prefix 'SEVERITY_ENUM')
> |    debug              info               warn               error
> |    critical
> |
> | Writing datatypes... done.  Cleaning up.
> | ccache arm-poky-linux-gnueabi-gcc  -march=armv7-a
> -fno-tree-vectorize     -mthumb-interwork -mfloat-abi=softfp
> -mfpu=neon -mtune=cortex-a8
> --sysroot=/media/Work/yocto/tmp/sysroots/omap4-multi -O2 -pipe -g
> -feliminate-unused-debug-types -pipe -std=gnu99 -Wall -W -Wextra -fPIC
> -D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE -m32 -DPSEUDO_PREFIX='"/usr"'
> -DPSEUDO_SUFFIX='""' -DPSEUDO_BINDIR='"bin"'
> -DPSEUDO_LIBDIR='"lib/pseudo/lib"'
> -DPSEUDO_LOCALSTATEDIR='"var/pseudo"' -DPSEUDO_VERSION='"1.3"' -O2 -g
> -L/media/Work/yocto/tmp/sysroots/omap4-multi/usr/lib
> -I/media/Work/yocto/tmp/sysroots/omap4-multi/usr/include
> -Wl,-R/media/Work/yocto/tmp/sysroots/omap4-multi/usr/lib -c -o
> pseudo_tables.o pseudo_tables.c
> | cc1: error: unrecognized command line option '-m32'
> | make: *** [pseudo_tables.o] Error 1
> | make: *** Waiting for unfinished jobs....
> | Checking for old/new clone mechanics...New clone.
> | ports/common/wrapfuncs.in: .......
> | ports/linux/wrapfuncs.in:
> .............................................................
> | ports/unix/wrapfuncs.in:
> .........................................................
> | ports/uids_generic/wrapfuncs.in: ........................
> | ports/linux/newclone/wrapfuncs.in: .
> | Writing functions... Warning: lchown from linux overriding unix
> | done.  Cleaning up.
> | ERROR: oe_runmake failed
> NOTE: package pseudo-1.3-r7: task do_compile: Failed
> ERROR: Task 7 (/home/sakoman/source/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.3.bb,
> do_compile) failed with exit code '1'
>
> Steve
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





More information about the Openembedded-core mailing list