[Bug 231042] lang/gcc8: Strange crash with STL and libxerces-c.so
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Aug 31 00:48:06 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231042
Bug ID: 231042
Summary: lang/gcc8: Strange crash with STL and libxerces-c.so
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: gerald at FreeBSD.org
Reporter: yuri at freebsd.org
Assignee: gerald at FreeBSD.org
Flags: maintainer-feedback?(gerald at FreeBSD.org)
I compile the following test.cpp with this command:
> g++8 -o test test.cpp -L/usr/local/lib -lxerces-c
The resulting executable test crashes:
> $ ./test
> Segmentation fault
File test.cpp:
> #include <iostream>
> int main(int argc, char **argv) { }
Removing -lxerces-c or removing #include <iostream> eliminates the crash.
The crash is in static constructors.
libxerces-c.so is from xerces-c3-3.2.0_2
11.2-STABLE
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list