From: kenneth johansson <kenneth@southpole.se>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Linker scripts, SEARCH_DIR and host directories
Date: Thu, 10 Apr 2008 22:40:17 +0200 [thread overview]
Message-ID: <1207860017.8774.36.camel@duo> (raw)
In-Reply-To: <f75c52840804101234s7363d926n92e78bd4993fc2f9@mail.gmail.com>
On Thu, 2008-04-10 at 20:34 +0100, Richard Danter wrote:
> Hi all,
>
> Using a new toolchain I am seeing the following warnings at the final
> link stage of U-Boot:
>
> warning: library search path "/lib" is unsafe for cross-compilation
> warning: library search path "/usr/lib" is unsafe for cross-compilation
> warning: library search path "/usr/local/lib" is unsafe for cross-compilation
>
> Looking further I can see in the u-boot.lds scripts that SEARCH_DIR is
> specifying each of these directories. I am unsure why a cross-compiled
> bootloader would specify that the linker should look in the hosts
> directories for libraries.
>
> Can anyone explain this?
>
> Thanks
> Rich
You should delete that from the linker script. There is several scripts
that has this error it's not needed and wrong as you suspected.
prev parent reply other threads:[~2008-04-10 20:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 19:34 [U-Boot-Users] Linker scripts, SEARCH_DIR and host directories Richard Danter
2008-04-10 20:40 ` kenneth johansson [this message]
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=1207860017.8774.36.camel@duo \
--to=kenneth@southpole.se \
--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