From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 894F31F4C1 for ; Tue, 29 Nov 2022 22:14:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236710AbiK2WO1 (ORCPT ); Tue, 29 Nov 2022 17:14:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236163AbiK2WOY (ORCPT ); Tue, 29 Nov 2022 17:14:24 -0500 Received: from cloud.peff.net (cloud.peff.net [104.130.231.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AE9924F0C for ; Tue, 29 Nov 2022 14:14:24 -0800 (PST) Received: (qmail 14828 invoked by uid 109); 29 Nov 2022 22:14:23 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Tue, 29 Nov 2022 22:14:23 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 24335 invoked by uid 111); 29 Nov 2022 22:14:23 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Tue, 29 Nov 2022 17:14:23 -0500 Authentication-Results: peff.net; auth=none Date: Tue, 29 Nov 2022 17:14:22 -0500 From: Jeff King To: Jeffrey Walton Cc: Git List Subject: Re: Git port to Debian SH4 may have trouble Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Tue, Nov 29, 2022 at 04:49:30PM -0500, Jeffrey Walton wrote: > > Just a hunch, but does: > > > > git config --global pack.threads 1 > > > > help? The delta resolution is multi-threaded, but nothing else in the > > clone should be. > > Yes, `git config --global pack.threads 1` allowed things to continue. > The check-out was successful. OK, that narrows it down. The question then is why threads don't work. Is there something broken with threading or luck primitives on that platform? Or are we doing something sketchy with concurrency that happens to work on Intel but not elsewhere, and we end up in some kind of deadlock? I suspect if we want to know more, you'd need to use gdb to grab a backtrace for each of the threads during the hang to see what they're trying to do. -Peff