The undefined symbols are allowed for C checks, but when this is run as C++, the mangled foo() symbol is still seen as undefined, and the testsuite thinks darwin does not support -shared.
Pushed after approval by Iain Sandoe in PR114233 FX
0001-testsuite-darwin-improve-check-for-shared-support.patch
Description: Binary data