Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] RPATH host pollution fixes
@ 2012-08-17 15:53 Andy Ross
  2012-08-17 15:53 ` [PATCH 1/2] insane.bbclass: Fix RPATH warning in the face of funny path strings Andy Ross
  0 siblings, 1 reply; 17+ messages in thread
From: Andy Ross @ 2012-08-17 15:53 UTC (permalink / raw)
  To: openembedded-core

Results from chasing the RPATH pollution I was seeing:

I don't have a fix for the underlying linker issue, but that is
captured here:

  https://bugzilla.yoctoproject.org/show_bug.cgi?id=2965

Patch 1 is the warning fix from earlier, which is still a fix to the
existing logic and should be applied.  I've removed the
"host-polluted" text though, as AFAICT the actual RPATH is not a
problem, only the use of -rpath with the linker that produced it.

Patch 2 is a fix to libtool on top of the existing fix-rpath.patch to
normalize the strings.  With this applied, all the link failures we
have reproduced (including the one reported vs. owl_video last week)
work correctly.  No libraries in the resulting sysroot have a RPATH
set to a default link directory.

A few runnable binaries still trigger the warning though (but
otherwise build successfully), I'm looking at that now -- I suspect
these simply aren't using libtool, or else we've missed a spot where
normalization and/or default directory pruning needs to happen.

Andy




^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH] Fix RPATH warning vs. weird paths
@ 2012-08-15 22:46 Andy Ross
  2012-08-15 22:46 ` [PATCH] insane.bbclass: Fix RPATH warning in the face of funny path strings Andy Ross
  0 siblings, 1 reply; 17+ messages in thread
From: Andy Ross @ 2012-08-15 22:46 UTC (permalink / raw)
  To: openembedded-core

We hit some oddball cases where libraries were being built with RPATHs
referencing host directores and causing version skew in builds.  There
is a warning case to detect that already, but it was being fooled by
".." terms in the path strings.  This just adds a normalize step to
the path comparison and unmasks the missing warnings.

Andy




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

end of thread, other threads:[~2012-08-21 16:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17 15:53 [PATCH 0/2] RPATH host pollution fixes Andy Ross
2012-08-17 15:53 ` [PATCH 1/2] insane.bbclass: Fix RPATH warning in the face of funny path strings Andy Ross
2012-08-17 15:53   ` [PATCH 2/2] libtool: normalize link paths before considering for RPATH Andy Ross
2012-08-19 10:06     ` Richard Purdie
2012-08-20 16:59       ` Andy Ross
2012-08-20 21:55         ` Richard Purdie
2012-08-17 16:20   ` [PATCH 1/2] insane.bbclass: Fix RPATH warning in the face of funny path strings Richard Purdie
2012-08-20 21:05     ` [PATCH] " Andy Ross
2012-08-21 15:49       ` Saul Wold
  -- strict thread matches above, loose matches on Subject: below --
2012-08-15 22:46 [PATCH] Fix RPATH warning vs. weird paths Andy Ross
2012-08-15 22:46 ` [PATCH] insane.bbclass: Fix RPATH warning in the face of funny path strings Andy Ross
2012-08-16  0:14   ` Chris Larson
2012-08-16 16:10     ` Andy Ross
2012-08-16 16:10       ` Andy Ross
2012-08-16  8:39   ` Phil Blundell
2012-08-16 17:43     ` Andy Ross
2012-08-17 10:28       ` Richard Purdie
2012-08-17 15:02         ` Andy Ross

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