Note that the strategy for GCC packaging in Ubuntu (maybe also in
Debian) is the exact opposite of how RedHat handle GCC packaging for
RHEL with the Devtoolset stuff.

Ubuntu is always providing the latest version of libstdc++6 from the
newest GCC.  This is problematic when the older headers are subtly (or
not-so-subtly) incompatible with the shared library.

RedHat always uses the copy of libstdc++ provided by the default
compiler for the base system.  Newer GCC versions link against this
library, with newer functionality provided by static linking of the
newer libstdc++ for that GCC version.

Both strategies make compromises.  But right now, the default GCC
version in Ubuntu is actually broken as a result of the former strategy.
Perhaps the default libstdc++6 should be provided by the default GCC
version, with later versions adding supplementary functionality via a
static library?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1824721

Title:
  g++-8 in disco is broken with libstdc++6 from gcc9 and libstdc++fs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-8/+bug/1824721/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to