public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Linker Error with binutils-2.21
@ 2011-01-28 14:40 James Kosin
  2011-01-28 14:49 ` James Kosin
  0 siblings, 1 reply; 3+ messages in thread
From: James Kosin @ 2011-01-28 14:40 UTC (permalink / raw)
  To: u-boot

NOTICE:

The new binutils-2.21 is not allowing -r -shared to be used together. 
I'd have to look at the options; but, I've attached a log below with the
error.

James Kosin

--- Log ---
> make[1]: Entering directory `/home/jkosin/git/u-boot/examples/standalone'
> arm-eabi-gcc  -g  -Os   -fno-common -ffixed-r8 -msoft-float 
> -D__KERNEL__ -DCONF
> IG_SYS_TEXT_BASE=0x10000000 -I/home/jkosin/git/u-boot/include
> -fno-builtin -ffre
> estanding -nostdinc -isystem
> /home/jkosin/opt/armThumb-4.5.0/lib/gcc/arm-eabi/4.
> 5.2/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux
> -mno-thumb-in
> terwork -march=armv4 -Wall -Wstrict-prototypes -fno-stack-protector
> -fno-topleve
> l-reorder   -o hello_world.o hello_world.c -c
> arm-eabi-gcc  -g  -Os   -fno-common -ffixed-r8 -msoft-float 
> -D__KERNEL__ -DCONF
> IG_SYS_TEXT_BASE=0x10000000 -I/home/jkosin/git/u-boot/include
> -fno-builtin -ffre
> estanding -nostdinc -isystem
> /home/jkosin/opt/armThumb-4.5.0/lib/gcc/arm-eabi/4.
> 5.2/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux
> -mno-thumb-in
> terwork -march=armv4 -Wall -Wstrict-prototypes -fno-stack-protector
> -fno-topleve
> l-reorder   -o stubs.o stubs.c -c
> arm-eabi-ld  -pie -r -o libstubs.o  stubs.o
> arm-eabi-ld: -r and -shared may not be used together
> make[1]: *** [libstubs.o] Error 1
> make[1]: Leaving directory `/home/jkosin/git/u-boot/examples/standalone'
> make: *** [examples/standalone] Error 2

-- 
James Kosin
Senior Software Engineer

International Communications Group, Inc.
230 Pickett's Line
Newport News, Virginia  23603

Phone: +1 (757) 947-1030 x 122
Fax:   +1 (757) 947-1035

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-28 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-28 14:40 [U-Boot] Linker Error with binutils-2.21 James Kosin
2011-01-28 14:49 ` James Kosin
2011-01-28 16:29   ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox