Discussion:
Two questions for FreeBSD 11: libgcc & pkg
(too old to reply)
Matthieu Volat
2016-07-27 17:42:43 UTC
Permalink
Hi, if somebody would be kind enough to educate me, I've two small questions about the 11 release.


First, https://wiki.freebsd.org/WhatsNew/FreeBSD11 mention that libgcc was replaced by libcompiler_rt, yet after the freebsd-update upgrade/install/install/portmaster -af/install routine, I still have a (recently updated) libgcc:

# ls -l /lib/libgcc_s.so.1
-r--r--r-- 1 root wheel 56608 Jul 26 14:13 /lib/libgcc_s.so.1

Is it normal?


Second question is about the talks that the base system would be
pkg-ized (https://wiki.freebsd.org/PkgBase). Do base pkgs share the same pkg database as ports pkgs? Can I now damage base installation with bad pkg usage?


Thanks a lot for answers!
--
Matthieu Volat <***@alkumuna.eu>
Kevin Oberman
2016-07-27 22:14:49 UTC
Permalink
Post by Matthieu Volat
Hi, if somebody would be kind enough to educate me, I've two small
questions about the 11 release.
First, https://wiki.freebsd.org/WhatsNew/FreeBSD11 mention that libgcc
was replaced by libcompiler_rt, yet after the freebsd-update
upgrade/install/install/portmaster -af/install routine, I still have a
# ls -l /lib/libgcc_s.so.1
-r--r--r-- 1 root wheel 56608 Jul 26 14:13 /lib/libgcc_s.so.1
Is it normal?
I think so, but I am not sure. Is libcompiler_rt found? It seems likely the
old library is retrained for existing images linked to it while
libcompiler_rt is now used when new images are linked. (N.B. This is a
guess, though.)
Post by Matthieu Volat
Second question is about the talks that the base system would be
pkg-ized (https://wiki.freebsd.org/PkgBase). Do base pkgs share the same
pkg database as ports pkgs? Can I now damage base installation with bad pkg
usage?
I don't have the message handy, but several issues popped up that forced
the delay if the packaging of teh base system until at least 11.1. You can
Post by Matthieu Volat
Thanks a lot for answers!
--
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: ***@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Matthieu Volat
2016-07-28 05:16:26 UTC
Permalink
First, thanks for your time!

On Wed, 27 Jul 2016 15:14:49 -0700
Post by Kevin Oberman
Post by Matthieu Volat
Hi, if somebody would be kind enough to educate me, I've two small
questions about the 11 release.
First, https://wiki.freebsd.org/WhatsNew/FreeBSD11 mention that libgcc
was replaced by libcompiler_rt, yet after the freebsd-update
upgrade/install/install/portmaster -af/install routine, I still have a
# ls -l /lib/libgcc_s.so.1
-r--r--r-- 1 root wheel 56608 Jul 26 14:13 /lib/libgcc_s.so.1
Is it normal?
I think so, but I am not sure. Is libcompiler_rt found? It seems likely the
old library is retrained for existing images linked to it while
libcompiler_rt is now used when new images are linked. (N.B. This is a
guess, though.)
Things are a bit strange: there is a static libcompiler_rt library in /usr/lib. A few executable in /usr/bin seems to still use libgcc (groff/troff stuff mainly). So maybe this is still in a transitional stage... Base cc/c+++ seems to be sane since I managed to rebuild all the installed ports.
Post by Kevin Oberman
Post by Matthieu Volat
Second question is about the talks that the base system would be
pkg-ized (https://wiki.freebsd.org/PkgBase). Do base pkgs share the same
pkg database as ports pkgs? Can I now damage base installation with bad pkg
usage?
I don't have the message handy, but several issues popped up that forced
the delay if the packaging of teh base system until at least 11.1. You can
Thanks, I was not sure I did not miss some pre-release instruction to migrate settings as nothing would show up in pkg info and such.
Post by Kevin Oberman
Post by Matthieu Volat
Thanks a lot for answers!
--
--
Kevin Oberman, Part time kid herder and retired Network Engineer
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
--
Matthieu Volat <***@alkumuna.eu>
tel: 06 84 54 39 43
www: <http://500px.com/Mazhe>
Loading...