From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] undefined reference to `environment'
Date: Thu, 14 Sep 2017 00:29:11 +0200 [thread overview]
Message-ID: <20170914002911.640a3e88@windsurf> (raw)
In-Reply-To: <CAEGM6awrP7UoxLKUf2egRZFkFCYUojPG24X2LJdPKm2Ayew1EQ@mail.gmail.com>
Hello,
On Tue, 29 Aug 2017 17:18:24 -0400, Tom Rini wrote:
> > env/embedded.o is missing in the link. It is added to extra-y by:
> >
> > extra-$(CONFIG_ENV_IS_IN_FLASH) += embedded.o
> >
> > I dumped extra-y right after this line, and it does contain embedded.o.
> > However, it does not get added to the link stage.
> >
> > Why is this an extra-$() rather than an obj-$() ?
>
> So there's something extra funny going on in the linking. See
> https://patchwork.ozlabs.org/patch/806263/ which I have included, but
> haven't been able to push out.
How did you end up solving this problem? As I said, I don't think
https://patchwork.ozlabs.org/patch/806263/ is the correct solution.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-09-13 22:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-28 22:59 [U-Boot] undefined reference to `environment' Joe Hershberger
2017-08-29 20:16 ` Simon Glass
2017-08-29 20:20 ` Thomas Petazzoni
2017-08-29 20:50 ` Thomas Petazzoni
2017-08-29 21:18 ` Tom Rini
2017-08-29 22:07 ` Thomas Petazzoni
2017-08-30 1:50 ` Bin Meng
2017-09-13 22:29 ` Thomas Petazzoni [this message]
2017-09-14 2:42 ` Tom Rini
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=20170914002911.640a3e88@windsurf \
--to=thomas.petazzoni@free-electrons.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.