From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3FF663858C35; Sun, 3 Dec 2023 19:14:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3FF663858C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701630848; bh=qlS6y2ppYyP++464YwEHtIREfYKe00I/R7EYxiuZudM=; h=From:To:Subject:Date:From; b=hzP3+7FM7mpkCgK9PeJ0+ufTAm3drLWrPgYrHg+CcXbR/PPWTDvcrsJJiQE0f9Bhr CadMOwzPzFiE+nAWKixZv5it9wjIEOiYJixCCqeWmWYDV5mpkCOb1xabOPD3ycyM1e QzqfAo48/sXvRikyroXHeZts8Vm+FpGoM/rZ7jro= From: "bruno at clisp dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/112836] New: gcc fails when job control is used Date: Sun, 03 Dec 2023 19:14:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruno at clisp dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112836 Bug ID: 112836 Summary: gcc fails when job control is used Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: bruno at clisp dot org Target Milestone: --- A compilation command with gcc failed, when I used bash's job control: ------------------------------------------------------------------------ $ ~/build-32 -C ... gcc -m32 -DHAVE_CONFIG_H -DEXEEXT=3D\"\" -DEXEEXT=3D\"\" -DNO_XMALLOC -DEXE= EXT=3D\"\" -I. -I../../gllib -I.. -DGNULIB_STRICT_CHECKING=3D1 -I/home/bruno/prefix32/include -Wall -fvisibility=3Dhidden -g -O2 -MT git-merge-changelog.o -MD -MP -MF $depbase.Tpo -c -o git-merge-changelog.o ../../gllib/git-merge-changelog.c &&\ mv -f $depbase.Tpo $depbase.Po ^Z [1]+ Stopped ~/build-32 -C bruno@localhost:~/testdir-all$ free total used free shared buff/cache=20=20 available Mem: 2056072 119664 1773880 632 224808=20=20= =20=20 1936408 Swap: 514072 0 514072 bruno@localhost:~/testdir-all$ fg 1 ~/build-32 -C gcc: fatal error: failed to get exit status: Interrupted system call compilation terminated. make[4]: *** [Makefile:11320: git-merge-changelog.o] Error 1 make[4]: Leaving directory '/home/bruno/testdir-all/build-32/gllib' make[3]: *** [Makefile:11366: all-recursive] Error 1 make[3]: Leaving directory '/home/bruno/testdir-all/build-32/gllib' make[2]: *** [Makefile:8407: all] Error 2 make[2]: Leaving directory '/home/bruno/testdir-all/build-32/gllib' make[1]: *** [Makefile:3220: all-recursive] Error 1 make[1]: Leaving directory '/home/bruno/testdir-all/build-32' make: *** [Makefile:3151: all] Error 2 ------------------------------------------------------------------------ The expected behaviour that after 'fg 1', stopped jobs continue to run without failing. This is on Linux/sparc64. Versions: - gcc (T2SDE) 13.2.1 20231124 - Linux 6.6.3 - glibc 2.38=