Re: In tree builds broken in lib/ncurses?

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sat, 14 Jun 2014 15:12:36 -0700
On Sat, Jun 14, 2014 at 03:01:20PM -0700, Peter Wemm wrote:
> On Saturday 14 June 2014 14:44:39 Steve Kargl wrote:
> > On Sat, Jun 14, 2014 at 01:19:33PM -0700, Steve Kargl wrote:
> > > Long story short.  I have laptop that is normally limited in
> > > available diskspace, so I do not install profiled libraries.
> > > I however have the need for running some code under the profiler
> > > (assuming clang can generate proper profiling).  I do the
> > > following,
> > 
> > Is it possible to using profiling on FreeBSD-current?  After installing
> > libc_p.a, I try to build math/lapack.  It dies with
> > 
> > /usr/local/bin/ld: //usr/lib/libc_p.a(sbrk.po): undefined reference to
> > symbol '_end' //lib/libc.so.7: error adding symbols: DSO missing from
> > command line collect2: error: ld returned 1 exit status
> > *** Error code 1
> 
> collect2? I think you've got something odd going on there..
> 

Maybe.  math/lapack is built with gfortran, which is from
lang/gcc47 on my system.  lang/gcc47 is probably picking 
up the installed devel/binutils.  This would explain the
/usr/local/bin/ld instead of our /usr/bin/ld.   libc_p.a is
built with clang, so I'm probably running into yet-another
clang vs gcc problem.

-- 
Steve
Received on Sat Jun 14 2014 - 20:12:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:50 UTC