develooper Front page | perl.perl5.porters | Postings from January 2008

parallel make bug for SDBM_File

Thread Next
From:
Nicholas Clark
Date:
January 6, 2008 05:56
Subject:
parallel make bug for SDBM_File
Message ID:
20080106135550.GM23703@plum.flirble.org
I've just started seeing a failure with parallel makes (on a 6 core machine
that used to be happy) in SDBM_File

The full log is attached. I think I've only removed lines from other modules:

        Making SDBM_File (dynamic)
Writing Makefile for sdbm
Writing Makefile for SDBM_File
Checking if your kit is complete...
Looks good
ccache gcc -c  -I../../..  -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -ansi -pedantic -DPERL_GCC_PEDANTIC -DNO_MATHOMS -fno-strict-aliasing -pipe -I/usr/local/include -Os    -DVERSION=\"\"  -DXS_VERSION=\"\" -DPIC -fPIC "-I../../.."  -DSDBM -DDUFF sdbm.c
cp SDBM_File.pm ../../lib/SDBM_File.pm
ccache gcc -c  -I../../..  -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -ansi -pedantic -DPERL_GCC_PEDANTIC -DNO_MATHOMS -fno-strict-aliasing -pipe -I/usr/local/include -Os    -DVERSION=\"\"  -DXS_VERSION=\"\" -DPIC -fPIC "-I../../.."  -DSDBM -DDUFF pair.c
cd sdbm && make all
ccache gcc -c  -I../../..  -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -ansi -pedantic -DPERL_GCC_PEDANTIC -DNO_MATHOMS -fno-strict-aliasing -pipe -I/usr/local/include -Os    -DVERSION=\"\"  -DXS_VERSION=\"\" -DPIC -fPIC "-I../../.."  -DSDBM -DDUFF pair.c
ccache gcc -c  -I../../..  -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -ansi -pedantic -DPERL_GCC_PEDANTIC -DNO_MATHOMS -fno-strict-aliasing -pipe -I/usr/local/include -Os    -DVERSION=\"\"  -DXS_VERSION=\"\" -DPIC -fPIC "-I../../.."  -DSDBM -DDUFF hash.c
/usr/bin/ar cr libsdbm.a sdbm.o  pair.o  hash.o && : libsdbm.a
rm -rf libsdbm.a
chmod 755 libsdbm.a
/usr/bin/ar cr libsdbm.a sdbm.o  pair.o  hash.o && : libsdbm.a
chmod: libsdbm.a: No such file or directory
*** Error code 1
1 error
*** Error code 2
chmod 755 libsdbm.a
Running Mkbootstrap for Socket ()
1 error
Running Mkbootstrap for Storable ()
*** Error code 2


And yes, there's something kooky because I see it is already compiling C
files in the sdbm subdirectory before the line 'cd sdbm && make all'
In particular, it seems to be compiling pair.c twice.

So is it triggering a rule in ext/SDBM_File/Makefile twice to build
sdbm/libsdbm.a?

[and some of the output is lost]
If so, any ideas on what structurally is wrong with ext/SDBM_File/Makefile
such that make tries to build something twice?

Nicholas Clark
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About