Re: BUG #15897: make failed postgres 11.4 at 32 bit build
On Fri, Jul 5, 2019 at 7:11 AM PG Bug reporting form
<[hidden email]> wrote:
> storage/lmgr/lwlock.o: In function `CreateLWLocks':
> lwlock.c:(.text+0x62e): undefined reference to `MainLWLockNames'
> collect2: error: ld returned 1 exit status
MainLWLockNames is defined in a generated .c file - see
generate-lwlocknames.pl. This error seems to indicate that this file
either wasn't compiled or didn't have the right contents. I can't
guess why that happened based on the information provided, but if I
were you, I'd try again after making sure that you have a completely
clean source tree with no leftovers in it from previous build
attempts. If using 'git', try 'git clean -dfx'.
PG Bug reporting form <[hidden email]> writes:
> i tryied to build postgres 11.4 on 32 bit sles 12.1.
> make -j10 DESTDIR=/postgres/src/workdir/result install
Not sure that anyone really tests going directly to "install" with
such a high -j factor. You might've found a parallelism weakness
in the makefiles. I tend to do "make -j8 all" and then "make install"
and have never seen a problem with that.