From nobody Fri Apr 8 20:51:34 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 D8CF11A8E8C9 for ; Fri, 8 Apr 2022 20:51:34 +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 4KZr5L4wsVz4lhB for ; Fri, 8 Apr 2022 20:51:34 +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 8AD3943B9 for ; Fri, 8 Apr 2022 20:51:34 +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 238KpY5e069307 for ; Fri, 8 Apr 2022 20:51:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 238KpYZf069306 for toolchain@FreeBSD.org; Fri, 8 Apr 2022 20:51:34 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 221423] gcc std::locale(LocaleName) crashes instead of throwing an exception Date: Fri, 08 Apr 2022 20:51:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com 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=1649451094; 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=iAyd3Er5/5TJl/e2OeXyy45ISai9FuXUHdMxIPLZ81A=; b=WmTXDnVUkgA39mKLWdUWJx4fmlJZyw4MDLPtXOLrVf4MeMUSt9H4fhvhXxXt7VquGvYwy+ xFQYeB3tWa3A4+uDlGJQ4gtMO10FSJk9jb0UzqMNUgoKbedUJvEK5Dy8/bCzKWgXrk62eZ fGLtu0aeHyrBB/R5SfcEf8Zkds01VBnxfYMaCx38eIuaePeD6WcxniFQdsU1MbueOlHpdS dwwanCT7FclTMjnIGdAhpPj23J/5NEeoLl3PWFUWlOZBz6vWssSprwaW3pRqbhk9Aysp1g VLpeAywpKnyVQvd78CyUPiBlFXmisLbbCuGWCOb+9FLue0J9sIbqPHzqO5nLlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649451094; a=rsa-sha256; cv=none; b=QqpeKbMZHotAY0wPPcwK1jLS1T/filaSJLo+wOImT8HpYy8Y3OboIJ6W4KN5fbCVMuURwb kJ1jgyBqtfn0MFqd+gQJByLXG3qO1mbc/dxuKrL5R9+D7+Ucb4SqNIsjXF3QqtoKqDOluW VnNwrlsyQizfSMGMv0FPttAT7HQ3sz5dJuZJs+xI/aq0xZRLmHG5dTgRrOsY6G83EkXl/z +eBONfmofPQbvM6XE5M8MTt1kIyx1+PN+6Ss0NrWKjiPj0VQeD7Kbm80lh4U0eYzICpxUn MwmBqbJ33fB+AXBSzLVwBAZlsePA9RnCqnYZxpJsz6eEKZYIN7TdBtZ1vIgUsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221423 --- Comment #34 from Mark Millard --- (In reply to Konstantin Belousov from comment #24) The following 6 line c++ program is sufficient to demonstrate the __unordtf2@GCC_4.5.0 binding failure when targeting aarch64: # more fp-binding-failure-aarch64.cpp #include volatile long double v=3DNAN; int main() { return std::isnan(v) ? 1 : 0; } # g++11 fp-binding-failure-aarch64.cpp # ./a.out ld-elf.so.1: /lib/libgcc_s.so.1: version GCC_4.5.0 required by /usr/home/root/c_tests/a.out not found Note that the complaint is not about a reference in /usr/local/lib/gcc11/libstdc++.so.6 but about the a.out that has its own reference to __unordtf2@GCC_4.5.0 : # nm -a a.out | grep '@GCC_[4-9]\.' | more U __unordtf2@GCC_4.5.0 For reference . . . # ldd a.out a.out: libstdc++.so.6 =3D> /usr/local/lib/gcc11/libstdc++.so.6 (0x83000000) libm.so.5 =3D> /lib/libm.so.5 (0x81834000) libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x8275a000) libc.so.7 =3D> /lib/libc.so.7 (0x845f3000) --=20 You are receiving this mail because: You are the assignee for the bug.=