Commit b91f370
committed
fix: export vtable/typeinfo symbols of zvec classes in Linux version script
The version script only exported zvec::* function/data symbols. vtable,
typeinfo, VTT and guard variable symbols demangle to 'vtable for zvec::...'
etc., which the zvec::* pattern does not match, so they were localized by
'local: *'. Consumers linking libzvec.so then failed with
'undefined reference to vtable for zvec::core_interface::HNSWIndexParam'.
Add the mangled-name patterns (_ZTVN4zvec*, _ZTIN4zvec*, _ZTSN4zvec*,
_ZTTN4zvec*, _ZGVN4zvec*), mirroring what exported_symbols_cpp.txt already
does on macOS.1 parent 08cebdf commit b91f370
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
8 | 18 | | |
9 | 19 | | |
10 | 20 | | |
0 commit comments