pitrou commented on PR #43054: URL: https://github.com/apache/arrow/pull/43054#issuecomment-2191570610
For reference, the linker error: ``` D:/a/_temp/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: src/arrow/compute/kernels/CMakeFiles/arrow-compute-vector-test.dir/vector_nested_test.cc.obj:vector_nested_test.cc:(.text$_ZN5arrow7compute12SwapListViewINS_12ListViewTypeEiEEvPNS_9ArrayDataExx[_ZN5arrow7compute12SwapListViewINS_12ListViewTypeEiEEvPNS_9ArrayDataExx]+0x117): undefined reference to `__imp__ZN5arrow12ListViewType7type_idE' D:/a/_temp/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: src/arrow/compute/kernels/CMakeFiles/arrow-compute-vector-test.dir/vector_nested_test.cc.obj:vector_nested_test.cc:(.text$_ZN5arrow7compute11SetListViewINS_12ListViewTypeEiEEvPNS_9ArrayDataExT0_S5_[_ZN5arrow7compute11SetListViewINS_12ListViewTypeEiEEvPNS_9ArrayDataExT0_S5_]+0x12f): undefined reference to `__imp__ZN5arrow12ListViewType7type_idE' ``` Some special handling is probably required for `static inline` members of `dllexport` classes. CLang handles them properly, but gcc doesn't, apparently. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
