Hi Everyone, I'm building Bison 3.7.6 from sources. I need it for OpenSSH on an old PowerMac, powerpc-apple-darwin9.8.0.
make check is failing: updating examples/c++/variant.output updating examples/c++/variant.hh /usr/bin/g++ -DEXEEXT=\"\" -I. -I/opt/ssh/include -DNDEBUG -g2 -O2 -mlong-double-64 -maltivec -fPIC -pthread -MT examples/c++/variant-variant.o -MD -MP -MF examples/c++/.deps/variant-variant.Tpo -c -o examples/c++/variant-variant.o `test -f 'examples/c++/variant.cc' || echo './'`examples/c++/variant.cc examples/c++/variant.cc: In constructor 'yy::parser::parser()': examples/c++/variant.cc:176: error: the default argument for parameter 0 of 'yy::parser::stack<T, S>::stack(typename S::size_type) [with T = yy::parser::stack_symbol_type, S = std::vector<yy::parser::stack_symbol_type, std::allocator<yy::parser::stack_symbol_type> >]' has not yet been parsed gmake[3]: *** [examples/c++/variant-variant.o] Error 1 gmake[3]: Target `examples/c++/variant' not remade because of errors. gmake[3]: `tests/bison' is up to date. gmake[3]: Nothing to be done for `tests/atconfig'. gmake[3]: `tests/atlocal' is up to date. An updated compiler is out of the question because libcxx has been broken for some time. We can't build a compiler. In this case, I suggest removal of examples. They add no value for users like me. They only increase the risk of a failed build. Users who want examples can configure with --enable-examples or similar. (Our policies and procedures only require 'make && make check' succeed. We don't care about documentation, examples or other non-essential fodder). Jeff
<<attachment: bison-config.log.zip>>
