From: Anders Darander <anders@chargestorm.se>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Unrecognized option while building pseudo (target)
Date: Mon, 8 Aug 2011 13:36:50 +0200 [thread overview]
Message-ID: <20110808113650.GA20162@chargestorm.se> (raw)
Hi,
After updating my work-in-progress to upgrade our internal distro from
oe-dev to oe-core, I got a new problem... (At least new to me, as far as
I remember I didn't have that problem before the vacation. Otoh, my old
build-box is temporarily out of service HW-problems, so this is a new
build environment).
The problem is that my cross-compiler, arm-oe-linux-gnueabi-gcc, do not
recognize the -m32 option, that the pseudo makefile tries to supply.
Short excerpt of the build log, just to show the call to gcc and its
error message:
| arm-oe-linux-gnueabi-gcc -march=armv5te -mno-thumb -mthumb-interwork
-mtune=arm926ej-s
--sysroot=/home/anders/oe-build-core/build-ccu/tmp-eglibc/sysroots/ccu
-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.1.1"' -O2 -g
-L/home/anders/oe-build-core/build-ccu/tmp-eglibc/sysroots/ccu/usr/lib
-I/home/anders/oe-build-core/build-ccu/tmp-eglibc/sysroots/ccu/usr/include
-Wl,-R/home/anders/oe-build-core/build-ccu/tmp-eglibc/sysroots/ccu/usr/lib
-c -o pseudo_tables.o pseudo_tables.c
| cc1: error: unrecognized command line option '-m32'cc1: error:
unrecognized command line option '-m32'cc1: error: unrecognized command
line option '-m32'cc1: error: unrecognized command line option '-m32'
By commenting out the setting of 'CFLAGS_CODE += -m$(BITS)' in
Makefile.in, I can get the build to continue past pseudo.
Any ideas of how I should correctly fix this? Or if I have some other
problem in my environment that could cause such a failure....
Cheers,
Anders
--
Anders Darander
ChargeStorm AB / EStorm AB
next reply other threads:[~2011-08-08 11:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 11:36 Anders Darander [this message]
2011-08-08 15:58 ` Unrecognized option while building pseudo (target) Mark Hatle
2011-08-09 6:30 ` Anders Darander
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=20110808113650.GA20162@chargestorm.se \
--to=anders@chargestorm.se \
--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