http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50639

             Bug #: 50639
           Summary: -flto=jobserver broken on large LTO build
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: andi-...@firstfloor.org


On a -j8 Linux kernel LTO build with -flto=jobserver I always end up with


make[3]: *** read jobs pipe: No such file or directory.  Stop.
make[3]: *** Waiting for unfinished jobs....
lto-wrapper: make returned 2 exit status
/usr/local/bin/ld-plugin: lto-wrapper failed

at the final link stage. The link is actually succeeding, but something
confuses jobserver

It works with -flto=8. The message comes from make.

It could be a regression, but it's hard to say because older much builds
usually ran into other problems.

Reply via email to