[#6809] build uboot tools fails when running toolchain buildscript now

Document created by Aaronwu Employee on Sep 26, 2013
Version 1Show Document
  • View in full screen mode

[#6809] build uboot tools fails when running toolchain buildscript now

Submitted By: Mingquan Pan

Open Date

2011-10-09 22:46:53     Close Date

2011-10-11 05:14:49

Priority:

Medium     Assignee:

Sonic Zhang

Category:

N/A     Fixed In Release:

2011R1

Found In Release:

2011R1     Status:

Closed

Board:

N/A     Processor:

BF537

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: build uboot tools fails when running toolchain buildscript now

Details:

 

build uboot tools fails when running toolchain buildscript after uboot update lately.

 

*** Installed libmudflap.so (0.0.0.4.3.5)                   01 Oct 2011 16:03:59

*** Installed libgfortran.so (3.0.0.4.3.5)                  01 Oct 2011 16:03:59

*** linux-headers: cleaning                                 01 Oct 2011 16:03:59

*** U-Boot: building helper tools (2011.09)                 01 Oct 2011 16:03:59

*** U-Boot: cleaning                                        01 Oct 2011 16:03:59

*** U-Boot: building                                        01 Oct 2011 16:03:59

 

Backtrace:  (most recent call is first)

   #0: File: funcs.sh               Line:  168   Function: die_with_log

       Args:

   #1: File: BuildToolChain         Line: 1079   Function: run_cmd

       Args: 'make' '-C' '/home/test/work/cruise/checkouts/u-boot' 'O=/home/test/work/cruise/temp/u-boot_build' 'CONFIG_CMD_NET=y' 'tools'

   #2: File: BuildToolChain         Line: 1618   Function: build_uboot

       Args:

 

Please report an error to http://blackfin.uclinux.org/gf/project/toolchain

Build error at Sat Oct  1 16:04:01 CST 2011

  occurred 1h55m18s into script

When reporting issue, we may ask for /home/test/work/cruise/temp/logs/config.logs.tbz2

Last logfile entries:

/home/test/work/cruise/temp/bfin-linux-uclibc/bfin-linux-uclibc/bin/ld: fde encoding in .libs/thr-objc.o(.eh_frame) prevents .eh_frame_hdr table being created.

/home/test/work/cruise/temp/bfin-linux-uclibc/bfin-linux-uclibc/bin/ld: fde encoding in .libs/thr-objc.o(.eh_frame) prevents .eh_frame_hdr table being created.

/home/test/work/cruise/temp/bfin-linux-uclibc/bfin-linux-uclibc/bin/ld: fde encoding in .libs/thr-objc.o(.eh_frame) prevents .eh_frame_hdr table being created.

/home/test/work/cruise/temp/bfin-linux-uclibc/bfin-linux-uclibc/bin/ld: fde encoding in .libs/exception.o(.eh_frame) prevents .eh_frame_hdr table being created.

/home/test/work/cruise/temp/bfin-linux-uclibc/bfin-linux-uclibc/bin/ld: fde encoding in .libs/exception.o(.eh_frame) prevents .eh_frame_hdr table being created.

In file included from /home/test/work/cruise/checkouts/u-boot/include/version.h:27,

                 from mkimage.c:26:

/home/test/work/cruise/checkouts/u-boot/include/timestamp.h:27:37: error: timestamp_autogenerated.h: No such file or directory

make[1]: *** [/home/test/work/cruise/temp/u-boot_build/tools/mkimage.o] Error 1

make: *** [tools] Error 2

 

Failed to build the toolchain in toolchain-2011_Oct_01_14_03 . exit!

 

                                                                                    

 

Follow-ups

 

--- Sonic Zhang                                              2011-10-10 04:00:31

I have no problem on ubuntu.

Please run following command on your building PC.

 

LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"'

 

If this fails, timestamp_autogenerated.h is not generated.

 

--- Mingquan Pan                                             2011-10-10 04:24:41

It can run correctly on the regression machine which build toolchain fails at

u-boot.

 

test@40-bf537-toolchain:~/work/cruise/test_scripts/toolchain/toolchain-build>

LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"'

#define U_BOOT_DATE "Oct 10 2011"

 

it looks this issue is much like the bug [6673] which also fails after uboot

updating.

 

--- Mike Frysinger                                           2011-10-10 20:25:23

upstream posted some fixes for this which i've pushed into trunk.  please sync

up and try again.

 

--- Mingquan Pan                                             2011-10-11 05:18:07

yes, the toolchain building can pass through u-boot staff now.

So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes