Target cris-axis-elf, but you should see this for any newlib
target and likely others. Worked with 124057, fails with 124060
(there are other fails, this is the regression):
Running /tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp ...
...
FAIL: abi/cxx_runtime_only_linkage.cc (test for excess errors)
FAIL: abi/header_cxxabi.c (test for excess errors)
Apparently your change causes one of the "-B/..." options to be
truncated to "B/". I don't see exactly what in your patch that
causes this, sorry.