[#6605] cannot compile u-boot with latest stable toolchain 2010R1-RC2

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

[#6605] cannot compile u-boot with latest stable toolchain 2010R1-RC2

Submitted By: Chris Page

Open Date

2011-05-17 14:30:36     Close Date

2011-05-17 19:57:07

Priority:

Medium     Assignee:

Nobody

Category:

Make     Fixed In Release:

N/A

Found In Release:

2010R1     Status:

Closed

Board:

N/A     Processor:

BF537

Silicon Revision:

0.3     Resolution:

Rejected

Is the bug repeatable?:

yes     

Summary: cannot compile u-boot with latest stable toolchain 2010R1-RC2

Details:

 

Hi

 

I get the following output

 

builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.3.5/include -pipe  -DCONFIG_BLACKFIN --gc-sections -m elf32bfin -Bstatic -T u-boot.lds   u-boot.lds.S   -o u-boot.lds

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.3.5/../../../../bfin-uclinux/bin/as: unrecognized option '-T'

cc1: error: unrecognized command line option "-m"

cc1: error: unrecognized command line option "-fgc-sections"

cc1: error: too many filenames given.  Type cc1 --help for usage

make[2]: *** [u-boot.lds] Error 2

make[2]: Leaving directory `/home/cmd/cmd/next-gen/blackfin-sources/u-boot-2010.06-2010R1-RC2/board/bf537-tft_spi'

make[1]: *** [board/bf537-tft_spi/libbf537-tft_spi.a] Error 2

make[1]: Leaving directory `/home/cmd/cmd/next-gen/blackfin-sources/u-boot-2010.06-2010R1-RC2'

 

trying to compile u-boot with the latest stable toolchain found on the debain-based distro (I am currently running ubuntu 10.10 64-bit)

 

I have successfully compiled 2009R1 on the same computer

 

Thanks

 

Chris

 

Follow-ups

 

--- Mike Frysinger                                           2011-05-17 14:36:36

most likely your board config.mk or board Makefile is wrong.  please start a new

thread in the u-boot forum with the relevant files.

 

--- Chris Page                                               2011-05-17 19:34:16

Thanks Mike

 

You were correct, I had added an include that was not necessary in this u boot

version in my Makefile.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes