URL: <https://savannah.gnu.org/bugs/?58979>
Summary: Recursive make using jobserver hangs at completion Project: make Submitted by: None Submitted on: Tue 18 Aug 2020 10:07:20 PM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.3 Operating System: POSIX-Based Fixed Release: None Triage Status: None _______________________________________________________ Details: Hello, I updated from make 3.81 to 4.3 and started getting a hang when make is exiting after completion. It appears to be blocked on a read (jobserver pipe, perhaps??). strace shows that the process is blocked on a read of fd 4. Any help would be greatly appreciated. -Dave Hefner Here's a snippet from the file I attached: Using host libthread_db library "/lib64/libthread_db.so.1". 0x0000003834cdb7f0 in __read_nocancel () from /lib64/libc.so.6 (gdb) bt #0 0x0000003834cdb7f0 in __read_nocancel () from /lib64/libc.so.6 #1 0x00000000004275e5 in jobserver_acquire_all () at src/posixos.c:207 #2 0x0000000000418e51 in clean_jobserver (status=0) at src/main.c:3436 #3 clean_jobserver (status=0) at src/main.c:3411 #4 0x0000000000418f2b in die (status=status@entry=0) at src/main.c:3480 #5 0x0000000000408e37 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at src/main.c:2613 (gdb) info threads Id Target Id Frame * 1 Thread 0x7fe7571c9700 (LWP 10262) "make" 0x0000003834cdb7f0 in __read_nocancel () from /lib64/libc.so.6 Here are my platform details: [root@spiderman-00 L1]# make --version GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. [root@spiderman-00 L1]# uname -a Linux spiderman-00 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [root@spiderman-00 L1]# cat /etc/redhat-release CentOS release 6.7 (Final) [root@spiderman-00 L1]# _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 18 Aug 2020 10:07:20 PM UTC Name: makeHang.txt Size: 4KiB By: None Debugger output and other details <http://savannah.gnu.org/bugs/download.php?file_id=49687> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58979> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/