From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32356 invoked by alias); 27 Mar 2014 12:21:04 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 32344 invoked by uid 89); 27 Mar 2014 12:21:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 27 Mar 2014 12:21:02 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WT9In-00008q-9T for crossgcc@sourceware.org; Thu, 27 Mar 2014 13:20:57 +0100 Received: from ip41265143.globale.net ([ip41265143.globale.net]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Mar 2014 13:20:57 +0100 Received: from claude by ip41265143.globale.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Mar 2014 13:20:57 +0100 To: crossgcc@sourceware.org From: Claude Subject: Re: ct-ng build hangs forever Date: Thu, 27 Mar 2014 12:21:00 -0000 Message-ID: References: <20140327075412.5ee3a638@skate> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00015.txt.bz2 Thomas Petazzoni free-electrons.com> writes: > > > When the thing is eating 100% cpu and stuck, can you do a "ps auxf", > and give the output of the process tree that starts from the ct-ng > process? This way, we would see which thing is actually stuck. That > might help in giving a clue. > Here it is 11933 10632 make -f ct-ng build 11947 11933 /bin/bash /home /ct-ng.1.19.0/scripts/crosstool-NG.sh 16920 11947 /bin/bash /home /ct-ng.1.19.0/scripts/crosstool-NG.sh 16933 16920 /bin/bash /home /ct-ng.1.19.0/scripts/crosstool-NG.sh 16937 16933 /bin/bash /home /crosstool-ng-1.19.0/.build/src/gmp-4.3.2/configure --no-reexec --build=x86 17266 16937 /bin/bash /home /crosstool-ng-1.19.0/.build/src/gmp-4.3.2/configure --no-reexec --build=x 17267 17266 /bin/bash /home /crosstool-ng-1.19.0/.build/tools/bin/make -j 4 -j 4 -j 4 -j 4 -j 4 -j 16938 16933 /bin/bash /home/ct-ng.1.19.0/scripts/crosstool-NG.sh 16939 16938 /bin/bash /home/b /ct-ng.1.19.0/scripts/crosstool-NG.sh 16942 16939 cat - 16940 16938 /bin/bash /home/ /ct-ng.1.19.0/scripts/crosstool-NG.sh I removed some of the column because of the 80 character limit on this post system. I also cut the command line pathname. The process ID that was running 100% is 17267. Bizarre that there is no child. Using htop I looked at the command line of that PID, the -j 4 reports ad nauseam for very very very long. In a previous run, I did configure ct to use only 1 core but the -j 4 was still there. I call ct-ng using make since the first line, containing #!make, does not work, unless I modify it to include the full path of make -- For unsubscribe information see http://sourceware.org/lists.html#faq