Eric Blake wrote: > When updating m4 branch-1.6 to the latest gnulib (last done in May > 2025, so before this patch), I'm now hitting: > > /usr/bin/ld: builtin.o: in function `m4_maketemp': > /home/eblake/m4-1.6/src/builtin.c:1625:(.text+0x4128): undefined reference to > `rpl_obstack_printf' > /usr/bin/ld: /home/eblake/m4-1.6/src/builtin.c:1636:(.text+0x4415): undefined > reference to `rpl_obstack_printf' > /usr/bin/ld: debug.o: in function `trace_header': > /home/eblake/m4-1.6/src/debug.c:327:(.text+0x1042): undefined reference to > `rpl_obstack_printf' > /usr/bin/ld: /home/eblake/m4-1.6/src/debug.c:329:(.text+0x1069): undefined > reference to `rpl_obstack_printf' > /usr/bin/ld: /home/eblake/m4-1.6/src/debug.c:330:(.text+0x1085): undefined > reference to `rpl_obstack_printf' > /usr/bin/ld: debug.o:/home/eblake/m4-1.6/src/debug.c:332: more undefined > references to `rpl_obstack_printf' follow
After creating a new, fresh checkout directory for the m4 branch-1.6 branch, running 'bootstrap' there, and configuring anew, I don't reproduce this error. I conclude that the problem was caused by switching between branch-1.4 and branch-1.6, and some leftover file(s). Although ideally, with a good build system, this shouldn't happen, it's hard to tell the cause... Bruno
