From: James Kosin <jkosin@intcomgrp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Linker Error with binutils-2.21
Date: Fri, 28 Jan 2011 09:40:23 -0500 [thread overview]
Message-ID: <4D42D557.3020607@intcomgrp.com> (raw)
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
next reply other threads:[~2011-01-28 14:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-28 14:40 James Kosin [this message]
2011-01-28 14:49 ` [U-Boot] Linker Error with binutils-2.21 James Kosin
2011-01-28 16:29 ` Albert ARIBAUD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D42D557.3020607@intcomgrp.com \
--to=jkosin@intcomgrp.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox