RE: build is broken

2008-02-04 Thread Bizhan Gholikhamseh (bgholikh)
 

 -Original Message-
 From: Scott Wood [mailto:[EMAIL PROTECTED] 
 Sent: Monday, February 04, 2008 8:52 AM
 To: Bizhan Gholikhamseh (bgholikh)
 Cc: linuxppc-embedded@ozlabs.org
 Subject: Re: build is broken
 
 On Fri, Feb 01, 2008 at 03:23:21PM -0800, Bizhan Gholikhamseh 
 (bgholikh) wrote:
AS  .tmp_kallsyms2.o
LD  vmlinux
SYSMAP  System.map
SYSMAP  .tmp_System.map
BOOTCC  arch/powerpc/boot/treeboot-walnut.o
  Assembler messages:
  Error: Internal assembler error for instruction icbt 
 Internal error, 
  aborting at 
  
 /usr/src/RPM/BUILD/crosstool/source/binutils-2.15/gas/config/tc-ppc.c
  line 1300 in ppc_setup_opcodes
  Please report this bug.
 
 Try using a newer toolchain.
 
 -Scott

Thanks Scott, 
That did it, I upgraded the toolchain to the 4.1 and worked fine.

Thanks again,
Bizhan 
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


Re: build is broken

2008-02-04 Thread Scott Wood
On Fri, Feb 01, 2008 at 03:23:21PM -0800, Bizhan Gholikhamseh (bgholikh) wrote:
   AS  .tmp_kallsyms2.o
   LD  vmlinux
   SYSMAP  System.map
   SYSMAP  .tmp_System.map
   BOOTCC  arch/powerpc/boot/treeboot-walnut.o
 Assembler messages:
 Error: Internal assembler error for instruction icbt
 Internal error, aborting at
 /usr/src/RPM/BUILD/crosstool/source/binutils-2.15/gas/config/tc-ppc.c
 line 1300 in ppc_setup_opcodes
 Please report this bug.

Try using a newer toolchain.

-Scott
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


build is broken

2008-02-01 Thread Bizhan Gholikhamseh (bgholikh)
Hi 
I just downloaded the latest source tree from :
git://www.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git

I am using gnu cross compiler version 3.4.3. I get the an awk and
assmbeler error.

Please help me out. Thanks

$ mailto:[EMAIL PROTECTED]  make ARCH=powerpc
CROSS_COMPILE=powerpc-linux-gnu- uImage
awk: cmd. line:1: (FILENAME=- FNR=2) fatal: attempt to access field -1
  CHK include/linux/version.h
  CHK include/linux/utsrelease.h
  CALLscripts/checksyscalls.sh
  CHK include/linux/compile.h
  CALLarch/powerpc/kernel/systbl_chk.sh
  LD  vmlinux.o
  MODPOST vmlinux.o
WARNING: vmlinux.o(.meminit.text+0x9f8): Section mismatch in reference
from the function free_area_init_node() to the function
.init.text:__alloc_bootmem_node()
The function __meminit free_area_init_node() references
a function __init __alloc_bootmem_node().
If free_area_init_node is only used by __alloc_bootmem_node then
annotate free_area_init_node with a matching annotation.
 
  AS  .tmp_kallsyms2.o
  LD  vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  BOOTCC  arch/powerpc/boot/treeboot-walnut.o
Assembler messages:
Error: Internal assembler error for instruction icbt
Internal error, aborting at
/usr/src/RPM/BUILD/crosstool/source/binutils-2.15/gas/config/tc-ppc.c
line 1300 in ppc_setup_opcodes
Please report this bug.
make[1]: *** [arch/powerpc/boot/treeboot-walnut.o] Error 2
make: *** [uImage] Error 2

___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Re: build is broken

2008-02-01 Thread Josh Boyer
On Fri, 1 Feb 2008 15:23:21 -0800
Bizhan Gholikhamseh (bgholikh) [EMAIL PROTECTED] wrote:

 Hi 
 I just downloaded the latest source tree from :
 git://www.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git
 
 I am using gnu cross compiler version 3.4.3. I get the an awk and
 assmbeler error.
 
 Please help me out. Thanks
 
 $ mailto:[EMAIL PROTECTED]  make ARCH=powerpc
 CROSS_COMPILE=powerpc-linux-gnu- uImage
 awk: cmd. line:1: (FILENAME=- FNR=2) fatal: attempt to access field -1
   CHK include/linux/version.h
   CHK include/linux/utsrelease.h
   CALLscripts/checksyscalls.sh
   CHK include/linux/compile.h
   CALLarch/powerpc/kernel/systbl_chk.sh
   LD  vmlinux.o
   MODPOST vmlinux.o
 WARNING: vmlinux.o(.meminit.text+0x9f8): Section mismatch in reference
 from the function free_area_init_node() to the function
 .init.text:__alloc_bootmem_node()
 The function __meminit free_area_init_node() references
 a function __init __alloc_bootmem_node().
 If free_area_init_node is only used by __alloc_bootmem_node then
 annotate free_area_init_node with a matching annotation.
  
   AS  .tmp_kallsyms2.o
   LD  vmlinux
   SYSMAP  System.map
   SYSMAP  .tmp_System.map
   BOOTCC  arch/powerpc/boot/treeboot-walnut.o
 Assembler messages:
 Error: Internal assembler error for instruction icbt
 Internal error, aborting at
 /usr/src/RPM/BUILD/crosstool/source/binutils-2.15/gas/config/tc-ppc.c
 line 1300 in ppc_setup_opcodes
 Please report this bug.
 make[1]: *** [arch/powerpc/boot/treeboot-walnut.o] Error 2
 make: *** [uImage] Error 2

I have no idea why you would get that if you have a properly built
toolchain.  Can you do a fresh compile with V=1 set?

josh
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


RE: build is broken

2008-02-01 Thread Bizhan Gholikhamseh (bgholikh)

 -Original Message-
 From: Josh Boyer [mailto:[EMAIL PROTECTED] 
 Sent: Friday, February 01, 2008 7:24 PM
 To: Bizhan Gholikhamseh (bgholikh)
 Cc: linuxppc-embedded@ozlabs.org
 Subject: Re: build is broken
 
 On Fri, 1 Feb 2008 15:23:21 -0800
 Bizhan Gholikhamseh (bgholikh) [EMAIL PROTECTED] wrote:
 
  Hi
  I just downloaded the latest source tree from :
  git://www.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git
  
  I am using gnu cross compiler version 3.4.3. I get the an awk and 
  assmbeler error.
  
  Please help me out. Thanks
  
  $ mailto:[EMAIL PROTECTED]  make ARCH=powerpc
  CROSS_COMPILE=powerpc-linux-gnu- uImage
  awk: cmd. line:1: (FILENAME=- FNR=2) fatal: attempt to 
 access field -1
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALLscripts/checksyscalls.sh
CHK include/linux/compile.h
CALLarch/powerpc/kernel/systbl_chk.sh
LD  vmlinux.o
MODPOST vmlinux.o
  WARNING: vmlinux.o(.meminit.text+0x9f8): Section mismatch 
 in reference 
  from the function free_area_init_node() to the function
  .init.text:__alloc_bootmem_node()
  The function __meminit free_area_init_node() references a function 
  __init __alloc_bootmem_node().
  If free_area_init_node is only used by __alloc_bootmem_node then 
  annotate free_area_init_node with a matching annotation.
   
AS  .tmp_kallsyms2.o
LD  vmlinux
SYSMAP  System.map
SYSMAP  .tmp_System.map
BOOTCC  arch/powerpc/boot/treeboot-walnut.o
  Assembler messages:
  Error: Internal assembler error for instruction icbt 
 Internal error, 
  aborting at 
  
 /usr/src/RPM/BUILD/crosstool/source/binutils-2.15/gas/config/tc-ppc.c
  line 1300 in ppc_setup_opcodes
  Please report this bug.
  make[1]: *** [arch/powerpc/boot/treeboot-walnut.o] Error 2
  make: *** [uImage] Error 2
 
 I have no idea why you would get that if you have a properly 
 built toolchain.  Can you do a fresh compile with V=1 set?
 
 josh

I did the fresh build with V=1. I still get the same awk error and the
compile's last line output:
  powerpc-linux-gnuspe-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
/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.4.3-e500-glibc-2.3.3-s
pe/lib/gcc/powerpc-linux-gnuspe/3.4.3/include -Iarch/powerpc/boot
-I/home/bizhan/PPC/arch/powerpc/boot
-I/home/bizhan/PPC/arch/powerpc/boot/libfdt -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
/usr/src/RPM/BUILD/crosstool/source/binutils-2.15/gas/config/tc-ppc.c
line 1300 in ppc_setup_opcodes
Please report this bug.
make[1]: *** [arch/powerpc/boot/treeboot-walnut.o] Error 2
make: *** [uImage] Error 2

Any help greatly apprieciated.

Thanks,
Bizhan
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


[PATCH] ppc32: Mark boards that don't build as BROKEN

2005-07-27 Thread Kumar Gala
Marked APUS and GEMINI as BROKEN since they do not build at the platform
level.  We have requested that the maintainers of these boards/platforms
fix them by the time 2.6.15 is released or we plan on concerning them
unmaintained and thus removing them.

Signed-off-by: Kumar Gala kumar.gala at freescale.com

---
commit 08b693c5a82934788fdedbe5a6f9bc5fc67118e4
tree d9e1a5932246a8d376f14f5f6d62c601370a13f8
parent a287e1a2f397c7c4aeba88169b413500bd642fcc
author Kumar K. Gala kumar.gala at freescale.com Wed, 27 Jul 2005 10:51:06 
-0500
committer Kumar K. Gala kumar.gala at freescale.com Wed, 27 Jul 2005 10:51:06 
-0500

 arch/ppc/Kconfig |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig
--- a/arch/ppc/Kconfig
+++ b/arch/ppc/Kconfig
@@ -529,6 +529,7 @@ config PPC_MULTIPLATFORM
 
 config APUS
bool Amiga-APUS
+   depends on BROKEN
help
  Select APUS if configuring for a PowerUP Amiga.
  More information is available at:
@@ -606,6 +607,7 @@ config PAL4
 
 config GEMINI
bool Synergy-Gemini
+   depends on BROKEN
help
  Select Gemini if configuring for a Synergy Microsystems' Gemini
  series Single Board Computer.  More information is available at: