Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> It looks like ar isn't even the preferred method to build static
> libraries on OS X anymore. Instead, one should use libtool (not GNU
> libtool), which has a -no_warning_for_no_symbols option.
I looked into this a little bit, but that option seems to be a somewhat
recent innovation; at least the libtool on my 10.6 (Snow Leopard)
buildfarm critter doesn't recognize it. We might be able to adopt it
in a couple more years when nobody cares about such old OS X releases.
In the meantime, though, reclassifying dirmod.o solves the problem
so I don't feel a need to have an argument about dropping support for
old releases.
regards, tom lane