mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] ld-wrapper mislinks at91bootstrap
Date: Mon, 6 Nov 2017 19:58:58 +0100	[thread overview]
Message-ID: <20171106185858.wjfpmy6jtix35fby@lenoch> (raw)

Hi there,

I just added new platform (at91) to my BSP and configured at91bootstrap
v3.8.9.

Problem is that PTXDist-2017.10 produces way too large binary:
2099622 at91sam9260ek-dataflashboot-barebox-3.8.9.bin
while correct size is:
   2470 at91sam9260ek-dataflashboot-barebox-3.8.9.bin

Problem turned out to be ld-wrapper script or something it calls.
Just replacing ld-wrapper in ptxdist-2017.10.0/scripts/wrapper to point
directly to arm-v5te-linux-gnueabi-ld is enough to solve problem.
Does anyone clue where to look? Call path is:
sysroot-host/lib/wrapper in $PATH where
arm-v5te-linux-gnueabi-ld -> ptxdist-2017.10.0/scripts/wrapper/ld-wrapper

Thank you,
	ladis

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2017-11-06 18:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-06 18:58 Ladislav Michl [this message]
2017-11-07  7:11 ` Ladislav Michl
2017-11-07  7:26   ` Ladislav Michl
2017-11-07  8:37     ` Michael Olbrich

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=20171106185858.wjfpmy6jtix35fby@lenoch \
    --to=ladis@linux-mips.org \
    --cc=ptxdist@pengutronix.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