[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#857831: gcc build in gnattools apparently not safe for parallel builds



Matthias Klose:
> Package: src:gcc-7
> https://buildd.debian.org/status/fetch.php?pkg=gcc-7&arch=arm64&ver=7-20170314-1&stamp=1489581110&raw=0
> ali.o: file not recognized: File truncated
> seen with local builds as well for other files in the gnatmake, gnatlink targets.

The construction by Make of the object list for gnatmake/link in
gnattools/ relies on two related assertions.
* All gcc/ada/gcc-interface/ and libgnatvsn/ objects are built before
  gnattools/Makefile is parsed.
* The tools are dynamically linked with libgnat and libgnatvsn.
These should hold because of dependencies expressed in Makefile.def,
but I have made a big mistake when copying the list to
gcc/ada/gcc-interface/Makefile.in.

In addition to .NOPARALLEL already in the VCS, we should probably
revert to a hard-coded list in d/gcc/ada/gcc-interface/Makefile.in.


Reply to: