Date: Tue, 13 Sep 2022 18:20:16 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 265809] clang never finishes on one particular C++ file Message-ID: <bug-265809-29464-aK9Pj0sDR7@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265809-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-265809-29464@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=3D265809 --- Comment #2 from Morgan Wesstr=C3=B6m <freebsd.bugs@pp.dyndns.biz> --- I believe I'm hitting the same or a related problem after source upgrading = from FreeBSD-13.0-RELEASE-p5 to FreeBSD-13.1-RELEASE-p2. When recompiling all po= rts afterwards it gets stuck consistently on the same file from databases/mariadb105-server-10.5.17: /usr/ports/databases/mariadb105-server/work/mariadb-10.5.17/storage/innobas= e/pars/pars0sym.cc The compilation process gets stuck at 100% cpu but produces no output to the object file and truss(1) shows no syscalls at this point. I let it sit for = 8+ hours in this state but it never progressed so I killed the process at that point. I quickly installed a fresh FreeBSD-13.1-p2 in a virtual machine and verifi= ed that the ports compilation worked there. The only thing that differs betwee= n my machines and a default setup are a few exclusions in /etc/src.conf and a CPUTYPE?=3Dbonnell directive in /etc/make.conf I reverted those changes and recompiled my system and then the ports compilation of mariadb105-server worked normally again. I restored the CPUTYPE?=3Dbonnell and recompiled the system again and once more the compil= ation of mariadb gets stuck at the exact same file. My knowledge is limited and I don't know how to track down the problem furt= her but the CPUTYPE directive adds a -march=3D to the compiler arguments just a= s the original post shows. Perhaps there's a malfunction here in the clang/llvm 13 version included in FreeBSD-13.1? I had no such problems with clang/llvm 11= in FreeBSD-13.0. As an extra test I also tried to compile mariadb106-server and it experienc= es the exact same stuck behaviour, albeit on a different file but in the same directory. I forgot to make a note of that filename unfortunately. --=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-265809-29464-aK9Pj0sDR7>