* redundant RPATH warning?
@ 2011-08-03 15:00 Kumar Gala
2011-08-03 15:08 ` Phil Blundell
2011-08-03 15:11 ` Mark Hatle
0 siblings, 2 replies; 3+ messages in thread
From: Kumar Gala @ 2011-08-03 15:00 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
What causes warnings like the following:
WARNING: QA Issue: gthumb: /work/ppce5500-poky-linux/gthumb-2.12.3-r1/packages-split/gthumb/usr/lib64/gthumb/extensions/libexport_tools.so contains probably-redundant RPATH /usr/lib64
Is this something we should by trying to clean up?
- k
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: redundant RPATH warning?
2011-08-03 15:00 redundant RPATH warning? Kumar Gala
@ 2011-08-03 15:08 ` Phil Blundell
2011-08-03 15:11 ` Mark Hatle
1 sibling, 0 replies; 3+ messages in thread
From: Phil Blundell @ 2011-08-03 15:08 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2011-08-03 at 10:00 -0500, Kumar Gala wrote:
> What causes warnings like the following:
>
> WARNING: QA Issue: gthumb: /work/ppce5500-poky-linux/gthumb-2.12.3-r1/packages-split/gthumb/usr/lib64/gthumb/extensions/libexport_tools.so contains probably-redundant RPATH /usr/lib64
Pretty much what it says. That DSO contains an RPATH record pointing to
a directory which (in insane.bbclass's view) the dynamic linker would
have searched anyway without being told to. In most cases this means
that the RPATH isn't serving any useful purpose and is just wasting time
and space.
Obviously insane.bbclass is not infallible though. In particular, there
is no portable way to find out what paths ld.so will actually search on
its own initiative, so insane.bbclass assumes that the list consists of
${base_libdir} and ${libdir}. If that assumption isn't valid in your
particular configuration then you will get spurious warnings.
> Is this something we should by trying to clean up?
Ideally, yes. I think libtool is the main offender in this respect and,
if it could be fixed somehow, the majority of those warnings would
probably go away.
p.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: redundant RPATH warning?
2011-08-03 15:00 redundant RPATH warning? Kumar Gala
2011-08-03 15:08 ` Phil Blundell
@ 2011-08-03 15:11 ` Mark Hatle
1 sibling, 0 replies; 3+ messages in thread
From: Mark Hatle @ 2011-08-03 15:11 UTC (permalink / raw)
To: openembedded-core
On 8/3/11 10:00 AM, Kumar Gala wrote:
> What causes warnings like the following:
>
> WARNING: QA Issue: gthumb: /work/ppce5500-poky-linux/gthumb-2.12.3-r1/packages-split/gthumb/usr/lib64/gthumb/extensions/libexport_tools.so contains probably-redundant RPATH /usr/lib64
Something passing in rpath /usr/lib64 during linking.. likely libtool....
> Is this something we should by trying to clean up?
It doesn't have to be cleaned up, but it's a really good idea to find and fix
the problems. I believe that the standard libtool in oe-core avoids passing
rpaths of standard system prefixes.. so it's likely the gthumb Makefiles
themselves that are doing this. (Unless of course libtool has a bug....)
--Mark
> - k
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-03 15:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03 15:00 redundant RPATH warning? Kumar Gala
2011-08-03 15:08 ` Phil Blundell
2011-08-03 15:11 ` Mark Hatle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox