Thread: make -j2 error in ecpg/pgtypeslib in current GIT

make -j2 error in ecpg/pgtypeslib in current GIT

From
Boszormenyi Zoltan
Date:
Hi,

I get reproducible "make -j2" compile error in ecpg/pgtypeslib.
The problem is that after this below is executed:

rm -f pgstrcasecmp.c && ln -s ../../../../src/port/pgstrcasecmp.c .

the compilation of pgstrcasecmp.c doesn't happen and this fails:

ar crs libpgtypes.a numeric.o datetime.o common.o dt_common.o timestamp.o interval.o
pgstrcasecmp.o
ar: pgstrcasecmp.o: No such file or directory

The above happens if I run "make -j2" from the toplevel directory
after ./configure. The second run passes.

With "make clean ; make -j2" in src/interfaces/ecpg the same error
occurs again.

If I run "make" without "-j2" then the compile failure doesn't happen.

The system is an uptodate Fedora 14.

Best regards,
Zoltán Böszörményi

-- 
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de    http://www.postgresql.at/



Re: make -j2 error in ecpg/pgtypeslib in current GIT

From
Tom Lane
Date:
Boszormenyi Zoltan <zb@cybertec.at> writes:
> I get reproducible "make -j2" compile error in ecpg/pgtypeslib.

FWIW, I can't reproduce that at all, either at -j2 or -j4, on either
Fedora 13 or Fedora 14.
        regards, tom lane


Re: make -j2 error in ecpg/pgtypeslib in current GIT

From
Boszormenyi Zoltan
Date:
2011-01-27 16:24 keltezéssel, Tom Lane írta:
> Boszormenyi Zoltan <zb@cybertec.at> writes:
>> I get reproducible "make -j2" compile error in ecpg/pgtypeslib.
> FWIW, I can't reproduce that at all, either at -j2 or -j4, on either
> Fedora 13 or Fedora 14.
>
>             regards, tom lane

FWIW, I run "make clean" and "make -j2" and it happened again.
But I tried "make clean ; make -j4" and it compiled OK. WTF?

One little dwarf worked night'n'day, what could he do?
He called his brothers and said yabba-dabba-do.
Two little dwarfs fought all day long,
Four little dwarfs sang merry songs.

BTW "make -j3" also produces the error. It must be some strange
timing bug on my system.

Thanks anyway,
Zoltán

-- 
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de    http://www.postgresql.at/