Source: u-boot
Version: 2010.12-2
Severity: wishlist
Tags: patch

Hi,

u-boot FTBFS on sh7785lcr board.
When user built outside source directory, this fail in build 
by deficiency of Makefile.

http://buildd.debian-ports.org/fetch.php?pkg=u-boot&arch=sh4&ver=2010.12-2&stamp=1295830546&file=log&as=raw
-----
gcc -g  -Os   -ffixed-r13 -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8FF80000 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include2
 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include
 -I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/include 
-fno-builtin -ffreestanding -nostdinc -isystem 
/usr/lib/gcc/sh4-linux-gnu/4.4.5/include -pipe  -DCONFIG_SH -D__SH__ -m4-nofpu 
-Wall -Wstrict-prototypes -fno-stack-protector -g  -Os   -ffixed-r13 
-D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8FF80000 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include2
 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include
 -I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/include 
-fno-builtin -ffreestanding -nostdinc -isystem 
/usr/lib/gcc/sh4-linux-gnu/4.4.5/include -pipe  -DCONFIG_SH -D__SH__ -m4-nofpu  
-c -o sh7785lcr.o sh7785lcr.
 c
gcc -g  -Os   -ffixed-r13 -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8FF80000 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include2
 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include
 -I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/include 
-fno-builtin -ffreestanding -nostdinc -isystem 
/usr/lib/gcc/sh4-linux-gnu/4.4.5/include -pipe  -DCONFIG_SH -D__SH__ -m4-nofpu 
-Wall -Wstrict-prototypes -fno-stack-protector -g  -Os   -ffixed-r13 
-D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8FF80000 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include2
 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include
 -I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/include 
-fno-builtin -ffreestanding -nostdinc -isystem 
/usr/lib/gcc/sh4-linux-gnu/4.4.5/include -pipe  -DCONFIG_SH -D__SH__ -m4-nofpu  
-c -o selfcheck.o selfcheck.
 c
gcc -g  -Os   -ffixed-r13 -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8FF80000 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include2
 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include
 -I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/include 
-fno-builtin -ffreestanding -nostdinc -isystem 
/usr/lib/gcc/sh4-linux-gnu/4.4.5/include -pipe  -DCONFIG_SH -D__SH__ -m4-nofpu 
-Wall -Wstrict-prototypes -fno-stack-protector -g  -Os   -ffixed-r13 
-D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8FF80000 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include2
 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include
 -I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/include 
-fno-builtin -ffreestanding -nostdinc -isystem 
/usr/lib/gcc/sh4-linux-gnu/4.4.5/include -pipe  -DCONFIG_SH -D__SH__ -m4-nofpu  
-c -o rtl8169_mac.o rtl8169_
 mac.c
gcc  -g  -Os   -ffixed-r13 -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8FF80000 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include2
 
-I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/debian/build/sh7785lcr_32bit/include
 -I/build/buildd-u-boot_2010.12-2-sh4-q7El8f/u-boot-2010.12/include 
-fno-builtin -ffreestanding -nostdinc -isystem 
/usr/lib/gcc/sh4-linux-gnu/4.4.5/include -pipe  -DCONFIG_SH -D__SH__ -m4-nofpu  
-c -o lowlevel_init.o lowlevel_init.S
lowlevel_init.S: Assembler messages:
lowlevel_init.S:32: Error: unknown opcode
lowlevel_init.S:33: Error: unknown opcode
lowlevel_init.S:36: Error: unknown opcode
lowlevel_init.S:39: Error: unknown opcode
lowlevel_init.S:40: Error: unknown opcode
-----

I attached the patch which revised this bug.
This patch was already sent to upstream and applied in sh repository.
  http://patchwork.ozlabs.org/patch/81624/

Best regards,
  Nobuhiro

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to