From owner-freebsd-toolchain@freebsd.org Sun May 17 11:07:11 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 652792CD520 for ; Sun, 17 May 2020 11:07:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49Pzqz26pcz4FDK for ; Sun, 17 May 2020 11:07:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 48BCB2CD52B; Sun, 17 May 2020 11:07:11 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4882D2CD243 for ; Sun, 17 May 2020 11:07:11 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Pzqz195zz4F5s for ; Sun, 17 May 2020 11:07:11 +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 23604F4C8 for ; Sun, 17 May 2020 11:07:11 +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 04HB7BWq050323 for ; Sun, 17 May 2020 11:07:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04HB7B1D050322 for toolchain@FreeBSD.org; Sun, 17 May 2020 11:07:11 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 246488] gcc-built binary crashes in std::ios_base::Init::Init() Date: Sun, 17 May 2020 11:07:11 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fernape@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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2020 11:07:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246488 --- Comment #2 from Fernando Apestegu=C3=ADa --- It's difficult to extract the minimal case. The vsp executable requires qui= te a few libraries both from system and in its own distribution: /usr/local/bin/g++9 -O2 -pipe -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9 -lgcc -lstdc++ -Wl,-rpath=3D/usr/local/li= b/gcc9 -isystem /usr/local/include -fPIC -std=3Dc++11 -fPIC -O3 -DNDEBUG=20 -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9 -L/usr/local/lib/= gcc9 CMakeFiles/vsp.dir/common.cpp.o CMakeFiles/vsp.dir/main.cpp.o -o vsp=20 -Wl,-rpath,/usr/local/lib: ../geom_api/libgui_interface_g.a ../gui_and_draw/libgui_and_draw.a ../geom_core/libgeom_core.a ../geom_api/libgeom_api_g.a ../cfd_mesh/libcfd_mesh.a ../external/triangle/libtriangle.a ../fltk_screens/libscreens.a ../xmlvsp/libxmlvsp.a ../external/sixseries/libsixseries.a ../util/libutil.a ../external/tritri/libtritri.a ../external/clipper/libclipper.a ../external/angelscript/sdk/angelscript/lib/libAngelscript.a ../external/cartesian/libcartesian.a ../external/wavedragEL/libwavedragEL.a ../external/Pinocchio/Pinocchio/libpinocchio.a /wrkdirs/usr/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libraries-b= uild/CPPTEST-prefix/lib/libcpptest.a -L/usr/local/lib -lxml2 -lpthread -llzma -lz -L/usr/lib -lm /usr/local/lib/libfltk_images.so /usr/local/lib/libfltk_forms.so /usr/local/lib/libfltk_gl.so /usr/local/lib/libGL.so /usr/local/lib/libfltk= .so /usr/local/lib/libSM.so /usr/local/lib/libICE.so /usr/local/lib/libX11.so /usr/local/lib/libXext.so -lm /usr/local/lib/libGL.so /usr/local/lib/libGLU= .so /wrkdirs/usr/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libraries-b= uild/CMINPACK-prefix/lib/libcminpack.a /wrkdirs/usr/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libraries-b= uild/STEPCODE-prefix/src/STEPCODE/../sc-install/lib/libsdai_ap203.a /wrkdirs/usr/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libraries-b= uild/STEPCODE-prefix/src/STEPCODE/../sc-install/lib/libstepeditor.a /wrkdirs/usr/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libraries-b= uild/STEPCODE-prefix/src/STEPCODE/../sc-install/lib/libstepcore.a /wrkdirs/usr/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libraries-b= uild/STEPCODE-prefix/src/STEPCODE/../sc-install/lib/libstepdai.a /wrkdirs/usr/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libraries-b= uild/STEPCODE-prefix/src/STEPCODE/../sc-install/lib/libsteputils.a /wrkdirs/usr/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libraries-b= uild/STEPCODE-prefix/src/STEPCODE/../sc-install/lib/libbase.a /wrkdirs/usr/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libraries-b= uild/LIBIGES-prefix/lib/libiges_static.a ../vsp_graphic/libvsp_graphic.a /usr/local/lib/libGLEW.so ../external/glfont2/libglfont2.a ../external/stb/libstb_image.a /wrkdirs/usr/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libraries-b= uild/EXPRPARSE-prefix/lib/libexprparse.a /usr/local/lib/libGL.so /usr/local/lib/libGLU.so --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sun May 17 21:00:03 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4A7F42F5B2B for ; Sun, 17 May 2020 21:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49QF031KwFz3TPn for ; Sun, 17 May 2020 21:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2DB742F5C96; Sun, 17 May 2020 21:00:03 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2D7AD2F5E19 for ; Sun, 17 May 2020 21:00:03 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49QF030TV9z3TPm for ; Sun, 17 May 2020 21:00:03 +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 E65511662A for ; Sun, 17 May 2020 21:00:02 +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 04HL02v7030108 for ; Sun, 17 May 2020 21:00:02 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04HL028B030107 for toolchain@FreeBSD.org; Sun, 17 May 2020 21:00:02 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202005172100.04HL028B030107@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: toolchain@FreeBSD.org Subject: Problem reports for toolchain@FreeBSD.org that need special attention Date: Sun, 17 May 2020 21:00:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2020 21:00:03 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 234232 | clang Assertion failed when building the port dev Open | 245179 | lld: wrong/misleading "SHF_MERGE section size mus In Progress | 245677 | ldd fails to work on some binaries ("No space ava 3 problems total for which you should take action. From owner-freebsd-toolchain@freebsd.org Mon May 18 16:10:53 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B5C8E2CEC8B for ; Mon, 18 May 2020 16:10:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49QkWx4TFBz3yQF for ; Mon, 18 May 2020 16:10:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 97BFC2CEC8A; Mon, 18 May 2020 16:10:53 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9781B2CEB74 for ; Mon, 18 May 2020 16:10:53 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49QkWx3W8yz3yds for ; Mon, 18 May 2020 16:10:53 +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 73FC6240F8 for ; Mon, 18 May 2020 16:10:53 +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 04IGArH0035718 for ; Mon, 18 May 2020 16:10:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04IGArVb035717 for toolchain@FreeBSD.org; Mon, 18 May 2020 16:10:53 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 246322] ld.bfd error on releng/11.4 confuses many autoconf scripts Date: Mon, 18 May 2020 16:10:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.4-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 16:10:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246322 --- Comment #12 from Conrad Meyer --- (In reply to Dimitry Andric from comment #4) > The directives got turned on by emaste in https://github.com/llvm/llvm- > project/commit/cb1761465a0d, referring in his commit message to bug 241562 > ("failing test case: lib.libexecinfo.backtrace_test.backtrace_fmt_basic"). Sort of; they were on before that, but only for amd64. That change just unified the behavior for all arch. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Mon May 18 16:12:46 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 017282CEEAC for ; Mon, 18 May 2020 16:12:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49QkZ56KKbz3yrF for ; Mon, 18 May 2020 16:12:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D8FC02CED3A; Mon, 18 May 2020 16:12:45 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8C862CEF10 for ; Mon, 18 May 2020 16:12:45 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49QkZ55Vkbz3yW9 for ; Mon, 18 May 2020 16:12:45 +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 B84EA2438D for ; Mon, 18 May 2020 16:12: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 04IGCjTd045276 for ; Mon, 18 May 2020 16:12:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04IGCjuM045275 for toolchain@FreeBSD.org; Mon, 18 May 2020 16:12: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 246322] ld.bfd error on releng/11.4 confuses many autoconf scripts Date: Mon, 18 May 2020 16:12:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.4-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_file_loc 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 16:12:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246322 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 465 | |37 --- Comment #13 from Conrad Meyer --- (Link to regression introduced by this change: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246537 ) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Mon May 18 16:15:21 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 003CF2CECC8 for ; Mon, 18 May 2020 16:15:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49Qkd468Zcz406p for ; Mon, 18 May 2020 16:15:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D18B82CECC7; Mon, 18 May 2020 16:15:20 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D155E2CECC6 for ; Mon, 18 May 2020 16:15:20 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Qkd44x26z3yrg for ; Mon, 18 May 2020 16:15:20 +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 A0A0523DEB for ; Mon, 18 May 2020 16:15:20 +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 04IGFKXg048880 for ; Mon, 18 May 2020 16:15:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04IGFKJw048879 for toolchain@FreeBSD.org; Mon, 18 May 2020 16:15:20 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 246488] gcc-built binary crashes in std::ios_base::Init::Init() Date: Mon, 18 May 2020 16:15:20 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some 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: 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 16:15:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246488 --- Comment #3 from Dimitry Andric --- (In reply to Fernando Apestegu=C3=ADa from comment #0) In your patch I see:=20 CXXFLAGS+=3D -lgcc -lstdc++ CPPFLAGS+=3D -lgcc -lstdc++ that's never going to work of course, you are mixing two C++ libraries. Eit= her compile everything (and that really means everything :) with libstdc++, or = make gcc use libc++'s headers and libraries. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Mon May 18 17:50:40 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 11C0D2D9272 for ; Mon, 18 May 2020 17:50:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49Qml35cShz45j7 for ; Mon, 18 May 2020 17:50:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BEB072D9271; Mon, 18 May 2020 17:50:39 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE73F2D8D36 for ; Mon, 18 May 2020 17:50:39 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Qml34h7Jz45t6 for ; Mon, 18 May 2020 17:50:39 +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 9C3C9253D2 for ; Mon, 18 May 2020 17:50:39 +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 04IHodqd044012 for ; Mon, 18 May 2020 17:50:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04IHodhg044009 for toolchain@FreeBSD.org; Mon, 18 May 2020 17:50:39 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 246488] gcc-built binary crashes in std::ios_base::Init::Init() Date: Mon, 18 May 2020 17:50:37 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 17:50:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246488 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #4 from Dimitry Andric --- I tried with the following diff instead: Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Makefile (revision 535286) +++ Makefile (working copy) @@ -13,7 +13,7 @@ LICENSE_NAME=3D NASA Open Source Agreement version 1 LICENSE_FILE=3D ${WRKSRC}/LICENSE LICENSE_PERMS=3D dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -BROKEN=3D fails to link +#BROKEN=3D fails to link BROKEN_aarch64=3D fails to compile: invokes x86 asm LIB_DEPENDS=3D libdrm.so:graphics/libdrm \ @@ -27,7 +27,7 @@ BUILD_DEPENDS=3D ${LOCALBASE}/lib/libopenNURBS.a:g= ra ${LOCALBASE}/include/glm/glm.hpp:math/glm \ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs -USES=3D compiler:c++11-lang cmake:noninja localbase\ +USES=3D compiler:gcc-c++11-lib compiler:openmp cmake:noninja loca= lbase\ gl gnome jpeg xorg USE_GITHUB=3D yes GH_PROJECT=3D OpenVSP @@ -57,7 +57,7 @@ USE_GNOME=3D libxml2 # See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230888 .if ${OPSYS} =3D=3D FreeBSD .if (${OSVERSION} < 1200000 || ${OSVERSION} >=3D1300000) -BROKEN=3D undefined reference to __atomic_load +#BROKEN=3D undefined reference to __atomic_load .endif .endif but it errors out pretty quickly with a gcc error: [ 18%] Building CXX object src/cldai/CMakeFiles/stepdai-static.dir/sdaiBinary.cc.o In file included from /usr/include/c++/v1/__tree:15, from /usr/include/c++/v1/map:479, from /wrkdirs/share/dim/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libra= ries-build/STEPCODE-prefix/src/STEPCODE/src/clstepcore/sdaiApplication_inst= ance.cc:13: /usr/include/c++/v1/memory: In instantiation of 'constexpr std::__1::__compressed_pair_elem<_Tp, _Idx, _CanBeEmptyBase>::__compressed_pair_elem(_Up&&) [with _Up =3D long int; =3D void; _Tp =3D std::__1::basic_string, std::__1::allocator >*; int _Idx =3D 0; = bool _CanBeEmptyBase =3D false]': /usr/include/c++/v1/memory:2289:72: required from 'constexpr std::__1::__compressed_pair<_T1, _T2>::__compressed_pair(_U1&&, _U2&&) [with _U1 =3D long int; _U2 =3D std::__1::allocator, std::__1::allocator > >; _T1 =3D std::__1::basic_string, std::__1::allocator >*; _T2 =3D std::__1::allocator, std::__1::allocator > >]' /usr/include/c++/v1/vector:455:41: required from 'std::__1::__vector_base<_Tp, _Allocator>::__vector_base(std::__1::__vector_base<_Tp, _Allocator>::allocator_type&&) [with _Tp =3D std::__1::basic_string, std::__1::allocator >; _Allocator =3D std::__1::allocator, std::__1::allocator > >; std::__1::__vector_base<_Tp, _Allocator>::allocator_type =3D std::__1::allocator, std::__1::allocator > >]' /usr/include/c++/v1/vector:1249:82: required from 'std::__1::vector<_Tp, _Alloc>::vector(const std::__1::vector<_Tp, _Alloc>&) [with _Tp =3D std::__1::basic_string, std::__1::allocator >; _Allocator =3D std::__1::allocator, std::__1::allocator > >]' /wrkdirs/share/dim/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libra= ries-build/STEPCODE-prefix/src/STEPCODE/src/clstepcore/dictSchema.h:66:16: required from here /usr/include/c++/v1/memory:2204:42: error: invalid conversion from 'long in= t' to 'std::__1::basic_string, std::__1::allocator >*' [-fpermissive] 2204 | : __value_(_VSTD::forward<_Up>(__u)) | ^ | | | long int /usr/include/c++/v1/memory: In instantiation of 'constexpr std::__1::__compressed_pair_elem<_Tp, _Idx, _CanBeEmptyBase>::__compressed_pair_elem(_Up&&) [with _Up =3D long int; =3D void; _Tp =3D recursiveEntDescripIterator::queue_pair**; int _Idx =3D 0; bool _CanBeEmpty= Base =3D false]': /usr/include/c++/v1/memory:2289:72: required from 'constexpr std::__1::__compressed_pair<_T1, _T2>::__compressed_pair(_U1&&, _U2&&) [with _U1 =3D long int; _U2 =3D std::__1::allocator&; _T1 =3D recursiveEntDescripIterator::queue_pair**; _T2 =3D std::__1::allocator&]' /usr/include/c++/v1/__split_buffer:316:30: required from 'std::__1::__split_buffer<_Tp, _Allocator>::__split_buffer(std::__1::__split_buffer<_Tp, _Allocator>::size_type, std::__1::__split_buffer<_Tp, _Allocator>::size_typ= e, std::__1::__split_buffer<_Tp, _Allocator>::__alloc_rr&) [with _Tp =3D recursiveEntDescripIterator::queue_pair*; _Allocator =3D std::__1::allocator&; std::__1::__split_buffer<_Tp, _Allocator>::size_type =3D long unsigned int; std::__1::__split_buffer<_Tp, _Allocator>::__alloc_rr =3D std::__1::allocator]' /usr/include/c++/v1/deque:2596:13: required from 'void std::__1::deque<_T= p, _Allocator>::__add_back_capacity() [with _Tp =3D recursiveEntDescripIterator::queue_pair; _Allocator =3D std::__1::allocator]' /usr/include/c++/v1/deque:1928:9: required from 'void std::__1::deque<_Tp, _Allocator>::push_back(const value_type&) [with _Tp =3D recursiveEntDescripIterator::queue_pair; _Allocator =3D std::__1::allocator; std::__1::deque<_Tp, _Allocator>::value_type =3D recursiveEntDescripIterator::queue_pair]' /wrkdirs/share/dim/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libra= ries-build/STEPCODE-prefix/src/STEPCODE/src/clstepcore/SubSuperIterators.h:= 30:34: required from here /usr/include/c++/v1/memory:2204:42: error: invalid conversion from 'long in= t' to 'recursiveEntDescripIterator::queue_pair**' [-fpermissive] [ 19%] Building CXX object src/clutils/CMakeFiles/steputils.dir/dirobj.cc.o /wrkdirs/share/dim/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libra= ries-build/STEPCODE-prefix/src/STEPCODE/src/clstepcore/sdaiApplication_inst= ance.cc: In function 'SDAI_Application_instance* ReadEntityRef(std::__1::istream&, ErrorDescriptor*, const char*, InstMgrBase*, int)': /wrkdirs/share/dim/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libra= ries-build/STEPCODE-prefix/src/STEPCODE/src/clstepcore/sdaiApplication_inst= ance.cc:680:33: warning: this statement may fall through [-Wimplicit-fallthrough=3D] 680 | err->GreaterSeverity( SEVERITY_WARNING ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /wrkdirs/share/dim/ports/cad/openvsp/work/.build/Libraries-prefix/src/Libra= ries-build/STEPCODE-prefix/src/STEPCODE/src/clstepcore/sdaiApplication_inst= ance.cc:682:9: note: here 682 | case '#': { | ^~~~ As gcc's error messages are very hard to read, and clang does not produce t= hese particular errors, it will be interesting to debug :) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Mon May 18 17:58:42 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B83042D95EF for ; Mon, 18 May 2020 17:58:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49QmwL3P0Nz46NK for ; Mon, 18 May 2020 17:58:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 727712D887C; Mon, 18 May 2020 17:58:42 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 723CD2D887B for ; Mon, 18 May 2020 17:58:42 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49QmwL2SP7z46NJ for ; Mon, 18 May 2020 17:58:42 +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 35E2024FDF for ; Mon, 18 May 2020 17:58:42 +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 04IHwgen065922 for ; Mon, 18 May 2020 17:58:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04IHwgN5065921 for toolchain@FreeBSD.org; Mon, 18 May 2020 17:58:42 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 246488] gcc-built binary crashes in std::ios_base::Init::Init() Date: Mon, 18 May 2020 17:58:42 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fernape@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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 17:58:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246488 --- Comment #5 from Fernando Apestegu=C3=ADa --- Removing the CPPFLAGS and still having USE_GCC=3D 9+ builds but segfaults w= ith identical backtrace: Program received signal SIGSEGV, Segmentation fault. 0x0000000802efba18 in vtable for __cxxabiv1::__si_class_type_info () from /lib/libcxxrt.so.1 (gdb) bt #0 =C2=A00x0000000802efba18 in vtable for __cxxabiv1::__si_class_type_info = () from /lib/libcxxrt.so.1 #1 =C2=A00x000000080234f3e6 in __dynamic_cast () from /usr/local/lib/gcc9/libstdc++.so.6 #2 =C2=A00x00000008023d1e8e in bool std::has_facet >(std::= locale const&) () from /usr/local/lib/gcc9/libstdc++.so.6 #3 =C2=A00x00000008023c3bd4 in std::basic_ios >::_M_cache_locale(std::locale const&) () from /usr/local/lib/gcc9/libstdc++.so.6 #4 =C2=A00x00000008023c4070 in std::basic_ios >::init(std::basic_streambuf >*) () =C2=A0 =C2=A0from /usr/local/lib/gcc9/libstdc++.so.6 #5 =C2=A00x0000000802363463 in std::ios_base::Init::Init() () from /usr/local/lib/gcc9/libstdc++.so.6 #6 =C2=A00x000000000049f60d in ?? () #7 =C2=A00x000000080194846e in ?? () from /libexec/ld-elf.so.1 #8 =C2=A00x00007fffffffc818 in ?? () #9 =C2=A00x0000000801975800 in ?? () #10 0x0000000000000000 in ?? () The executable is linked against both libstdc++ and libc++ fernape@beastie:~/FreeBSD-repos/ports/head/cad/openvsp$ ldd /usr/local/bin/= vsp | grep '\+\+' =C2=A0 =C2=A0 =C2=A0 =C2=A0 libstdc++.so.6 =3D> /usr/local/lib/gcc9/libstdc= ++.so.6 (0x8022ab000) =C2=A0 =C2=A0 =C2=A0 =C2=A0 libc++.so.1 =3D> /usr/lib/libc++.so.1 (0x802e0f= 000) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Mon May 18 19:20:56 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4DEC92DB326 for ; Mon, 18 May 2020 19:20:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49QplD1PvKz4Cnj for ; Mon, 18 May 2020 19:20:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 305C42DB0EC; Mon, 18 May 2020 19:20:56 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 302282DB275 for ; Mon, 18 May 2020 19:20:56 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49QplD0Y2fz4D0q for ; Mon, 18 May 2020 19:20:56 +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 0E38D26259 for ; Mon, 18 May 2020 19:20:56 +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 04IJKtSc054615 for ; Mon, 18 May 2020 19:20:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04IJKtEL054614 for toolchain@FreeBSD.org; Mon, 18 May 2020 19:20:55 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 246488] gcc-built binary crashes in std::ios_base::Init::Init() Date: Mon, 18 May 2020 19:20:53 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some 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: 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 19:20:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246488 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #6 from Mark Millard --- (In reply to Dimitry Andric from comment #4) Hmm: -USES=3D compiler:c++11-lang cmake:noninja localbase\ +USES=3D compiler:gcc-c++11-lib compiler:openmp cmake:noninja loca= lbase\ gl gnome jpeg xorg vs. . . . /sdaiApplication_instance.cc:13: /usr/include/c++/v1/memory: In instantiation of . . . Looks like a FreeBSD libc++ header is in use for an intended gcc libstdc++ library use? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Mon May 18 19:25:23 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE2172DB763 for ; Mon, 18 May 2020 19:25:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49QprM5B2lz4DCr for ; Mon, 18 May 2020 19:25:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B1D962DB762; Mon, 18 May 2020 19:25:23 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B19C52DB791 for ; Mon, 18 May 2020 19:25:23 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49QprM4FF5z4DPd for ; Mon, 18 May 2020 19:25: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 825E02647D for ; Mon, 18 May 2020 19:25: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 04IJPNEN069134 for ; Mon, 18 May 2020 19:25:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04IJPN93069133 for toolchain@FreeBSD.org; Mon, 18 May 2020 19:25: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 246488] gcc-built binary crashes in std::ios_base::Init::Init() Date: Mon, 18 May 2020 19:25:23 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some 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: 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 19:25:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246488 --- Comment #7 from Dimitry Andric --- (In reply to Mark Millard from comment #6) Yes, that is precisely the point, you want to use libc++ headers and librar= ies. You can use g++ as a compiler, but you should *not* use libstdc++ with it. = That is, unless you can ensure 100% that no C++ code compiled for libc++ and libstdc++ ever mix. Which definitely is not the case for this port... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Mon May 18 20:29:46 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 309542DCC32 for ; Mon, 18 May 2020 20:29:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49QrGf0TRQz4Jj8 for ; Mon, 18 May 2020 20:29:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0DDE72DCB27; Mon, 18 May 2020 20:29:46 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C8C42DCD48 for ; Mon, 18 May 2020 20:29: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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49QrGd5WpXz4Jj6 for ; Mon, 18 May 2020 20:29:45 +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 B91292743F for ; Mon, 18 May 2020 20:29: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 04IKTjU0056383 for ; Mon, 18 May 2020 20:29:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04IKTjnq056382 for toolchain@FreeBSD.org; Mon, 18 May 2020 20:29: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 246488] gcc-built binary crashes in std::ios_base::Init::Init() Date: Mon, 18 May 2020 20:29:45 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 20:29:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246488 --- Comment #8 from Mark Millard --- (In reply to Dimitry Andric from comment #7) .if ${_COMPILER_ARGS:Mfeatures} .if defined(_CXXINTERNAL_${_CXX_hash}) _CXXINTERNAL=3D ${_CXXINTERNAL_${_CXX_hash}} .else _CXXINTERNAL!=3D ${CXX} -\#\#\# /dev/null 2>&1 _CXXINTERNAL_${_CXX_hash}=3D ${_CXXINTERNAL} PORTS_ENV_VARS+=3D _CXXINTERNAL_${_CXX_hash} .endif .if ${_CXXINTERNAL:M\"-lc++\"} COMPILER_FEATURES=3D libc++ .else COMPILER_FEATURES=3D libstdc++ .endif When I the command with -### for g++9 I find a: "-lstdc++" and no instance of -lc++. So I get COMPILER_FEATURES being libstdc++ . Then later I see: .if ${_COMPILER_ARGS:Mgcc-c++11-lib} USE_GCC=3D yes CHOSEN_COMPILER_TYPE=3D gcc .if ${COMPILER_FEATURES:Mlibc++} CXXFLAGS+=3D -nostdinc++ -isystem /usr/include/c++/v1 LDFLAGS+=3D -L${WRKDIR} _USES_configure+=3D 200:gcc-libc++-configure gcc-libc++-configure: @${LN} -fs /usr/lib/libc++.so ${WRKDIR}/libstdc++.so .endif .endif which would not set the likes of -nostdinc++ and related material. Have I missed something? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Mon May 18 20:48:49 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 55A7C2DD13A for ; Mon, 18 May 2020 20:48:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49Qrhd1g5Pz4LCr for ; Mon, 18 May 2020 20:48:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 375A92DD139; Mon, 18 May 2020 20:48:49 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3721D2DD403 for ; Mon, 18 May 2020 20:48:49 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Qrhd0mmpz4L6J for ; Mon, 18 May 2020 20:48:49 +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 11C9C2779D for ; Mon, 18 May 2020 20:48:49 +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 04IKmmYE033899 for ; Mon, 18 May 2020 20:48:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04IKmmcw033898 for toolchain@FreeBSD.org; Mon, 18 May 2020 20:48:48 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 246488] gcc-built binary crashes in std::ios_base::Init::Init() Date: Mon, 18 May 2020 20:48:48 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 20:48:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246488 --- Comment #9 from Mark Millard --- (In reply to Mark Millard from comment #8) I've never made a FreeBSD port force a gcc to be libc++ based but I have done such in Makefiles of my own software on FreeBSD. I used (extracted examples): CXX=3D g++9 -v -std=3Dc++17 -Wno-psabi -nostdinc -nostdinc++ -I/usr/include/c++/v1 -I/usr/include and for use in linking: LDCXX=3D -nodefaultlibs -lc++ -lcxxrt -lthr -lm -lc -lgcc_s This gives a hint at the options I'd expect to be in use (other than -v and -std=3D...). When I looked around it did not appear to me that the FreeBSD ports infrastructure was set up to deal with g++*'s using libc++ --only with clang++ dealing with either libc++ or libstdc++ . --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Tue May 19 11:25:47 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C8502CC0B7 for ; Tue, 19 May 2020 11:25:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49RD8W3GrZz4PWW for ; Tue, 19 May 2020 11:25:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6E9202CC0B6; Tue, 19 May 2020 11:25:47 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6E5962CC083 for ; Tue, 19 May 2020 11:25:47 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49RD8W2MC7z4P4N for ; Tue, 19 May 2020 11:25:47 +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 481AD9FC3 for ; Tue, 19 May 2020 11:25:47 +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 04JBPlYC076191 for ; Tue, 19 May 2020 11:25:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04JBPlIY076190 for toolchain@FreeBSD.org; Tue, 19 May 2020 11:25:47 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 246488] gcc-built binary crashes in std::ios_base::Init::Init() Date: Tue, 19 May 2020 11:25:47 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: paulf@free.fr 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2020 11:25:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246488 Paul Floyd changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paulf@free.fr --- Comment #10 from Paul Floyd --- (In reply to Dimitry Andric from comment #3) I would add that LDFLAGS (or some other linker variable) is the appropriate variable for libraries. CPPFLAGS is entirely inappropriate - this is for preprocessor flags. CFLAGS and CXXFLAGS are the standard variables for C and C++ compilation. Also, isn't libgcc just a symlink to libcompiler_rt? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat May 23 11:06:46 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A82C52FF55D for ; Sat, 23 May 2020 11:06:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49TgXk43Tzz3WKf for ; Sat, 23 May 2020 11:06:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8B1CB2FF9B7; Sat, 23 May 2020 11:06:46 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8AE002FF830 for ; Sat, 23 May 2020 11:06: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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49TgXk3BfBz3WNb for ; Sat, 23 May 2020 11:06:46 +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 6896EEC37 for ; Sat, 23 May 2020 11:06:46 +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 04NB6k6O047658 for ; Sat, 23 May 2020 11:06:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04NB6kmG047657 for toolchain@FreeBSD.org; Sat, 23 May 2020 11:06:46 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 244169] [clang] __builtin_mul_overflow() with 64-bit values requires __muloti4 which is missing on 32-bit architectures Date: Sat, 23 May 2020 11:06:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me 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 MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 11:06:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244169 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #1 from Dimitry Andric --- We do compile contrib/llvm-project/compiler-rt/lib/builtins/muloti4.c as pa= rt of libcompiler_rt, but the file starts with: #include "int_lib.h" #ifdef CRT_HAS_128BIT // Returns: a * b // Effects: sets *overflow to 1 if a * b overflows COMPILER_RT_ABI ti_int __muloti4(ti_int a, ti_int b, int *overflow) { Obviously, CRT_HAS_128BIT is false on 32-bit platforms; it is defined in int_lib.h as: #if defined(__LP64__) || defined(__wasm__) || defined(__mips64) ||=20=20=20= =20=20=20=20=20=20=20=20=20 \ defined(__riscv) || defined(_WIN64) #define CRT_HAS_128BIT #endif So I'm not really sure what we can do about this... --=20 You are receiving this mail because: You are the assignee for the bug.=