Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-696

Parallel build fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • CurrentCVS
    • None
    • XalanC
    • None
    • Gentoo Linux, GNU Make 3.81

    Description

      In xalanc/Makefile.in, the "lib" target depends on "locale" and "compile", among others. "compile" in turn depends on $(ALL_OBJECTS). Some objects in $(ALL_OBJECTS) do in fact require the LocalMsgIndex.hpp installed by the locale target. This dependency isn't expressed in the Makefile, though. In a serial build, "locale" will be built before "compile", and all is well. In a parallel build, however, i.e. passing "-j5" or similar to make, it is legal for make to build "locale" and "$(ALL_OBJECTS)" at the same time, causing the build to fail with an error message like this:

      In file included from .../xalanc/PlatformSupport/ExecutionContext.hpp:32,
      from .../xalanc/PlatformSupport/ExecutionContext.cpp:19:
      .../xalanc/PlatformSupport/ProblemListenerBase.hpp:28:29: error: LocalMsgIndex.hpp: No such file or directory

      Originally reported on Gentoo as http://bugs.gentoo.org/296749

      Attachments

        Activity

          People

            Unassigned Unassigned
            gagern Martin von Gagern
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: