All of lore.kernel.org
 help / color / mirror / Atom feed
* pseudo failing with cc1: error: unrecognized command line option '-m32'
@ 2012-03-29 18:30 Steve Sakoman
  2012-03-29 18:39 ` Mark Hatle
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Sakoman @ 2012-03-29 18:30 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Peter Seebach

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pseudo failing with cc1: error: unrecognized command line option '-m32'
  2012-03-29 18:30 pseudo failing with cc1: error: unrecognized command line option '-m32' Steve Sakoman
@ 2012-03-29 18:39 ` Mark Hatle
  2012-03-29 18:53   ` Steve Sakoman
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Hatle @ 2012-03-29 18:39 UTC (permalink / raw)
  To: openembedded-core; +Cc: Seebach, Peter

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pseudo failing with cc1: error: unrecognized command line option '-m32'
  2012-03-29 18:39 ` Mark Hatle
@ 2012-03-29 18:53   ` Steve Sakoman
       [not found]     ` <20120329135727.16cc3f61@wrlaptop>
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Sakoman @ 2012-03-29 18:53 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Seebach, Peter

On Thu, Mar 29, 2012 at 11:39 AM, Mark Hatle <mark.hatle@windriver.com> wrote:
> 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...)

Yes, I figured it would be interesting to see what would happen with
task-self-hosted on arm :-)

Clearly not something a sane person would do . . .

Steve

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pseudo failing with cc1: error: unrecognized command line option '-m32'
       [not found]     ` <20120329135727.16cc3f61@wrlaptop>
@ 2012-03-29 21:24       ` Steve Sakoman
  2012-03-30 14:10       ` Steve Sakoman
  1 sibling, 0 replies; 5+ messages in thread
From: Steve Sakoman @ 2012-03-29 21:24 UTC (permalink / raw)
  To: Peter Seebach; +Cc: Patches and discussions about the oe-core layer

On Thu, Mar 29, 2012 at 11:57 AM, Peter Seebach
<peter.seebach@windriver.com> wrote:
> On Thu, 29 Mar 2012 11:53:23 -0700
> Steve Sakoman <sakoman@gmail.com> wrote:
>
>> Clearly not something a sane person would do . . .
>
> Now that is a persuasive argument in favor of making it work if I've
> ever heard one!
>
> I'm doing too many things right now to fix this, but if you want to try
> to fix it, I'd be interested in seeing patches.

I did a simple patch to omit the -m option on arm.

The package now builds without error -- haven't run tested it yet . . .

Steve



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pseudo failing with cc1: error: unrecognized command line option '-m32'
       [not found]     ` <20120329135727.16cc3f61@wrlaptop>
  2012-03-29 21:24       ` Steve Sakoman
@ 2012-03-30 14:10       ` Steve Sakoman
  1 sibling, 0 replies; 5+ messages in thread
From: Steve Sakoman @ 2012-03-30 14:10 UTC (permalink / raw)
  To: Peter Seebach; +Cc: Patches and discussions about the oe-core layer

On Thu, Mar 29, 2012 at 11:57 AM, Peter Seebach
<peter.seebach@windriver.com> wrote:
> On Thu, 29 Mar 2012 11:53:23 -0700
> Steve Sakoman <sakoman@gmail.com> wrote:
>
>> Clearly not something a sane person would do . . .
>
> Now that is a persuasive argument in favor of making it work if I've
> ever heard one!
>
> I'm doing too many things right now to fix this, but if you want to try
> to fix it, I'd be interested in seeing patches.

FWIW, this patch:

http://www.sakoman.com/cgi-bin/gitweb.cgi?p=poky.git;a=commitdiff;h=e8fb8258707e798828d033fc8e1c051a27d4c0ed

Gives the following results at runtime:

root@omap3-multi:~/pseudo-1.3# ./run_tests.sh -v
test-chroot: Passed.
test-dir-move: Passed.
test-env_i: Passed.
test-execl: Passed.
test-pseudo_disable-fork-env_i: Failed.
test-pseudo_disable-fork: Failed.
test-pseudo_unload-fork-env_i: Failed.
test-pseudo_unload-fork: Failed.
test-reexec-chroot: Passed.
5/9 test(s) passed.

I don't have a lot of time to debug this today, but if you have any
ideas I am happy to try them!

Steve



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-30 14:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 18:30 pseudo failing with cc1: error: unrecognized command line option '-m32' Steve Sakoman
2012-03-29 18:39 ` Mark Hatle
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.