https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100552
Bug ID: 100552 Summary: configure: 32208: Syntax error: Bad substitution Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- When building on x86_64--netbsd The introducing change looks to be r11-6196. In particular, the substitution on this line using bash-specific features: CROSS_TEST_CXXFLAGS="-nostdinc ${XGCC_FLAGS_FOR_TARGET//-B/-idirafter/}"