mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Toolchain: host-m4 build error
Date: Mon, 13 May 2019 00:43:59 +0200	[thread overview]
Message-ID: <20190512224359.GA20671@archibald.tuxnet> (raw)

Hi,

when building a toolchain based on OSELAS.Toolchain-2018.02.x, I get the
following error at the end of the host-m4 build, in the install.pack
stage:

new rpath '${ORIGIN}/../lib' too large; maximum length 4

ptxdist: error: Failed to adjust rpath for '~/toolchain/platform-../packages/host-m4-1.4.18/bin/m4'

--

readelf tells me:
...
0x000000000000000f (RPATH)              Library rpath: [/lib]
...

So there is not enough space to put in ${ORIGIN}/../lib

--

Any idea why this is only happening in the toolchain build and how to
fix it?

Host OS: ArchLinux
Host GCC: 8.3.0
PTXdist: 2019.05.0

Thanks and best regards,
Clemens

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2019-05-12 22:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-12 22:43 Clemens Gruber [this message]
2019-05-13  5:48 ` Michael Olbrich
2019-05-13 13:49   ` Clemens Gruber
2019-05-13 18:57     ` Michael Olbrich
2019-05-13 19:59       ` Clemens Gruber
2019-05-13 20:16         ` 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=20190512224359.GA20671@archibald.tuxnet \
    --to=clemens.gruber@pqgruber.com \
    --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