On mån, 2010-11-15 at 11:13 +0100, Bernd Helmle wrote: > > --On 14. November 2010 11:08:13 -0500 Robert Haas <robertmh...@gmail.com> > wrote: > > > +1. The current master branch fails to build on my (rather new) Mac with > > make -j2. I could upgrade my toolchain but it seems like more trouble > > than it's worth, not to mention a possible obstacle to new users and > > developers. > > The same here, too. And it doesn't matter if you use the shipped make > (3.81) or the one from macports (currently 3.82), both are failing with: > > ld: file not found: ../../../../../../src/backend/postgres > collect2: ld returned 1 exit status > make[3]: *** [ascii_and_mic.so] Error 1 > make[2]: *** [all-ascii_and_mic-recurse] Error 2 > make[1]: *** [all-backend/utils/mb/conversion_procs-recurse] Error 2 > make[1]: *** Waiting for unfinished jobs....
Untested, but the following should help you, by partially restoring the old builder order on platforms that need it.
diff --git i/src/Makefile w/src/Makefile index 0d4a6ee..2a5330a 100644 --- i/src/Makefile +++ w/src/Makefile @@ -28,6 +28,13 @@ SUBDIRS = \ $(recurse) +# On platforms that require the backend to be built before dynamically +# loadable modules, partially constraint the build order for more +# efficient and robust builds. +ifdef BE_DLLLIBS +all-backend/utils/mb/conversion_procs-recurse all-backend/replication/libpqwalreceiver-recurse all-pl-recurse: all-backend-recurse +endif + install: install-local install-local: installdirs-local
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers