You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/07/09 08:47:06 UTC

[GitHub] [incubator-doris] IVitamin-C opened a new issue #6193: librdkafka compilation failed

IVitamin-C opened a new issue #6193:
URL: https://github.com/apache/incubator-doris/issues/6193


   doris vesion :0.14.0
   gcc :devtoolset-10
   cmake version 3.15.0-rc1
   
   Compilation fails and needs to be recompiled, is there any cache to speed up?
   
   /opt/rh/devtoolset-10/root/usr/bin/../bin/gcc -MD -MP -I/data/doris-source/incubator-doris-0.14.0/thirdparty/installed/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -fPIC         -c rdkafka_sasl_scram.c -o rdkafka_sasl_scram.o
   /opt/rh/devtoolset-10/root/usr/bin/../bin/gcc -MD -MP -I/data/doris-source/incubator-doris-0.14.0/thirdparty/installed/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -fPIC         -c snappy.c -o snappy.o
   /opt/rh/devtoolset-10/root/usr/bin/../bin/gcc -MD -MP -I/data/doris-source/incubator-doris-0.14.0/thirdparty/installed/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -fPIC         -c rdgz.c -o rdgz.o
   /opt/rh/devtoolset-10/root/usr/bin/../bin/gcc -MD -MP -I/data/doris-source/incubator-doris-0.14.0/thirdparty/installed/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -fPIC         -c rdhdrhistogram.c -o rdhdrhistogram.o
   /opt/rh/devtoolset-10/root/usr/bin/../bin/gcc -MD -MP -I/data/doris-source/incubator-doris-0.14.0/thirdparty/installed/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -fPIC         -c rdkafka_lz4.c -o rdkafka_lz4.o
   /opt/rh/devtoolset-10/root/usr/bin/../bin/gcc -MD -MP -I/data/doris-source/incubator-doris-0.14.0/thirdparty/installed/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -fPIC         -c rddl.c -o rddl.o
   /opt/rh/devtoolset-10/root/usr/bin/../bin/gcc -MD -MP -I/data/doris-source/incubator-doris-0.14.0/thirdparty/installed/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -fPIC         -c rdkafka_plugin.c -o rdkafka_plugin.o
   Generating pkg-config file rdkafka.pc
   Generating pkg-config file rdkafka-static.pc
   Creating shared library librdkafka.so.1
   Creating static library librdkafka.a
   /opt/rh/devtoolset-10/root/usr/bin/../bin/gcc -L/data/doris-source/incubator-doris-0.14.0/thirdparty/installed/lib -shared -Wl,-soname,librdkafka.so.1 -Wl,--version-script=librdkafka.lds rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdvarint.o rdbuf.o rdunittest.o rdkafka_sasl_scram.o snappy.o rdgz.o rdhdrhistogr
 am.o rdkafka_lz4.o xxhash.o rddl.o rdkafka_plugin.o -o librdkafka.so.1 -lssl -lcrypto   -Wl,-Bstatic -llz4 -Wl,-Bdynamic -lm -lcrypto   -lz   -ldl -lpthread -lrt
   ar rcs librdkafka.a rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdvarint.o rdbuf.o rdunittest.o rdkafka_sasl_scram.o snappy.o rdgz.o rdhdrhistogram.o rdkafka_lz4.o xxhash.o rddl.o rdkafka_plugin.o
   /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /data/doris-source/incubator-doris-0.14.0/thirdparty/installed/lib/liblz4.a(lz4frame.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
   /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /data/doris-source/incubator-doris-0.14.0/thirdparty/installed/lib/liblz4.a(lz4.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
   collect2: error: ld returned 1 exit status
   make[1]: *** [librdkafka.so.1] Error 1
   make[1]: Leaving directory `/data/doris-source/incubator-doris-0.14.0/thirdparty/src/librdkafka-0.11.6-RC5/src'
   make: *** [libs] 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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] IVitamin-C closed issue #6193: librdkafka compilation failed

Posted by GitBox <gi...@apache.org>.
IVitamin-C closed issue #6193:
URL: https://github.com/apache/incubator-doris/issues/6193


   


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org