mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Toolchain: host-m4 build error
@ 2019-05-12 22:43 Clemens Gruber
  2019-05-13  5:48 ` Michael Olbrich
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Gruber @ 2019-05-12 22:43 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-13 20:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-12 22:43 [ptxdist] Toolchain: host-m4 build error Clemens Gruber
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox