public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] undefined reference to `environment'
Date: Wed, 30 Aug 2017 00:07:16 +0200	[thread overview]
Message-ID: <20170830000716.72feecb6@windsurf.lan> (raw)
In-Reply-To: <CAEGM6awrP7UoxLKUf2egRZFkFCYUojPG24X2LJdPKm2Ayew1EQ@mail.gmail.com>

Hello,

On Tue, 29 Aug 2017 17:18:24 -0400, Tom Rini wrote:

> 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.

At this point, I don't think it's the correct fix. I don't see why it
should be the responsibility of the linker script to include
env/embedded.o. Almost no other architecture has env/embedded.o
referenced in its linker script. Only a few m68k platforms, with custom
linker script in their include/configs/.h file include env/embedded.o
in their linker script, plus one Freescale platform.

Again, changing extra- to obj- in env/Makefile also fixes the issue.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2017-08-29 22:07 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 [this message]
2017-08-30  1:50         ` Bin Meng
2017-09-13 22:29       ` Thomas Petazzoni
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=20170830000716.72feecb6@windsurf.lan \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox