Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2011 23:58:33 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: Print +REQUIRED_BY as tree?
Message-ID:  <181642832.20110912235833@serebryakov.spb.ru>
In-Reply-To: <4E6E60C7.90304@FreeBSD.org>
References:  <503309410.20110912205856@serebryakov.spb.ru> <CA940116.21806%freebsdlists-ports@chillibear.com> <865325899.20110912230621@serebryakov.spb.ru> <4E6E60C7.90304@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Doug.
You wrote 12 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2011 =D0=B3.,=
 23:43:03:

> It's not as easy to represent the data in the way you describe as you
> might think. Something like gcc is going to have multiple entry points
> in a graph, which is really hard to represent in a (sort of)
> 1-dimensional structure like a tree.
  Forest will be Ok, too :) It seems, that root of gcc44 dependency is
x264, but I'm not sure, that it is ONLY root.

> I would imagine that all of the ones you compiled with it do since they
> are almost certainly linked with the libgcc that comes with gcc44.
  [many bad words skipped]. WHY, OH, WHY libgcc is not used as
static library?! It is only implementation of some intrinsics, am I right?

  And now gcc4 is DEPRECATED, so I need to rebuild ANY port,
which is depend on it (via some wired paths, whose I cannot not easily
track) to update it to gcc45?! Ouch.

 How could I determine which ports are directly lined with libgcc from
gcc44? ldd? But x264 itself (yes, it is built with GCC44 option) is
not linked to libgcc:

blob# ldd /usr/local/bin/x264
/usr/local/bin/x264:
        libgpac.so.1 =3D> /usr/local/lib/libgpac.so.1 (0x800812000)
        libz.so.5 =3D> /lib/libz.so.5 (0x800be3000)
        libm.so.5 =3D> /lib/libm.so.5 (0x800cf8000)
        libthr.so.3 =3D> /lib/libthr.so.3 (0x800e18000)
        libc.so.7 =3D> /lib/libc.so.7 (0x800f31000)
        libssl.so.6 =3D> /usr/lib/libssl.so.6 (0x801172000)
        libcrypto.so.6 =3D> /lib/libcrypto.so.6 (0x8012c5000)
        libjpeg.so.11 =3D> /usr/local/lib/libjpeg.so.11 (0x801565000)
        libpng.so.6 =3D> /usr/local/lib/libpng.so.6 (0x80169b000)

I could check all binaries and shared libs, of course, (find, xargs,
ldd), but it is not what I call "user friendly" :(

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?181642832.20110912235833>