From: Mike Zick <minimod@morethan.org>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 7172] Name collision of rpath token expansion and internal variables
Date: Sun, 8 Jun 2014 07:57:48 -0500 [thread overview]
Message-ID: <20140608075748.12ce3c94@core2quad.morethan.org> (raw)
In-Reply-To: <CAHXCMMJuUfxqVJe8HWe5j5hH3GKNUyf_76RM3Wej2=1c+KehMQ@mail.gmail.com>
On Sun, 8 Jun 2014 13:24:13 +0200
Samuel Martin <s.martin49@gmail.com> wrote:
> > Hmm...
> > I guess I should add a selection to build host-patchelf to BR.
> > Someone else out there might need it, even if they don't need
> > ld.so token expansion in runpath and/or rpath.
> >
> > Thanks for taking the time to check this out.
> > Might have to mark it as: "Can't be fixed" in the bug tracker.
> >
>
> BTW, why do you need to tweak RPATH in the target fs? What is your
> use-case? (just curious ;-])
>
> Buildroot builds and installs everything consistently, so libraries
> get installed in /lib and /usr/lib, and binaries do not have any
> RPATH.
>
> Usually, one needs RPATH when some binaries needs libraries that are
> not installed in the default locations.
> Some others solutions are:
> 1) set the LD_LIBRARY_PATH in the binary environment;
> 2) add the additional paths in some
> $(TARGET_DIR)/etc/ld.so.conf.d/*.conf files.
>
After-market feature supplements for consumer devices.
In this case, the Amazon Kindle e-book readers:
http://www.mobileread.com/forums/forumdisplay.php?f=150 (as: knc1)
Specifically, the project-of-the-moment:
https://bitbucket.org/twobob/kual-system
See: ARMhf on the Kindle(s) at the first link above.
Requirements (limitations, opportunities to stretch mind, etc):
* Do not disturb Amazon/Lab126 system image.
** Limited storage space for changes
** Causes end-users no end of grief when a vendor update is issued
** No Kernel / u-boot updates allowed - outside of end-user skills
* End-user additions to reside in user accessible storage (same
storage used by books)
** Its FAT32 (no sym-links)
** Supplement the vendors old (pre-GPLv3) soft-float system and
applications with a modern hard-float system and applications.
(devices more recent than the Kindle Keyboard are Cortex-A{8,9}).
The Buildroot related issue-of-the-moment:
BR2_TARGET_LDFLAGS="-Wl,--dynamic-linker=/mnt/us/extensions/system/lib/ld-linux-armhf.so.3,-rpath=/mnt/us/extensions/system/lib,--enable-new-dtags"
But:
BR2_TARGET_LDFLAGS="-Wl,--dynamic-linker=/mnt/us/extensions/system/lib/ld-linux-armhf.so.3,-rpath=${ORIGIN}/../lib/${CPU},--enable-new-dtags"
Might well be useful in our simplified FHS extension layout.
- - - -
If you own a Kindle (grayscale) e-book reader - give some of our stuff
a try. (Hint: Start with the KUAL application launcher.)
We (the Mobileread developer community) have done everything from change
the battery graphic to a percentage display;
upto and including speaker independent voice recognition reader control.
A real "busman's holiday" for embedded firmware developers. ;)
Mike
next prev parent reply other threads:[~2014-06-08 12:57 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-08 2:41 [Buildroot] [Bug 7172] New: Name collision of rpath token expansion and internal variables bugzilla at busybox.net
2014-06-08 7:03 ` [Buildroot] [Bug 7172] " bugzilla at busybox.net
2014-06-08 10:38 ` Mike Zick
2014-06-08 11:24 ` Samuel Martin
2014-06-08 12:57 ` Mike Zick [this message]
2014-06-08 13:53 ` Thomas Petazzoni
2014-06-08 14:04 ` bugzilla at busybox.net
2014-06-08 14:21 ` bugzilla at busybox.net
2014-06-08 15:56 ` bugzilla at busybox.net
2014-06-08 16:03 ` bugzilla at busybox.net
2014-06-08 16:28 ` bugzilla at busybox.net
2014-06-08 16:48 ` bugzilla at busybox.net
2014-06-08 18:18 ` bugzilla at busybox.net
2014-06-08 18:20 ` bugzilla at busybox.net
2014-06-10 12:40 ` bugzilla at busybox.net
2014-06-11 21:36 ` bugzilla at busybox.net
2014-06-22 13:52 ` bugzilla at busybox.net
2014-06-22 13:52 ` bugzilla at busybox.net
2014-06-29 13:14 ` bugzilla at busybox.net
2014-06-29 19:46 ` Mike Zick
2014-07-07 13:06 ` bugzilla at busybox.net
2014-07-17 18:00 ` bugzilla at busybox.net
2014-07-30 20:15 ` bugzilla at busybox.net
2014-07-30 22:41 ` bugzilla at busybox.net
2014-08-01 17:22 ` bugzilla at busybox.net
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=20140608075748.12ce3c94@core2quad.morethan.org \
--to=minimod@morethan.org \
--cc=buildroot@busybox.net \
/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