You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/04/21 16:50:09 UTC

[GitHub] [pulsar] sekarpdkt opened a new issue #4096: C++ client support for arm64 (like Raspberry Pi)

sekarpdkt opened a new issue #4096: C++ client support for arm64 (like Raspberry Pi)
URL: https://github.com/apache/pulsar/issues/4096
 
 
   **Is your feature request related to a problem? Please describe.**
   I was trying to build it for Raspberry Pi so that client libraries can be built/ran on Pi. It failed. Error messages are attached below. Looks like we have very specific dependency on some CPU flags like `msse4.2 -mpclmul`
   
   **Describe the solution you'd like**
   Can we have a client library for Raspberry Pi
   
   **Describe alternatives you've considered**
   None
   
   **Additional context**
    I was compiling it inside a docker. Error message as follows
   ```
   
   root@pulsar-client-cpp-lib:/code/pulsar/pulsar-client-cpp# make  -j4
   [  0%] Building CXX object lib/CMakeFiles/pulsarShared.dir/Authentication.cc.o
   [  0%] Building CXX object lib/CMakeFiles/pulsarShared.dir/BatchAcknowledgementTracker.cc.o
   c++: error: unrecognized command line option '-msse4.2'
   [  1%] Building CXX object lib/CMakeFiles/pulsarShared.dir/Backoff.cc.o
   c++: error: unrecognized command line option '-mpclmul'
   c++: error: unrecognized command line option '-msse4.2'
   lib/CMakeFiles/pulsarShared.dir/build.make:69: recipe for target 'lib/CMakeFiles/pulsarShared.dir/Authentication.cc.o' failed
   make[2]: *** [lib/CMakeFiles/pulsarShared.dir/Authentication.cc.o] Error 1
   make[2]: *** Waiting for unfinished jobs....
   c++: error: unrecognized command line option '-mpclmul'
   lib/CMakeFiles/pulsarShared.dir/build.make:117: recipe for target 'lib/CMakeFiles/pulsarShared.dir/BatchAcknowledgementTracker.cc.o' failed
   make[2]: *** [lib/CMakeFiles/pulsarShared.dir/BatchAcknowledgementTracker.cc.o] Error 1
   c++: error: unrecognized command line option '-msse4.2'
   c++: error: unrecognized command line option '-mpclmul'
   [  2%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/Authentication.cc.o
   lib/CMakeFiles/pulsarShared.dir/build.make:93: recipe for target 'lib/CMakeFiles/pulsarShared.dir/Backoff.cc.o' failed
   make[2]: *** [lib/CMakeFiles/pulsarShared.dir/Backoff.cc.o] Error 1
   CMakeFiles/Makefile2:151: recipe for target 'lib/CMakeFiles/pulsarShared.dir/all' failed
   make[1]: *** [lib/CMakeFiles/pulsarShared.dir/all] Error 2
   make[1]: *** Waiting for unfinished jobs....
   c++: error: unrecognized command line option '-msse4.2'
   c++: error: unrecognized command line option '-mpclmul'
   lib/CMakeFiles/pulsarStatic.dir/build.make:69: recipe for target 'lib/CMakeFiles/pulsarStatic.dir/Authentication.cc.o' failed
   make[2]: *** [lib/CMakeFiles/pulsarStatic.dir/Authentication.cc.o] Error 1
   make[2]: *** Waiting for unfinished jobs....
   [  3%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/BatchAcknowledgementTracker.cc.o
   [  3%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/Backoff.cc.o
   [  3%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/BatchMessageContainer.cc.o
   c++: error: unrecognized command line option '-msse4.2'
   c++: error: unrecognized command line option '-mpclmul'
   lib/CMakeFiles/pulsarStatic.dir/build.make:117: recipe for target 'lib/CMakeFiles/pulsarStatic.dir/BatchAcknowledgementTracker.cc.o' failed
   make[2]: *** [lib/CMakeFiles/pulsarStatic.dir/BatchAcknowledgementTracker.cc.o] Error 1
   c++: error: unrecognized command line option '-msse4.2'
   c++: error: unrecognized command line option '-mpclmul'
   lib/CMakeFiles/pulsarStatic.dir/build.make:93: recipe for target 'lib/CMakeFiles/pulsarStatic.dir/Backoff.cc.o' failed
   make[2]: *** [lib/CMakeFiles/pulsarStatic.dir/Backoff.cc.o] Error 1
   c++: error: unrecognized command line option '-msse4.2'
   c++: error: unrecognized command line option '-mpclmul'
   lib/CMakeFiles/pulsarStatic.dir/build.make:141: recipe for target 'lib/CMakeFiles/pulsarStatic.dir/BatchMessageContainer.cc.o' failed
   make[2]: *** [lib/CMakeFiles/pulsarStatic.dir/BatchMessageContainer.cc.o] Error 1
   CMakeFiles/Makefile2:188: recipe for target 'lib/CMakeFiles/pulsarStatic.dir/all' failed
   make[1]: *** [lib/CMakeFiles/pulsarStatic.dir/all] Error 2
   Makefile:129: recipe for target 'all' failed
   make: *** [all] Error 2
   root@pulsar-client-cpp-lib:/code/pulsar/pulsar-client-cpp# 
   
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services