Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Cc: "Seebach, Peter" <Peter.Seebach@windriver.com>
Subject: Re: pseudo failing with cc1: error: unrecognized command line option '-m32'
Date: Thu, 29 Mar 2012 13:39:43 -0500	[thread overview]
Message-ID: <4F74AC6F.5040009@windriver.com> (raw)
In-Reply-To: <CAGDS+nnR4it2-C0FM1CeJBSakt9HmVizKQSO1wkc5EqxQKh22Q@mail.gmail.com>

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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




  reply	other threads:[~2012-03-29 18:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29 18:30 pseudo failing with cc1: error: unrecognized command line option '-m32' Steve Sakoman
2012-03-29 18:39 ` Mark Hatle [this message]
2012-03-29 18:53   ` Steve Sakoman
     [not found]     ` <20120329135727.16cc3f61@wrlaptop>
2012-03-29 21:24       ` Steve Sakoman
2012-03-30 14:10       ` Steve Sakoman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F74AC6F.5040009@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=Peter.Seebach@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox