linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Build failure on treeboot-walnut.c
@ 2007-09-25 22:46 Grant Likely
  2007-09-26  0:15 ` Josh Boyer
  2007-10-08 21:33 ` Timur Tabi
  0 siblings, 2 replies; 19+ messages in thread
From: Grant Likely @ 2007-09-25 22:46 UTC (permalink / raw)
  To: linuxppc-dev, Paul Mackerras, Josh Boyer

Building Paul's current powerpc branch with a ppc6xx compiler causes
the following build failure:

  SYSMAP  System.map
  BOOTCC  arch/powerpc/boot/treeboot-walnut.o
{standard input}: Assembler messages:
{standard input}:184: Error: Unrecognized opcode: `mfdcr'
{standard input}:185: Error: Unrecognized opcode: `mfdcr'
{standard input}:186: Error: Unrecognized opcode: `mfdcr'
{standard input}:217: Error: Unrecognized opcode: `mtdcr'
make[1]: *** [arch/powerpc/boot/treeboot-walnut.o] Error 1
make: *** [uImage] Error 2

This is using ELDK 4.1:
GNU assembler version 2.16.1 (powerpc-linux) using BFD version 2.16.1
gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: Build failure on treeboot-walnut.c
@ 2008-02-18 15:46 maxime louvel
  0 siblings, 0 replies; 19+ messages in thread
From: maxime louvel @ 2008-02-18 15:46 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]

Kumar Gala wrote:

> $ make V=1

> make ARCH=ppc64 -f scripts/Makefile.build obj=arch/powerpc/boot
> arch/powerpc/boot/uImage powerpc-unknown-linux-gnu-gcc -m32
>- Wp,-MD,arch/powerpc/boot/.treeboot-walnut.o.d -Wall -Wundef
>- Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -Os -msoft-float
-pipe
>- fomit-frame-pointer -fno-builtin -fPIC -nostdinc -isystem
> /_TOOLS_/.dist0/gnu-
gcc-4.0.2-binutils-2.16.1-glibc-2.3.6-e300c2-powerpc-unknown-linux-gnu/i686-
pc-linux2.4/bin/../lib/gcc/powerpc-unknown-linux-gnu/4.0.2/include -
Iarch/powerpc/boot -I/temp/kumar.484/arch/powerpc/boot -mcpu=405 -c -o
> arch/powerpc/boot/treeboot-walnut.o arch/powerpc/boot/treeboot-walnut.c
> Assembler messages:
> Error: Internal assembler error for instruction icbt
> Internal error, aborting at
> /tmp/crosstool/crosstool-0.42/build/powerpc-unknown-linux-gnu/gcc-
4.0.2_e300-enabled-glibc-2.3.6/binutils-2.16.1-complete/gas/config/tc-ppc.c
> line 1314 in ppc_setup_opcodes
> Please report this bug.
> make[1]: *** [arch/powerpc/boot/treeboot-walnut.o] Error 2
> make: *** [uImage] Error 2
>
>ARCH=ppc64?  WTF?  I specifically said ARCH=powerpc on the make command
line.

I have got the exact same problem.
Has the problem been sovled ?

I am trying to compile a 2.6.24 kernel (vanilla + some board specific stuff)
with a vanilla gcc-4.1.2 with the flag -msoft-float.

cheers,
Maxime
-- 
Maxime Louvel
0044 7964 5555 80
43 Allen road
Whitemore reans
WV60AW Wolverhampton
United Kingdom

[-- Attachment #2: Type: text/html, Size: 1657 bytes --]

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

end of thread, other threads:[~2008-02-18 15:46 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25 22:46 Build failure on treeboot-walnut.c Grant Likely
2007-09-26  0:15 ` Josh Boyer
2007-10-08 21:33 ` Timur Tabi
2007-10-09  3:07   ` Build failure on treeboot-walnut.cg David Gibson
2007-10-09 16:06     ` Timur Tabi
2007-10-09 18:52       ` Josh Boyer
2007-10-09 19:14         ` Kumar Gala
2007-10-10  2:35       ` David Gibson
2007-10-11  0:12       ` Paul Mackerras
2007-10-11 20:02         ` Scott Wood
2007-10-09 16:06     ` Scott Wood
2007-10-10  2:35       ` David Gibson
2007-10-09  4:00   ` Build failure on treeboot-walnut.c Grant Likely
2007-10-09 13:30     ` Kumar Gala
2007-10-09 14:44       ` Timur Tabi
2007-10-09 14:51         ` Geert Uytterhoeven
2007-10-09 14:51         ` Kumar Gala
2007-10-09 14:54           ` Timur Tabi
  -- strict thread matches above, loose matches on Subject: below --
2008-02-18 15:46 maxime louvel

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).