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

Re: Bug#793345: hyphy: FTBFS on hurd-i386: cannot find -lc_p


On Thu, Jul 23, 2015 at 01:16:59PM +0200, Andreas Tille wrote:
> Hi Michael,
> On Thu, Jul 23, 2015 at 12:55:15PM +0200, Michael Banck wrote:
> > > > The hurd-i386 build of hyphy failed:
> > > > 
> > > >   /usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2    -Wl,-z,relro -g -fsigned-char -O3 -msse3  -fopenmp -msse3 -g -fprofile-arcs -ftest-coverage -pg 
> > 
> > The -pg swith (at the end of line) is for profiling.  Is that what you
> > want?
> It was upstream's choice and not injected by me.  I've commited a patch
> droping this option.

> > > >   /usr/bin/ld: cannot find -lc_p
> > 
> > I haven't looked closely, but maybe that is related to the above.
> I've commited a patch droping the -pg option.  It would be great if
> somebody could confirm that this solves the issue on hurd.

I've looked it up, and the _p variant of libc is indeed the profiling
library, see


/usr/lib/i386-gnu/libc_p.a 	libc0.3-prof

So I assume dropping the -pg will make the error go away.  I don't have
time to verfiy this at the moment, sorry.


Reply to: