From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id 9938F3858D38 for ; Sun, 17 Sep 2023 19:21:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9938F3858D38 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-lf1-x134.google.com with SMTP id 2adb3069b0e04-5008d16cc36so6306251e87.2 for ; Sun, 17 Sep 2023 12:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694978500; x=1695583300; darn=sourceware.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SwKVw3WXpZlXv77ZIAUIjRcKsLTlHp5eEOR5h0+xFxo=; b=bXsYAs7U0f/EMJiXLMgTZqFycnXqbmGlqX94I1T9jApnkC5ZCHo6n8bgYetJoQ1bVK HOXod2M6WFADA4YdEGKi5rGNrnHLYfoxxi+HtuLbb1qrpaIl2XFLRCTII2Zaijd/wikp 3sT7aVGjXT5HB7pUPtXJl2f3VfMGsM84rdixyva8rO6cwyPN3b0y48N9GgGApDY8imbk AC/u3tFFt5fjHRl97XxxuOhfzP0yG7XMYPB1nafZna5G1KjT+tlPXcMGDfZA/okJe7+2 3ycUtKkKn3D0UkmYUjXIuAoEq8K8qmiIccUQ8h60Mz8Ox7en7g4+V1vGQHFR9XxB5Bd+ ziNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694978500; x=1695583300; h=content-transfer-encoding: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=SwKVw3WXpZlXv77ZIAUIjRcKsLTlHp5eEOR5h0+xFxo=; b=dzlEXJlUm8jmMgQ9NryNEFh4ROoeyJC8p5lQno9D1Q5nvl3xcI0z+x+QdT4PMu2sO8 v2Mpx+TwdzoDxfpCvGqM0j7FOhwqmZTDbBX424YWjiM6ZHiAxYEuggXo44O2ZCkT3M2w S+RVGIkRtftaZeK8TwvP768BLFlR6bZOT4QzIuZD5LO315UDBIt/xJjzs5FWugoRWt9T Lbddg3GYdoDO7VIkXCZfKXFFkXBF6mvH8r4sPZWCotoZCty0qSXMbZRRbRq9lsGcEKW/ dyddZMuHcSlAG2615X3qirutarX8Cr42rUdSwZo5ZCAd3NNC1RB7pmlvA6pDbu0bsgq7 aPLA== X-Gm-Message-State: AOJu0YynSuxcz/HECPDSHVfRZXJBr8zXy3IWokzo3dcXCk4weTWG10lK DQQD8Zq7x3fvNioYbpssdnWQMYBCV4XyJyuxsQ4OWz28UFvn8A== X-Google-Smtp-Source: AGHT+IEK6XA3kTwjW8l5NDQq7bV3Mnn1Igk4RpwDnIVPz1etl6wZS8ZuraHn14sY8DVKmr0Fe/u4zrsouWF9FZ5M2vo= X-Received: by 2002:a05:6512:6d3:b0:4fb:9168:1fce with SMTP id u19-20020a05651206d300b004fb91681fcemr7406346lff.59.1694978499508; Sun, 17 Sep 2023 12:21:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Boran Car Date: Sun, 17 Sep 2023 21:21:29 +0200 Message-ID: Subject: Re: Build hangs on stdio-common for glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427 To: libc-help@sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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: I have some more info, from stdio-common/others. It genuinely seems that .stmp and .st files are being created for every invocation. ``` Re-executing[30]: /usr/bin/make --debug=3DMakefile subdir=3Dstdio-common -C stdio-common ..=3D../ others GNU Make 4.4.1 Built for x86_64-redhat-linux-gnu Copyright (C) 1988-2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Updating makefiles.... Prerequisite '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30= -67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/versions.stmp' is newer than target '/home/boran/git/buildroot-2020.02.3/outp ut/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/sysd= -versions'. Prerequisite '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86= a458b76642f3e98b1d80f7b868e427/build/libc-modules.stmp' is newer than target '/home/boran/git/buildroot-2020.02 .3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/bui= ld/libc-modules.h'. Must remake target '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86= a458b76642f3e98b1d80f7b868e427/build/libc-modules.h'. Successfully remade target file '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86= a458b76642f3e98b1d80f7b868e427/build/libc-modules.h'. Prerequisite '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86= a458b76642f3e98b1d80f7b868e427/build/dl-tunable-list.stmp' is newer than target '/home/boran/git/buildroot-2020 .02.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/= build/dl-tunable-list.h'. Must remake target '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86= a458b76642f3e98b1d80f7b868e427/build/dl-tunable-list.h'. Successfully remade target file '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86= a458b76642f3e98b1d80f7b868e427/build/dl-tunable-list.h'. Prerequisite '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86= a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.st' is newer than target '/home/boran/git/buildroot-2020.02 .3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/bui= ld/bits/stdio_lim.h'. Must remake target '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86= a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.h'. Successfully remade target file '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86= a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.h'. Re-executing[31]: /usr/bin/make --debug=3DMakefile subdir=3Dstdio-common -C stdio-common ..=3D../ others ``` On Sun, Sep 17, 2023 at 8:53=E2=80=AFPM Boran Car wro= te: > > 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=3Dstdio-common -C stdio-common ..=3D../ 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 no= isy: > ``` > Considering target file > '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f= 86a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.d'. > File '/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g47= 48829f86a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.d' > was considered already. > Re-executing[48]: make -d subdir=3Dstdio-common -C stdio-common ..=3D../ = 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?