public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/96160] New: Building gcc with multiple make jobs fails with: gcc/xgcc: No such file or directory
@ 2020-07-10 20:53 plevine457 at gmail dot com
  2020-07-10 20:56 ` [Bug bootstrap/96160] " plevine457 at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: plevine457 at gmail dot com @ 2020-07-10 20:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96160

            Bug ID: 96160
           Summary: Building gcc with multiple make jobs fails with:
                    gcc/xgcc: No such file or directory
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: plevine457 at gmail dot com
  Target Milestone: ---

Created attachment 48860
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48860&action=edit
build.log.bz2

Building GCC with multiple make jobs appears to trigger a race condition.  The
build often fails with:

> /var/tmp/portage/sys-devel/gcc-10.1.0-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-10.1.0-r1/work/build/./gcc/ -xc++ -nostdinc /dev/null -S -o /dev/null -fself-test=/var/tmp/portage/sys-devel/gcc-10.1.0-r1/work/gcc-10.1.0/gcc/testsuite/selftests
> /bin/bash: /var/tmp/portage/sys-devel/gcc-10.1.0-r1/work/build/./gcc/xgcc: No such file or directory
> make[3]: *** [/var/tmp/portage/sys-devel/gcc-10.1.0-r1/work/gcc-10.1.0/gcc/cp/Make-lang.in:178: s-selftest-c++] Error 127

This has been noticeable at least since GCC-9.x.

Reported downstream at https://bugs.gentoo.org/728304.
Likely related to
https://github.com/cirosantilli/linux-kernel-module-cheat/issues/108

uname: Linux Laptop-PC 5.7.8-gentoo #1 SMP Fri Jul 10 04:05:05 EDT 2020 x86_64
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz GenuineIntel GNU/Linux

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

end of thread, other threads:[~2021-08-03 16:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10 20:53 [Bug bootstrap/96160] New: Building gcc with multiple make jobs fails with: gcc/xgcc: No such file or directory plevine457 at gmail dot com
2020-07-10 20:56 ` [Bug bootstrap/96160] " plevine457 at gmail dot com
2020-07-10 21:17 ` pinskia at gcc dot gnu.org
2020-07-10 21:57 ` plevine457 at gmail dot com
2020-07-11  3:05 ` plevine457 at gmail dot com
2021-05-30 23:33 ` pinskia at gcc dot gnu.org
2021-08-03 16:02 ` pinskia at gcc dot gnu.org

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).