View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015935 | VTK | (No Category) | public | 2016-01-13 17:31 | 2016-01-20 15:34 | ||||
Reporter | Hans Johnson | ||||||||
Assigned To | David Gobbi | ||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 7.0.rcs | ||||||||
Target Version | 7.0.0 | Fixed in Version | |||||||
Summary | 0015935: zlib symobls are not all hidden in VTK. | ||||||||
Description | zlib symobls are not all hidden in VTK. duplicate symbol _z_errmsg in: /scratch/johnsonhj/src/BT-bld/lib/libvtkzlib-7.1.a(zutil.o) /scratch/johnsonhj/src/BT-bld/zlib-install/lib/libzlib.a(zutil.c.o) ld: 1 duplicate symbol for architecture x86_64 | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035651) Hans Johnson (reporter) 2016-01-14 12:12 |
This is NOT a bug. This was end-user error. I had set ITK_USE_SYSTEM_ZLIB instead of VTK_USE_SYSTEM_ZLIB. I checked every other variable regarding the system path to libraries and includes, and that ITK_USE_SYSTEM_ZLIB was on. I missed that VTK_USE_SYSTEM_ZLIB was still set to off. Sorry. |
(0035654) David Gobbi (developer) 2016-01-14 17:52 |
Hi Hans, are you sure that you're right about being wrong? :) The _z_errmsg is, indeed, not mangled in vtkzlib. A dump gives this: nm libvtkzlib-7.0.dylib 0000000000012140 S _z_errmsg Setting VTK_USE_SYSTEM_ZLIB hides the issue by linking zlib instead of vtkzlib. |
(0035662) Hans Johnson (reporter) 2016-01-20 12:42 |
My issue went away when I properly set VTK_USE_SYSTEM_ZLIB. Perhaps there is still a potential problem that needs to be addressed, but I could side-step it with my solution. I do think that this should be mangled so that both system zlib and vtkzlib could be bound to the same application. |
(0035663) David Gobbi (developer) 2016-01-20 13:00 |
This is a serious bug, there should be no symbol conflicts regardless of how VTK_USE_SYSTEM_ZLIB is set. I've submitted a patch: https://gitlab.kitware.com/vtk/vtk/merge_requests/1104 [^] |
(0035666) David Gobbi (developer) 2016-01-20 15:34 |
The patch has been merged into master and put into the queue for the VTK 7.0 release. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-01-13 17:31 | Hans Johnson | New Issue | |
2016-01-14 12:12 | Hans Johnson | Note Added: 0035651 | |
2016-01-14 17:52 | David Gobbi | Note Added: 0035654 | |
2016-01-20 12:23 | David Gobbi | Assigned To | => David Gobbi |
2016-01-20 12:23 | David Gobbi | Status | backlog => active development |
2016-01-20 12:42 | Hans Johnson | Note Added: 0035662 | |
2016-01-20 13:00 | David Gobbi | Note Added: 0035663 | |
2016-01-20 13:00 | David Gobbi | Status | active development => gerrit review |
2016-01-20 13:03 | David Gobbi | Product Version | => 7.0.rcs |
2016-01-20 13:03 | David Gobbi | Target Version | => 7.0.0 |
2016-01-20 15:34 | David Gobbi | Note Added: 0035666 | |
2016-01-20 15:34 | David Gobbi | Status | gerrit review => closed |
2016-01-20 15:34 | David Gobbi | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |