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 CA7E13858D32 for ; Sun, 17 Sep 2023 18:53:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA7E13858D32 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-50098cc8967so6048827e87.1 for ; Sun, 17 Sep 2023 11:53:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694976821; x=1695581621; darn=sourceware.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=J8xJXJN2o2Sj1tdxfdKYaRhk89eZguc5j73k6nobXmY=; b=T0qs673s1z8Gyyy7+SYrh0orgd6IUpaJQyxsUKebDKfaVtYXyGKz1yP6mkwhYVeyA3 MyD/nZWr7QGo1j9MDLHHK8lUXn2hqh23v9aI1lcKoplyJT5OmzM0zrywqfvTj2w9cl6h LDWteN7FMdm1jXXyAadwUrrdYUlUv2xBRuxG5wrW5ktcxDKsPXhCQHnF/GrxCKlyYcVr 91f7ExD5SpjZX72SDJGFFzfTkGCBK4YExtkyHuIsBABAiZK/t4mNord4RE+OR1YsaaYr m3oT5XDXCisCDyoJOF+/seWcHUdTbJ1lnLuTn5dg8Adt3HFGk/2Co9+0oxxILzvGKiGy Nnvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694976821; x=1695581621; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=J8xJXJN2o2Sj1tdxfdKYaRhk89eZguc5j73k6nobXmY=; b=re+PWAQ0HaXbuGm/YfysfeFx+ICifBlC0oJFsktcHUvaWraTmPJFLQuEPbdextHfvr kzWxUSbL5D3vwlzkzRs6TYqdtbvE89eo00y1aIJHsaxUuTgsmYhvWLitmo1Srf/IJRwe PZW5NqQeOHQ4l8FWKaDZP1uSV6DdEwbKfQf1PPGc8yPdi1s484A6Ds5HdtwKg1ol8P2E JJ1ofIZXKxQOp6KtXMKfJLX4gsZ+8X/RWZvw5VigQgsX6MSTsSzf6OgcssFru7+eZW+c pkLm75HwcSNTp0jfsAB0EJesKcVYzdNSmX3n+eEG8u8qoZfwXaQto90uLENfCTbYQ1OS bfWg== X-Gm-Message-State: AOJu0Yw4qw7BgG3f/epbyY4iuKxSXugxgluPbjiBslm0bDft9uqHxy15 BOuhquR9kePEJrHdc/djvjIy2YCIYwvXCKG9Y4kppVdTdvdHBw== X-Google-Smtp-Source: AGHT+IFp2o7VUq/uVnXhLL0bxTx2P4PxZ6az2kP/8I7+hIen3b7uQI9Hp1bTJ9gh4WgQI7bGxWqzoLn2fUnMZbPm2+Y= X-Received: by 2002:a05:6512:6d3:b0:502:a4f4:ced9 with SMTP id u19-20020a05651206d300b00502a4f4ced9mr6725323lff.62.1694976820565; Sun, 17 Sep 2023 11:53:40 -0700 (PDT) MIME-Version: 1.0 From: Boran Car Date: Sun, 17 Sep 2023 20:53:30 +0200 Message-ID: Subject: Build hangs on stdio-common for glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427 To: libc-help@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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: 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?