From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 22 02:54:39 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A995FED; Tue, 22 Apr 2014 02:54:39 +0000 (UTC) Received: from mail0.glenbarber.us (mail0.glenbarber.us [IPv6:2607:fc50:1:2300:1001:1001:1001:face]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail0.glenbarber.us", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ECA7416AD; Tue, 22 Apr 2014 02:54:38 +0000 (UTC) Received: from glenbarber.us (c-71-224-221-174.hsd1.nj.comcast.net [71.224.221.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id A9943133ED; Tue, 22 Apr 2014 02:54:36 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us A9943133ED Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Mon, 21 Apr 2014 22:54:35 -0400 From: Glen Barber To: freebsd-ppc@freebsd.org, freebsd-ia64@freebsd.org Subject: Build failures with high parallel make(1) jobs with GCC Message-ID: <20140422025435.GL49791@glenbarber.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mgiPvHqStUXOBTSF" Content-Disposition: inline X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2014 02:54:39 -0000 --mgiPvHqStUXOBTSF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I have been pounding my head against the desk for longer than I care to admit with this failure. I see this with powerpc, powerpc64, and now ia64. I initially thought it was specific to powerpc{,64}, but now realize ia64 is also affected. This build was running with -j48 on a 48-core machine, when the following caused build failure: ======================================================================= /usr/obj/ia64.ia64/usr/src/tmp/usr/bin/ld: cannot find -lm --- libstdc++.so.6 --- *** [libstdc++.so.6] Error code 1 make[4]: stopped in /usr/src/gnu/lib/libstdc++ A failure has been detected in another branch of the parallel make ======================================================================= It is unclear to me when exactly this started happening, but it seems at least two weeks is a reasonable estimate. I realize this is not an entirely large chunk of useful information regarding the build failure, but I have determined it is entirely reproducible. I have determined that the failure case seems to disappear with make(1) jobs <= 10, at least for powerpc. The last successful build for powerpc on head/ was April 8. But I am having trouble tracking down what commits may (or may not) have contributed to recent high-parallel build failures. Glen --mgiPvHqStUXOBTSF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJTVdnrAAoJELls3eqvi17Q80oP/iJtofV5JiaxzTawJrY+RG5e MB8XRcE6kjwLP28stuRfeAXFcK07lcSaJFivz6iZLMO2uQFxLeCPZcjCIAS8R2Qx 4N3QilHmVEZUPRNDtKaxbglzhg3SarseOoeu740dl2qdDGhwx2li7uSyYfUPxIg1 zeYIX8wLDS+DkH1nabAboVUxGGeVmtckGp6A2O8U3ta7qteffeGR8RK871TiSi3I E4qbryIZu6OzXrhhNvstPzfRWjx/zB++PZOjs+VOHpInwiZrLNwiLSrLJM/sRhyl j0V6gg2Hw0jFAZCiwj5BcSCquBv948i2GMA1g3jqlinh2XCYccl/Hs9XzLCjejhW oAvWv0L6ZKYbZLU0Fxfc+a66DU0j/hOgoWMGmhXEZ/4yheqtV/pBeN+mCkrN2Kq+ RQpRedFHz2xp3p0IvjKx3VK0C/ZPRnw75CqyYktFVggEbUliEUgKaCizuFDj0AYb XgI1cKQe3HUaEXOGj6PnLU83FvSBGJad4l7hOpsjfYanaSnhgZG1REtMOeMCsu2y kESKuEPmel5QF0BGb8CiBSmC+pu0vB7QSkPCEKXsw8DQtI4CkYnDnmeM1bvwvMsO kIa0Th0sxgSvp6bG8VGxTca7e/ViMm5wTzqL9R7NfSlWuwOX5RP3OWQx8BqYeKix Ai5eQqDtFKpWbU40IqMT =xojY -----END PGP SIGNATURE----- --mgiPvHqStUXOBTSF--