From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 76F813987C1F; Mon, 28 Jun 2021 16:50:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76F813987C1F From: "yann at sionneau dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/98784] [9/10/11/12 Regression] problematic build of uClibc with -fPIC Date: Mon, 28 Jun 2021 16:50:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yann at sionneau dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2021 16:50:07 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98784 --- Comment #14 from YannSionneau --- Created attachment 51074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D51074&action=3Dedit non-working uClibc-ng build This is a build of uClibc-ng that does not allow normal Linux booting. You can boot to a shell by doing init=3D/bin/sh but any command you type (l= ike ls) would run the command and then crash the system because init (in fact t= he shell, the parent of the forked command) gets killed. This might be related to issue in signal handling since the parent is suppo= sed to receive a SIGCHILD signal when its child exits. Difference with previous attachment is just that the follow buildroot patch= is not applied to gcc: https://git.buildroot.net/buildroot/commit/?id=3D4d16e6f5324f0285f51bfbb5a3= 503584f3b3ad12=