From nobody Thu Apr 07 14:36:12 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 9641E1A8022B for ; Thu, 7 Apr 2022 14:36:13 +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 4KZ3pj34fJz4qqF for ; Thu, 7 Apr 2022 14:36:13 +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 4A535120A8 for ; Thu, 7 Apr 2022 14:36:13 +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 237EaDg6074216 for ; Thu, 7 Apr 2022 14:36:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 237EaDo9074215 for toolchain@FreeBSD.org; Thu, 7 Apr 2022 14:36:13 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: Thu, 07 Apr 2022 14:36:12 +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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=1649342173; 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=ErV0JMnayEfxZRD9GFGekKiUgzxhk7qH70MJDisofn4=; b=ZtD2BWu4WQlJ+ZpI/oOEYwqRJ6+IOUA7k1JgzVYBEK8UNs2Tw2RJB5IMenMIqfsireU5Xx t3zIzbM349WJuhgNuFUpFb4C6NrTxd0OoyrrXGdN8U89WB2xRN6h4BlNsKCoGuYVn0uzAv ZwiCVJhfWRMoobeogwCe2rRX3L5qRFED2B5nP3tiAZMnnqEGdNW01kOWfG1WXTK3kkmvZJ 9hxaSKlcoSTvDqhuKWe488QRG9Vl5L1ig4PSeLdMeWtNIgcfPviGSt62smsyciS/wWzID9 ZSnifbfo2DRAOPuFK9TVk6u4kig5WA7eYzuJBA/RsnJekGrw6ByzgEL3oaSNYQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649342173; a=rsa-sha256; cv=none; b=pNz9JPf0DqFlLEbKyYDcePu293uFBZe0WrTHJmx2tAo+WbQqalt1CL1xILBc1EBNkgLT/4 766RpN7Aw6lsDPXORedDboijfPpaB0C0JtXYSnM4VwYxiLLEK8/YkzL9vJf0m8YABkRn8b n7DzUlWP9yrvEwebyvougwH5VMBtGMQnD9wlFH/zG38gn74lNrCuM1nmn/qACXeH0D93bR 4BOUkMaBsdivTzlv/82o0kozEqyzdZKFI7oOrDfQl9V8ao6spjYa2Ls4ju65cHOqmWJjPb vstZiIBUYFeoyNDweCBJWBGH2vjPiBj7JR9o4REUvao+A3eF1jYlx+rWv/JwyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221423 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #15 from Dimitry Andric --- (In reply to Gerald Pfeifer from comment #14) There's something in the ports gccs that makes them all link automatically = to /usr/local/lib/gcc10/libstdc++.so.6: % for i in 8 9 10 11; do g++$i bug22143.cpp -o bug221423-gcc$i; done % for i in 8 9 10 11; do ldd ./bug221423-gcc$i; done ./bug221423-gcc8: libstdc++.so.6 =3D> /usr/local/lib/gcc10/libstdc++.so.6 (0x82166300= 0) libm.so.5 =3D> /lib/libm.so.5 (0x8226cc000) libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x823302000) libc.so.7 =3D> /lib/libc.so.7 (0x8245ed000) ./bug221423-gcc9: libstdc++.so.6 =3D> /usr/local/lib/gcc10/libstdc++.so.6 (0x822cd300= 0) libm.so.5 =3D> /lib/libm.so.5 (0x8218a1000) libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x822089000) libc.so.7 =3D> /lib/libc.so.7 (0x823e62000) ./bug221423-gcc10: libstdc++.so.6 =3D> /usr/local/lib/gcc10/libstdc++.so.6 (0x82206e00= 0) libm.so.5 =3D> /lib/libm.so.5 (0x823de2000) libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x822ec6000) libc.so.7 =3D> /lib/libc.so.7 (0x8246c0000) ./bug221423-gcc11: libstdc++.so.6 =3D> /usr/local/lib/gcc10/libstdc++.so.6 (0x821ed000= 0) libm.so.5 =3D> /lib/libm.so.5 (0x82176b000) libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x8229b1000) libc.so.7 =3D> /lib/libc.so.7 (0x822ad4000) I don't have to pass any rpath options, something implicitly stuffs in the gcc10 libdstdc++.so. And none of the executables crash here... FreeBSD 14-CURRENT as of ~2022-03= -31. --=20 You are receiving this mail because: You are the assignee for the bug.=