From nobody Tue Sep 13 18:20:16 2022 X-Original-To: toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MRsFr2CnRz4c4jh for ; Tue, 13 Sep 2022 18:20:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MRsFr0Ffjz3SPP for ; Tue, 13 Sep 2022 18:20:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MRsFq6LGQzQ66 for ; Tue, 13 Sep 2022 18:20:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28DIKF9x031020 for ; Tue, 13 Sep 2022 18:20:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28DIKFcZ031019 for toolchain@FreeBSD.org; Tue, 13 Sep 2022 18:20:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 265809] clang never finishes on one particular C++ file Date: Tue, 13 Sep 2022 18:20:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd.bugs@pp.dyndns.biz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663093216; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zd2jCMiggW6jI/1cdNIrQh8YNO5SMKl3Ia3WN1lz86g=; b=QoQpAvaWAczxEToP7mHEuxa2YHk+7qKI+M9OJHeCykwcSAmK3qWcPf1SS/rqgyjR/Zb2Cb nlZl5BOHHUB0dJnMDJ1vCwSz976uSW/VeRaKnat2whoosXs2oDWQ8YEi0eSJbUhGLv3faz wLuIx7bi9KWaAJHEn4SFORjEKDILA1v2w0xmqSH6VNcSREa+O59eBUp7EL/pQKlWel3Gi6 okvNojlHORYA71x1WqSeqv6WANRbiOznnINkz7OKPP6cLl6R2kbVzonZPKSeMO6AGwB+8r IqCBhzHVNtqWnRl3bxjLL0rJ/fSNdXdp+THwJCFVgTnXVJdLax1Q1UJuZLmYWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663093216; a=rsa-sha256; cv=none; b=rNCZ7AYfCZ/v2JL6RPleJ5x/wVeKMHoOqxNTYVzPRVSQy/jpQti41HydBRHLZNOISCUEy3 XwohRxeBgXOXgZ4EmWU90GRB0+oWpoZMKeWLL+W/h1ZMI3RmV2NofO+LFC1dZgrpgSVTAG DplWJljRwWKbMWDRstBQOwW8aZ1xb7sXtIso+Ef4at809r4tgZ9yb5/w0XK/B7UsjLej/X 1wDi9SxLhD76zjKjUVYHlpjAi37crkSOhEMQcgaEuc4f4SyH8iMNMenDAKRbDbJWA7p3EO uNWzuC2P/qI9xCoAFD5O8hIf+WMF7VSE5CVQKkdPAdV0zUB/ZWcB3HjuJ605uQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265809 --- Comment #2 from Morgan Wesstr=C3=B6m --- 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.=