From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 27 Jan 2011 11:58:47 +0100 Subject: [U-Boot] Build error with the master branch In-Reply-To: References: Message-ID: <20110127105847.E61B6B335@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jason Liu, In message you wrote: > Hi, There, > > I met an error when building on the latest master branch of uboot, the > error as the following, > > arm-none-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8 > -msoft-float -D__KERNEL__ > -DCONFIG_SYS_TEXT_BASE=0x97800000 -I/home/r64343/work_space/u-boot-upstream > /u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem > /opt/freescale/usr/local/ > gcc-4.3.3-glibc-2.8-cs2009q1-203/gcc-4.3.3-glibc-2.8-cs2009q1-203/arm-none-linux-gnueabi/bin > /../lib/gcc/arm-none-linux-gnueabi/4.3.3/include -pipe -DCONFIG_ARM > -D__ARM__ -marm > -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall > -Wstrict-prototypes -fno-stack-protector > -fno-toplevel-reorder -o stubs.o stubs.c -c > arm-none-linux-gnueabi-ld -pie -r -o libstubs.o stubs.o > arm-none-linux-gnueabi-ld: -r and -shared may not be used together > make[2]: *** [libstubs.o] Error 1 > make[2]: Leaving directory > `/home/r64343/work_space/u-boot-upstream/u-boot/examples/standalone' > make[1]: *** [examples/standalone] Error 2 > make[1]: Leaving directory `/home/r64343/work_space/u-boot-upstream/u-boot' > make: *** [mx51evk] Error 2 > > I found this error is related with the following commit: > > commit 8aba9dceebb14144e07d19593111ee3a999c37fc > > Are you aware of that? Thanks for reporting. Added the author of this commit on Cc: Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A memorandum is written not to inform the reader, but to protect the writer. -- Dean Acheson