From nobody Wed Apr 24 19:10:44 2024 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 4VPpVG1Jblz5J9bG for ; Wed, 24 Apr 2024 19:10:46 +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 4VPpVG0K6Mz49Ww for ; Wed, 24 Apr 2024 19:10:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713985846; a=rsa-sha256; cv=none; b=IOy33+k0oL8AmrkosrSDRHCs66LGnwfsSvB4nqvC+XYrOAreUqEWYfQU9Uewlj6aMgFAfS JuFA4F67RZEp983+4U7QzZ+SC50XFbrXbhER7SDSjyv6t3Ka+6v0jbUm64TX9DnHiWM+nZ lS/SLRepOfsGSPC6n/NzFy+7jBKAjM6DquTJwGCoEgaQQ0X+bKgGwe12UrZM8dcknc8JMp pPq+ohf7HcxGFrpzLWwPGkptraP4KuP5WIxfCVXbsTe+Eir4Ymz8fGp0An65QAjEU+CrIi AS1oRPNK90yhJMJ3ZA1djRhuPsFHJU1q6qEAzaIkP/C4KLd4X2MLTD8aUOrzVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713985846; 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=9GtqCrhJb6g0+Xg8uW5tlF6vZTbR2omy8iE6WrOi0RE=; b=WkIYLYDieKGxpAk2jiZsTM5csJuaWeQy0aB2AeaSYJDcELRzYZp/7IRUnm/ROowWgbJETY LHkuqrbXnpSMTbJqSx/GkzzZN24lS6nKe57EbRGAHpyqzFXJxzNhALdbb8jshKX2w+Q+5j 6aZHRcATas25zm8dGd5n70pr9z586zXBvTWEoSBoku8tf94rXAa4tLsbmRl/Hf5BWXDb5f SwhHFpjqyq5w7MJtQzmCtykBMq3+oHJW0r5BAuP4SyEqygumD4quUy3dQa5+6YiGL4ylZn JHPJ7Wke7uYBGyGJ+pRtqw5BE3BYUHWfxTI2PogDXKMHKsrwppvicHsoW8/QRw== 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 4VPpVF72Y2zS5X for ; Wed, 24 Apr 2024 19:10:45 +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 43OJAjbs064701 for ; Wed, 24 Apr 2024 19:10:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43OJAjb6064673 for toolchain@FreeBSD.org; Wed, 24 Apr 2024 19:10:45 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 278551] lang/gcc: exceptions do not work in statically linked binaries Date: Wed, 24 Apr 2024 19:10:44 +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 Some People X-Bugzilla-Who: emaste@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: 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: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278551 --- Comment #13 from Ed Maste --- I'm using the gcc13 package, and adding -v to my g++13 command line shows t= he link invocation as: /usr/local/libexec/gcc13/gcc/x86_64-portbld-freebsd14.0/13.2.0/collect2 -plugin /usr/local/libexec/gcc13/gcc/x86_64-portbld-freebsd14.0/13.2.0/liblto_plugi= n.so -plugin-opt=3D/usr/local/libexec/gcc13/gcc/x86_64-portbld-freebsd14.0/13.2.= 0/lto-wrapper -plugin-opt=3D-fresolution=3D/tmp//cc3JPuk2.res -plugin-opt=3D-pass-through= =3D-lgcc -plugin-opt=3D-pass-through=3D-lgcc_eh -plugin-opt=3D-pass-through=3D-lpthr= ead -plugin-opt=3D-pass-through=3D-lc -plugin-opt=3D-pass-through=3D-lgcc -plugin-opt=3D-pass-through=3D-lgcc_eh -m elf_x86_64_fbsd -V -Bstatic -o ma= in_g++ /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbeginT.o -L/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd14.0/13.2.0 -L/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd14.0/13.2.0/../../../../..= /x86_64-portbld-freebsd14.0/lib -L/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd14.0/13.2.0/../../.. --eh-frame-hdr /tmp//ccQ9SSiv.o -lstdc++ -lm -lgcc -lgcc_eh -lpthread -lc -= lgcc -lgcc_eh /usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd14.0/13.2.0/crtend.o /usr/lib/crtn.o So looks like it should be libstdc++. Perhaps there's a newly-introduced is= sue, or a patch that exists only in the ports tree? --=20 You are receiving this mail because: You are the assignee for the bug.=