[PPL-devel] Problem with spld and parallel builds

Roberto Bagnara bagnara at cs.unipr.it
Sun Jan 8 17:05:05 CET 2006


A parallel build of the Parma Polyhedra Library has good chances
of aborting in the interfaces/Prolog/SICStus directory with the
following error:

     /usr/bin/ld: cannot open linker script file linker_script.x: No such file or directory

Apparently, the file called `linker_script.x' is a temporary file created by `spld'
(the SICStus Prolog linker) in the current directory and erased before exiting.
When multiple instances of `spld' are running concurrently things will often go
wrong, since access to that (shared) file is not synchronized.

As a temporary workaround I am forcing serialization in the SICStus
interface directory.  I have also filed a bug report for SICStus.
Ciao,

    Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it



More information about the PPL-devel mailing list