ports/182468: [patch] lang/gcc builds unrunnable emulators/virtualbox-ose
Konstantin Belousov
kostikbel at gmail.com
Sun Nov 3 14:00:21 UTC 2013
On Sun, Nov 03, 2013 at 10:10:01AM +0000, Peter Jeremy wrote:
> The following reply was made to PR ports/182468; it has been noted by GNATS.
>
> From: Peter Jeremy <peter at rulingia.com>
> To: Volodymyr Kostyrko <c.kworr at gmail.com>
> Cc: bug-followup at FreeBSD.org
> Subject: Re: ports/182468: [patch] lang/gcc builds unrunnable
> emulators/virtualbox-ose
> Date: Sun, 3 Nov 2013 21:09:07 +1100
>
> --jI8keyz6grp/JLjh
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> On 2013-Nov-01 15:19:32 +0200, Volodymyr Kostyrko <c.kworr at gmail.com> wrote:
> >Isn't it easier to map libstdc++.so.6 to gcc46/libstdc++.so.6 in=20
> >/etc/libmap.conf?
>
The libstdc++.so ABI is supposed to be backward-compatible, so, in theory,
libstdc++ from gcc 4.6 should be a drop-in replacement for the libstdc++
from our base.
> As a general solution, definitely not - that would break programs (eg
> those compiled with the base C++) that expect libstdc++.so.6 to be the
> one in /usr/lib.
It should not.
>
> As a specific solution for VBox-ose, not really. That would require
> hand-crafting a libmap.conf entry that is only valid for one version
> of gcc and is unknown to the ports/pkg system. It would look like it
> works up until VBox gets copied onto another system or lang/gcc changed
> to a different version.
>
> Any fix has to fit into the ports/pkg system so it gets handled automatical=
> ly
> and doesn't get lost. Ideally, lang/gcc (etc) would be fixed so they were
> usable without having to rely on hacks in Mk/bsd.gcc.mk.
>
> --=20
> Peter Jeremy
>
> --jI8keyz6grp/JLjh
> Content-Type: application/pgp-signature
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.21 (FreeBSD)
>
> iKYEARECAGYFAlJ2IMNfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
> bnBncC5maWZ0aGhvcnNlbWFuLm5ldDBCRjc3QTcyNTg5NEVCRTY0RjREN0VFRUZF
> OEE0N0JGRjAwRkI4ODcACgkQ/opHv/APuIdMgACZAUlD2snT239g/tUE8DAuLRiX
> vTAAnihkGEfsczkKjGd+dR+XS/ZDGO52
> =2rRy
> -----END PGP SIGNATURE-----
>
> --jI8keyz6grp/JLjh--
> _______________________________________________
> freebsd-emulation at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20131103/77f42e15/attachment.sig>
More information about the freebsd-emulation
mailing list