From nobody Sat Aug 20 19:13:23 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 4M97ZD04SHz4Z3lL for ; Sat, 20 Aug 2022 19:13:24 +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 4M97ZC51Myz3p5X for ; Sat, 20 Aug 2022 19:13:23 +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 4M97ZC42JszjdY for ; Sat, 20 Aug 2022 19:13:23 +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 27KJDN7G077624 for ; Sat, 20 Aug 2022 19:13:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27KJDNRh077623 for toolchain@FreeBSD.org; Sat, 20 Aug 2022 19:13:23 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 265962] lang/gcc11: expose non-default -stdlib=libc++ support Date: Sat, 20 Aug 2022 19:13:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: 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=1661022803; 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; bh=pQ/tUYqWmIFSkUOqltHxGQ9lSAJbPa1je9cVLJsiDXw=; b=gjgvzy4FUitWDDL90oErUeIWyIo3+ntUSTocKoX0VePVuy8izueM+zt0hv+4FasPv8Z1Kx O8gBANNrkdZjTqMC8iol7Ehkf/MycFRe77Kuj6GjE9D+PHzs1A+S6bCCRs5b2g749i9zef 0ML+YDkal/YNJqDLexPOF2VatvHM+bTCLlRQGP+Ytx09+/YX2RsSJQh8KRbb9CMMDMrl85 AVFGLWUiPlhWV87Zxr5o+Agg8SvgUpYie+mDFx89udt74Od/4jOJcu951xIRc/wXOKWvWp m7Yg9nK8cOEQmORC/Tvu1dAuaKBVTNzJNCoYGJu132cb1wBWvC7xdU2XWVSMaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661022803; a=rsa-sha256; cv=none; b=gQ5W7ndkhi7oeKfw/Gfo6clCKo/XCAQUWiwE3wj49yv0Je5EFDvvVxHQrU5TRErrpXZduH iXVOlGGOXdU5BGZvVbhxTVAV+J36ZVeqAXmPsQIBHjmZudwYD3KvuKM7rqQylaFWRfNDzW rgVZb1VLhM0Wby1OuVVY8yQMfLttHnewpLJ8/B/cW4emIJ4kHvIzJDWpSE0Bw6ZC/GhsRS gKAslQBtndNbqHETbdco4wSi7F4b2HlhgYF0jwW9JmSJxcvW5QNzZWNXCDwgiHiKaoppGb fPUkbiVJMnk5jcFn+Zv2oiTiQS5CGHi8xxRQY+vlKy0I+LwEgL9q+iL2a5Gyug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265962 Bug ID: 265962 Summary: lang/gcc11: expose non-default -stdlib=3Dlibc++ support Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: toolchain@FreeBSD.org Reporter: jbeich@FreeBSD.org Flags: maintainer-feedback?(toolchain@FreeBSD.org) Assignee: toolchain@FreeBSD.org Created attachment 236025 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236025&action= =3Dedit v1 (apply via "git am") $ pkg install gcc11 $ echo 'int main() {}' >a.cc $ gcc11 -stdlib=3Dlibc++ a.cc gcc11: error: unrecognized command-line option '-stdlib=3Dlibc++' $ man gcc11 | col -b | fgrep -A9 stdlib=3D -stdlib=3Dlibstdc++,libc++ When G++ is configured to support this option, it allows specification of alternate C++ runtime libraries. Two options a= re available: libstdc++ (the default, native C++ runtime for G++) a= nd libc++ which is the C++ runtime installed on some operating syst= ems (e.g. Darwin versions from Darwin11 onwards). The option switch= es G++ to use the headers from the specified library and to emit "-lstdc++" or "-lc++" respectively, when a C++ runtime is requir= ed for linking. --=20 You are receiving this mail because: You are the assignee for the bug.=