[Bug 194375] New: textproc/tinyxml2: Linking to shared object created segfault
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 15 05:25:47 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194375
Bug ID: 194375
Summary: textproc/tinyxml2: Linking to shared object created
segfault
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: bf at FreeBSD.org
Reporter: antumdeluge at gmail.com
Assignee: bf at FreeBSD.org
Flags: maintainer-feedback?(bf at FreeBSD.org)
FreeBSD 10.0 amd64
tinyxml2-20140124
gcc version 4.7.4 (FreeBSD Ports Collection)
Linking to tinyxml2 dynamically causes a segmentation fault when I run a
program:
[OUTPUT]
$ g++ test.cpp -o test -ltinyxml2
$ ./test test.xml
Segmentation fault (core dumped)
[/OUTPUT]
I can link to it statically without encountering the same problem:
[OUTPUT]
$ g++ test.cpp -o test /usr/local/lib/libtinyxml2.a
$ ./test test.xml
Loading XML contents....
Name=sword
[/OUTPUT]
NOTE: This also seems to affect textproc/tinyxml, though I have not tried
statically linking yet.
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer bf at FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list