mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 11:06:39 -04:00
Building devel/opencl-clang with lld 17 results in the following link error: ld: error: version script assignment of 'global' to symbol 'CheckLinkOptions' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'Link' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'GetKernelArgInfo' failed: symbol not defined The mentioned symbols are no longer in common_clang.cpp, so remove them from the linker version script. PR: 273753 MFH: 2023Q4
13 lines
264 B
Text
13 lines
264 B
Text
--- common_clang.map.orig 2022-08-31 01:41:40 UTC
|
|
+++ common_clang.map
|
|
@@ -2,10 +2,7 @@ global:
|
|
global:
|
|
extern "C" {
|
|
CheckCompileOptions;
|
|
- CheckLinkOptions;
|
|
Compile;
|
|
- Link;
|
|
- GetKernelArgInfo;
|
|
PCM_OPENCL_C_H*;
|
|
PCM_OPENCL_C_BASE_H*;
|
|
};
|