Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Feb 2018 18:54:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225584] Various compile process hang on Ryzen, but not on Intel
Message-ID:  <bug-225584-8-UjwN7NrYCs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225584-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225584-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225584

--- Comment #38 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to mike from comment #37)
Try to apply the following debugging patch:

diff --git a/lib/libc/stdio/_flock_stub.c b/lib/libc/stdio/_flock_stub.c
index 069ed64c4e9..64c2d769389 100644
--- a/lib/libc/stdio/_flock_stub.c
+++ b/lib/libc/stdio/_flock_stub.c
@@ -138,4 +138,11 @@ _funlockfile(FILE *fp)
                        _pthread_mutex_unlock(&fp->_fl_mutex);
                }
        }
+       else {
+               void *p[3];
+               p[0] =3D fp;
+               p[1] =3D curthread;
+               p[2] =3D fp->_fl_owner;
+               abort2("funlockfile", 3, p);
+       }
 }

I wonder if your build dies with a kernel message after it, instead of hang=
ing.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225584-8-UjwN7NrYCs>