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.
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.