[U-Boot] build failure on denx top

Po-Yu Chuang ratbert.chuang at gmail.com
Wed Sep 30 07:45:21 CEST 2009


Dear Aggrwal Poonam-B10812,

2009/9/30 Aggrwal Poonam-B10812 <Poonam.Aggrwal at freescale.com>:
>        Hello All,
>
>        On denx tree  master branch , u-boot build is  failing for 83xx
> and 85xx platforms.
>
>        Build log
>        make[1]: Entering directory
> `/project/p1020_swe_nobackup/usr/poonam/p20x0/denx/latest/mirrors.u-boot
> /u-boot/examples/standalone'
>
> /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linu
> x-gnuspe/bin/powerpc-none-linux-gnuspe-gcc -g  -Os   -fPIC -ffixed-r14
> -meabi -D__KERNEL__ -DTEXT_BASE=0xFE000000
> -I/project/p1020_swe_nobackup/usr/poonam/p20x0/denx/latest/mirrors.u-boo
> t/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem
> /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linu
> x-gnuspe/lib/gcc/powerpc-none-linux-gnuspe/4.3.2/include -pipe
> -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC83xx -DCONFIG_E300 -ffixed-r2
> -msoft-float -Wall -Wstrict-prototypes -fno-stack-protector -g  -Os
> -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0xFE000000
> -I/project/p1020_swe_nobackup/usr/poonam/p20x0/denx/latest/mirrors.u-boo
> t/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem
> /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linu
> x-gnuspe/lib/gcc/powerpc-none-linux-gnuspe/4.3.2/include -pipe
> -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC83xx -DCONFIG_E300 -ffixed-r2
> -msoft-float -I.. -Bstatic -T u-boot.lds  -n -Ttext 0xFE000000     -o .c
>        powerpc-none-linux-gnuspe-gcc: 0xFE000000: No such file or
> directory
>        powerpc-none-linux-gnuspe-gcc: no input files
>        make[1]: *** [.c] Error 1
>        make[1]: Leaving directory
> `/project/p1020_swe_nobackup/usr/poonam/p20x0/denx/latest/mirrors.u-boot
> /u-boot/examples/standalone'
>        make: *** [examples/standalone] Error 2
>
>         When I remove the following commit, things work fine.
>
>        From 557555fe0b82940ba7cc69f81d31d6ef4d4933b4 Mon Sep 17
> 00:00:00 2001
>        From: Mike Frysinger <vapier at gentoo.org
> <mailto:vapier at gentoo.org> >
>        Date: Fri, 4 Sep 2009 19:54:45 -0400
>        Subject: [PATCH] standalone: convert to kbuild style
>
>        Clean up the arch/cpu/board/config checks as well as redundant
> setting of
>        srec/bin variables by using the kbuild VAR-$(...) style.
>
>        Signed-off-by: Mike Frysinger <vapier at gentoo.org>
>        I am facing it for   FSL 83xx and 85xx platforms.
>        Is anybody else also seeing this build failure.

Which version is your make? 3.80 or earlier?

I think make-3.81 can solve your problem.

Best regards,
Po-Yu Chuang


More information about the U-Boot mailing list