tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xentools41 LDFLAGS Re: broken packages for 2012Q3



On Mon, Oct 15, 2012 at 12:15:27AM -0700, Aaron J. Grier wrote:
> On Sun, Oct 14, 2012 at 08:43:22AM +0100, Jaap Boender wrote:
> > On 14/10/2012 03:44, David Holland wrote:
> > >On Wed, Oct 10, 2012 at 11:05:43PM -0700, Aaron J. Grier wrote:
> > > > ocamlc wraps gcc and friends, and these calls out appear to be
> > > > intercepted by buildlink:
> > >
> > >No; the problem is that it's pointing into the work directory and
> > >should be pointing at $PREFIX.
> >
> > Yup, some strangish ocaml stuff going on there.
> 
> any program that builds sets of shared libraries with dependencies on
> each other seems like it would have similar issues.  you need them to
> link with each other from the build locations at compile/link time, but
> have an rpath coded into them for the installation location.

You need to use both -Wl,-rpath and -Wl,-rpath-link in that case. The
former is about the destination embedded in the binary, the latter is
used for lookup during linkage.

Joerg


Home | Main Index | Thread Index | Old Index