cmake cvs supports chrpath -> much faster relinking

Alexander Neundorf neundorf at kde.org
Wed Dec 19 20:03:37 CET 2007


On Wednesday 19 December 2007, David Faure wrote:
> On Wednesday 19 December 2007, Stephan Kulow wrote:
> > Am Mittwoch 19 Dezember 2007 schrieb David Faure:
> > > On Tuesday 18 December 2007, Alexander Neundorf wrote:
> > > > Hi,
> > > >
> > > > I just committed support for chrpath to cmake cvs.
> > > > chrpath can modify the RPATH inside an ELF file. This means that on
> > > > make install, the executables don't have to be actually linked again,
> > > > but instead they are installed as they are and then chrpath is run on
> > > > them. This reduces this additional relinking time almost to zero.
> > > >
> > > > To use it you need:
> > > > current kdesupport (-> so chrpath gets installed)
> > > > current cmake cvs
> > >
> > > Funny; if cmake cvs can call chrpath, why isn't chrpath part of cmake?
> >
> > That question applies to binutils and gcc too - it should only be
> > required to install cmake, nothing else, to build KDE ;-)
>
> Hmm, OK... chrpath can also be useful to people not using cmake, I see.

I considered asking for including it somehow with cmake, but it is GPL 
licensed and I think Kitware wouldn't really want to somehow include this 
with cmake (which is BSD licensed), just to really stay far away from any 
theoretical potential issues.

Alex



More information about the Kde-buildsystem mailing list