zml1206 opened a new issue, #7495:
URL: https://github.com/apache/incubator-gluten/issues/7495
### Problem description
MacOS does not support version-script
### System information
dev/info.sh: line 47: lscpu: command not found
Gluten Version: 1.3.0-SNAPSHOT
Commit: f46f86da6270525f323ab85266589d5a0654e899
CMake Version: 3.30.5
System: Darwin-23.5.0
Arch: x86_64
CPU Name:
C++ Compiler: /Library/Developer/CommandLineTools/usr/bin/c++
C++ Compiler Version: 15.0.0.15000309
C Compiler: /Library/Developer/CommandLineTools/usr/bin/cc
C Compiler Version: 15.0.0.15000309
CMake Prefix Path:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr;/usr/local;/usr;/;/usr/local/Cellar/cmake/3.30.5;/usr/local;/usr/X11R6;/usr/pkg;/opt;/sw;/opt/local
### CMake log
```bash
[ 48%] Building CXX object core/CMakeFiles/gluten.dir/utils/ObjectStore.cc.o
[ 50%] Building CXX object core/CMakeFiles/gluten.dir/jni/JniError.cc.o
[ 51%] Building CXX object core/CMakeFiles/gluten.dir/jni/JniCommon.cc.o
In file included from
/Users/zml/Desktop/git_hub/incubator-gluten1/cpp/core/jni/JniCommon.cc:18:
/Users/zml/Desktop/git_hub/incubator-gluten1/cpp/core/jni/JniCommon.h:283:12:
warning: private field 'runtime_' is not used [-Wunused-private-field]
Runtime* runtime_;
^
1 warning generated.
[ 52%] Linking CXX shared library ../releases/libgluten.dylib
ld: unknown options:
--version-script=/Users/zml/Desktop/git_hub/incubator-gluten1/cpp/core/symbols.map
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [releases/libgluten.dylib] Error 1
make[1]: *** [core/CMakeFiles/gluten.dir/all] Error 2
make: *** [all] Error 2
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]