I found that when I added a new .o file in backend/access/hash while
working in an already-built source tree, the objfiles.txt file in that
directory got updated, but the one in backend/access did not, leading to
link failure. Seems there's a missing dependency for the upper-level
objfiles.txt files.
regards, tom lane