Date: Thu, 22 Nov 2018 01:05:45 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 233394] [clang bug] Static constructor isn't called in the C++ project Message-ID: <bug-233394-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233394 Bug ID: 233394 Summary: [clang bug] Static constructor isn't called in the C++ project Product: Base System Version: 11.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org Created attachment 199439 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D199439&action= =3Dedit patch How to reproduce: 1. Apply this patch to the ports tree: https://reviews.freebsd.org/D18293 2. Install the port from the attached patch 'gazebo.patch'. 3. If you run the command 'gazebo' it would crash because the line > static const std::string PathDelimiter =3D ":"; in gazebo/common/SystemPaths.cc failed to initialize PathDelimiter 4. But if you change '1' to '0' in the '#if' clause, the workaround would a= void this problem. I tried with both base clang and clang-70, both exhibit the problem. 11.2 amd64 r338762 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233394-227>