From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by sourceware.org (Postfix) with ESMTPS id 098D13858C78 for ; Mon, 18 Sep 2023 08:16:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 098D13858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-52e5900cf77so5130403a12.2 for ; Mon, 18 Sep 2023 01:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695024974; x=1695629774; darn=sourceware.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wXVicwQsHhECQ1OyQ1btAFHZbA22CmkNcGxy+0KmzCE=; b=k+uSK4cJwH8zHMLyZxd3M2K0CoxmemoynmjWYnTa9kyKpZ1OZEsGxgEdhYYOlW+a9n jx17uYgtBaHFa61j/PZ/Np3JzLoPlD18LlpNluwOY9VP8IKGuPbyfDvSMLrsCi8bYgCd aqTIOJvOe7rKfC6AXXK1QA87i4+MmkyJ60KKTgtWE9/LaoZn85ZfQ75pKhkeMv/ULWMS VNzScq2kVUWksTk92eOGdQ53fItrbXFTuc97oM2gJ/JSFnfZgdMpjxz3/dXwlxzUeBZK S0Qmmf/slOpxWFNuyPd5FgIAHCPX5xmCZM+J9CWMcPF+GD2ByK/aas52kiGqSv5i9n7Q s1Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695024974; x=1695629774; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wXVicwQsHhECQ1OyQ1btAFHZbA22CmkNcGxy+0KmzCE=; b=TTVGeYT0Bb6q5Cbgnw9W1XwOi8YlEGtAPmUKIKLKwMbaACHeBgb5OOMSVLSPyfhGu6 YM35lF1isBneEdJ6PVpyjWe+vrVbFKOS3FerayNBudz8GXRhR6FJNgrA2bq68xuL4xYR +NkgcSr3d09tNlSip4nSRVYnrHVW8f7acw8dVGCHtblFdHlTVfmOoGp6JC5dbnuzB2Wk gHeqmkxs1sNoNg1xOcgOwJRNvGkEoLwVF8z91H/9Y/y/ozIMq00DYf9jSlmk3w15njby uG7sFXyNuDZ2TTnI7UFYdQLIU+PMtBH0tXSIZak5rE+igqrVID4ZLq+WsPHiDxO103rZ Io4A== X-Gm-Message-State: AOJu0Yw2DVj4vW0VszN9hbUvaqXzxpnwuV0evGsvYMaJCogrw8sgOczC cbG3owGbZGdMTMob1G4QXgPpVXTAZ0r4N2HRDZo= X-Google-Smtp-Source: AGHT+IHgzIRmV4MhfNkLTVElV7qDgs7Txv01Zpv0+UQfmjHj+Dg6sQ48+DAnUh4HINk0W4S0MDOUHwFPuuL6SYS8EmM= X-Received: by 2002:a05:6402:22fc:b0:530:c0ac:8ca1 with SMTP id dn28-20020a05640222fc00b00530c0ac8ca1mr3769683edb.42.1695024974417; Mon, 18 Sep 2023 01:16:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Chris Packham Date: Mon, 18 Sep 2023 20:16:06 +1200 Message-ID: Subject: Re: Build hangs on stdio-common for glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427 To: Boran Car Cc: libc-help@sourceware.org Content-Type: multipart/alternative; boundary="0000000000007c529306059dc1ff" X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_LOTSOFHASH,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000007c529306059dc1ff Content-Type: text/plain; charset="UTF-8" Hi Boran On Mon, 18 Sep 2023, 6:54 AM Boran Car via Libc-help, < libc-help@sourceware.org> wrote: > While using crosstools-NG and Buildroot, and even manually going into > the folder and executing make, I would end up with the build hanging > at > > `make -d subdir=stdio-common -C stdio-common ..=../ subdir_lib` > > I'm using GNU Make 4.4.1. > > I modified the Makefile to print out tracing information when hitting > stdio-common and re-ran it and I get make itself re-executing the > target, never finishing, despite the target already being built. > Here's a very short and snipped output of the trace, because it's very > noisy: > ``` > Considering target file > > '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.d'. > File > '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.d' > was considered already. > Re-executing[48]: make -d subdir=stdio-common -C stdio-common ..=../ > subdir_lib > ``` > > I can also modify the Makefile to skip stdio-common/subdir_lib and > will then get stuck in stdio-common/others, and modifying that to skip > it will get stuck on stdio-common/subdir_install. Those are the only 3 > issues, and I usually have to let them run on the first try and skip > on subsequent tries. With those changes in place, the glibc builds > successfully. > > My questions are: > - Are there any pointers where I should go looking for what's the > cause of the re-executions and how to prevent them? > - Is there anything I can use from subsequent glibc Makefiles? Was an > issue discovered with the target computation? > There is a pretty good explanation of the problem and some workarounds at https://github.com/crosstool-ng/crosstool-ng/issues/1932#issuecomment-1528139734 Using a newer glibc is probably the best solution. If you really need to use that specific version then downgrading your local version of make is another option. > --0000000000007c529306059dc1ff--