Thread: build problem
When I build HEAD using just "make -s install", everything works fine. But when I add "-j12", it appears to cause problems. This problem appeared very recently. Output below. I can get it to work simply by running "make -s -j12 install" over and over, and eventually it succeeds. Regards,Jeff Davis $ make -s -j12 install In file included from gram.y:12179: scan.c: In function 'yy_try_NUL_trans': scan.c:16256: warning: unused variable 'yyg' dt_common.o: file not recognized: File truncated collect2: ld returned 1 exit status make[5]: *** [libpgtypes.so.3.2] Error 1 make[4]: *** [submake-pgtypeslib] Error 2 make[4]: *** Waiting for unfinished jobs.... gcc: pgstrcasecmp.c: No such file or directory gcc: no input files make[5]: *** [pgstrcasecmp.o] Error 1 make[5]: *** Deleting file `pgstrcasecmp.o' make[4]: *** [submake-pgtypeslib] Error 2 make[4]: *** Waiting for unfinished jobs.... ln: creating symbolic link `./pgstrcasecmp.c': File exists make[6]: *** [pgstrcasecmp.c] Error 1 make[6]: *** Deleting file `pgstrcasecmp.c' make[5]: *** [submake-pgtypeslib] Error 2 make[5]: *** Waiting for unfinished jobs.... gcc: pgstrcasecmp.c: No such file or directory gcc: no input files make[4]: *** [pgstrcasecmp.o] Error 1 make[3]: *** [install-pgtypeslib-recurse] Error 2 make[3]: *** Waiting for unfinished jobs.... /usr/bin/ld: can not read symbols: File truncated collect2: ld returned 1 exit status make[6]: *** [libpq.so.5.4] Error 1 make[5]: *** [submake-libpq] Error 2 make[4]: *** [submake-ecpglib] Error 2 make[3]: *** [install-compatlib-recurse] Error 2 ../../../config/install-sh: libpq.so.5.4 does not exist. make[3]: *** [install-lib-shared] Error 1 make[2]: *** [install-libpq-recurse] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** [install-ecpglib-recurse] Error 2 make[2]: *** [install-ecpg-recurse] Error 2 make[1]: *** [install-interfaces-recurse] Error 2 make: *** [install-src-recurse] Error 2
Jeff Davis <pgsql@j-davis.com> writes: > When I build HEAD using just "make -s install", everything works fine. > But when I add "-j12", it appears to cause problems. This problem > appeared very recently. Output below. Platform? regards, tom lane
On Wed, 2010-12-01 at 22:16 -0500, Tom Lane wrote: > Jeff Davis <pgsql@j-davis.com> writes: > > When I build HEAD using just "make -s install", everything works fine. > > But when I add "-j12", it appears to cause problems. This problem > > appeared very recently. Output below. > > Platform? Oops, sorry: $ uname -a Linux jdavis-ux 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux Regards,Jeff Davis
On ons, 2010-12-01 at 21:27 -0800, Jeff Davis wrote: > On Wed, 2010-12-01 at 22:16 -0500, Tom Lane wrote: > > Jeff Davis <pgsql@j-davis.com> writes: > > > When I build HEAD using just "make -s install", everything works fine. > > > But when I add "-j12", it appears to cause problems. This problem > > > appeared very recently. Output below. > > > > Platform? > > Oops, sorry: > > $ uname -a > Linux jdavis-ux 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC > 2010 x86_64 GNU/Linux I'll look into it.