From: Boran Car <boran.car@gmail.com>
To: libc-help@sourceware.org
Subject: Re: Build hangs on stdio-common for glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427
Date: Sun, 17 Sep 2023 21:21:29 +0200 [thread overview]
Message-ID: <CAPa+MXnBavHPLSbT9+6QfLJsDv8mJNUZPFNAL5VcsKQzjWS45Q@mail.gmail.com> (raw)
In-Reply-To: <CAPa+MXmUEuKbuO+ZeJqRJYNRuUg_QDVO3kWqA=QbfETRK-s7Rg@mail.gmail.com>
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=Makefile subdir=stdio-common
-C stdio-common ..=../ 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-g4748829f86a458b76642f3e98b1d80f7b868e427/build/libc-modules.stmp'
is newer than target '/home/boran/git/buildroot-2020.02
.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/libc-modules.h'.
Must remake target
'/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/libc-modules.h'.
Successfully remade target file
'/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/libc-modules.h'.
Prerequisite
'/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/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-g4748829f86a458b76642f3e98b1d80f7b868e427/build/dl-tunable-list.h'.
Successfully remade target file
'/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/dl-tunable-list.h'.
Prerequisite
'/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.st'
is newer than target '/home/boran/git/buildroot-2020.02
.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.h'.
Must remake target
'/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.h'.
Successfully remade target file
'/home/boran/git/buildroot-2020.02.3/output/build/glibc-2.30-67-g4748829f86a458b76642f3e98b1d80f7b868e427/build/bits/stdio_lim.h'.
Re-executing[31]: /usr/bin/make --debug=Makefile subdir=stdio-common
-C stdio-common ..=../ others
```
On Sun, Sep 17, 2023 at 8:53 PM Boran Car <boran.car@gmail.com> 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?
next prev parent reply other threads:[~2023-09-17 19:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-17 18:53 Boran Car
2023-09-17 19:21 ` Boran Car [this message]
2023-09-18 8:16 ` Chris Packham
2023-09-18 11:43 ` Florian Weimer
2023-09-18 16:06 ` Boran Car
2023-09-19 21:08 ` Chris Packham
2023-10-01 11:48 ` Boran Car
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPa+MXnBavHPLSbT9+6QfLJsDv8mJNUZPFNAL5VcsKQzjWS45Q@mail.gmail.com \
--to=boran.car@gmail.com \
--cc=libc-help@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).