linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "L. Puneeth Rao" <puneeth_l@roc.co.in>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Problem cross-compiling for MPC860T on x86 host
Date: Mon, 20 Oct 2003 10:01:12 -0700	[thread overview]
Message-ID: <5.2.0.9.0.20031020095633.0271dec0@172.16.15.10> (raw)


Greetings All,
         I have a MPC860T evaluation board, and i would like to load
linux2.4 kernel. For this i have used a x86 system as host machine and
followed the procedure prescribed in
http://penguinppc.org/embedded/cross-compiling/. i have obtained 2.4.18
kernel sources and applied the suggested patch ppc-patch-2.4.18 and
additional tools used are gcc-core-3.3.1 and binutils-2.11.90.0.8.  Upon
executing make zImage i found the following errors. it is only one type of
error repeated over and over.
         kindly suggest some way out. TIA
with regards,
Puneeth

  make zImage
powerpc-linux-gcc -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -D__powerpc__ -fsigned-char -msoft-float
-pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
-mcpu=860   -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
/usr/src/linux/include/asm/unistd.h: In function `do_linuxrc':
/usr/src/linux/include/asm/unistd.h:413: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:413: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h: In function `prepare_namespace':
/usr/src/linux/include/asm/unistd.h:416: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:416: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h: In function `init':
/usr/src/linux/include/asm/unistd.h:413: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:413: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h: In function `write':
/usr/src/linux/include/asm/unistd.h:408: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:408: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h: In function `read':
/usr/src/linux/include/asm/unistd.h:409: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:409: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h: In function `lseek':
/usr/src/linux/include/asm/unistd.h:410: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:410: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h: In function `execve':
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:412: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h: In function `open':
/usr/src/linux/include/asm/unistd.h:413: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:413: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h: In function `waitpid':
/usr/src/linux/include/asm/unistd.h:416: error: asm-specifier for variable
`__sc_4' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:416: error: asm-specifier for variable
`__sc_5' conflicts with asm clobber list
/usr/src/linux/include/asm/unistd.h:416: confused by earlier errors,
bailing out
make: *** [init/main.o] Error 1


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2003-10-20 17:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20 17:01 L. Puneeth Rao [this message]
2003-10-20  9:09 ` Problem cross-compiling for MPC860T on x86 host Magnus Damm
2003-10-21 15:33   ` Matthew S. McClintock
2003-10-21 16:24     ` Dan Kegel

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=5.2.0.9.0.20031020095633.0271dec0@172.16.15.10 \
    --to=puneeth_l@roc.co.in \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).