public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/50639] New: -flto=jobserver broken on large LTO build
@ 2011-10-06 21:08 andi-gcc at firstfloor dot org
  2012-01-23  1:54 ` [Bug other/50639] " nix at esperi dot org.uk
  0 siblings, 1 reply; 2+ messages in thread
From: andi-gcc at firstfloor dot org @ 2011-10-06 21:08 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: andi-gcc@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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug other/50639] -flto=jobserver broken on large LTO build
  2011-10-06 21:08 [Bug other/50639] New: -flto=jobserver broken on large LTO build andi-gcc at firstfloor dot org
@ 2012-01-23  1:54 ` nix at esperi dot org.uk
  0 siblings, 0 replies; 2+ messages in thread
From: nix at esperi dot org.uk @ 2012-01-23  1:54 UTC (permalink / raw)
  To: gcc-bugs

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

Nix <nix at esperi dot org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nix at esperi dot org.uk

--- Comment #1 from Nix <nix at esperi dot org.uk> 2012-01-23 01:18:58 UTC ---
I can confirm the same symptoms while bootstrapping GCC on the head of the GCC
4.6 branch, with a bootstrap-lto profiledbootstrap, and GNU make 3.82. During
the stage3 (profilegenerate) libgcc build, the build suddenly stops with:

make[6]: *** read jobs pipe: No such file or directory.  Stop.
make[6]: *** Waiting for unfinished jobs....
lto-wrapper: make returned 2 exit status
/usr/bin/ld: lto-wrapper failed
collect2: ld returned 1 exit status
make[5]: *** [libgcc_s.so] Error 1

This failure appears consistent, so whatever it is it's not a race (or, if it
is, it's fearfully easy to hit).


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-23  1:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-06 21:08 [Bug other/50639] New: -flto=jobserver broken on large LTO build andi-gcc at firstfloor dot org
2012-01-23  1:54 ` [Bug other/50639] " nix at esperi dot org.uk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).