The link order does seem to be significant as you suggested. However, both the linker and run-time linker succeed without error. The failure is inside the path dtor. While --as-needed may well be at fault, it looks like there may be problems with either not reporting errors, or doing the wrong thing, when the link order isn't right.
-- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs