Created
June 2, 2014 00:52
-
-
Save leroix/7d6187433f777a189936 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[librdkafka (master *)]$gcc-4.9 -v | |
Using built-in specs. | |
COLLECT_GCC=gcc-4.9 | |
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc49/4.9-20131229/libexec/gcc/x86_64-apple-darwin13.0.0/4.9.0/lto-wrapper | |
Target: x86_64-apple-darwin13.0.0 | |
Configured with: ../configure --build=x86_64-apple-darwin13.0.0 --prefix=/usr/local/Cellar/gcc49/4.9-20131229 --enable-languages=c,c++,objc,obj-c++ --program-suffix=-4.9 --with-gmp=/usr/local/opt/gmp4 --with-mpfr=/usr/local/opt/mpfr2 --with-mpc=/usr/local/opt/libmpc08 --with-cloog=/usr/local/opt/cloog018 --with-isl=/usr/local/opt/isl011 --with-system-zlib --enable-version-specific-runtime-libs --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werror --enable-plugin --disable-nls --disable-multilib | |
Thread model: posix | |
gcc version 4.9.0 20131229 (experimental) (GCC) | |
[librdkafka (master *)]$g++-4.9 -v | |
Using built-in specs. | |
COLLECT_GCC=g++-4.9 | |
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc49/4.9-20131229/libexec/gcc/x86_64-apple-darwin13.0.0/4.9.0/lto-wrapper | |
Target: x86_64-apple-darwin13.0.0 | |
Configured with: ../configure --build=x86_64-apple-darwin13.0.0 --prefix=/usr/local/Cellar/gcc49/4.9-20131229 --enable-languages=c,c++,objc,obj-c++ --program-suffix=-4.9 --with-gmp=/usr/local/opt/gmp4 --with-mpfr=/usr/local/opt/mpfr2 --with-mpc=/usr/local/opt/libmpc08 --with-cloog=/usr/local/opt/cloog018 --with-isl=/usr/local/opt/isl011 --with-system-zlib --enable-version-specific-runtime-libs --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werror --enable-plugin --disable-nls --disable-multilib | |
Thread model: posix | |
gcc version 4.9.0 20131229 (experimental) (GCC) | |
[librdkafka (master *)]$CC=gcc-4.9 CXX=g++-4.9 ./configure --reconfigure && make clean all | |
Reconfiguring: /Users/leroix/librdkafka/configure | |
using cache file config.cache | |
checking for OS or distribution... ok (osx) | |
checking for C compiler from CC env... ok (cached) | |
checking for C++ compiler from CXX env... ok (cached) | |
checking executable ld... ok (cached) | |
checking executable nm... ok (cached) | |
checking executable objdump... failed (disable) | |
checking executable strip... ok (cached) | |
checking for pkgconfig (by command)... ok (cached) | |
checking for install (by command)... failed | |
checking for PIC (by compile)... ok (cached) | |
checking for GNU-compatible linker options... failed | |
checking for OSX linker options... ok (cached) | |
checking for GNU linker-script ld flag... failed | |
checking for Solaris linker-script ld flag... failed (ignore) | |
checking for __atomic_32 (by compile)... ok (cached) | |
checking for __atomic_64 (by compile)... ok (cached) | |
checking for socket (by compile)... ok (cached) | |
parsing version '0x00080300'... ok (0.8.3) | |
checking for libpthread (by pkg-config)... failed | |
checking for libpthread (by compile)... ok | |
checking for zlib (by pkg-config)... failed | |
checking for zlib (by compile)... ok | |
checking for librt (by pkg-config)... failed | |
checking for librt (by compile)... failed | |
checking executable otool... ok (cached) | |
Generated rdkafka.pc | |
Generated Makefile.config | |
Generated config.h | |
Configuration summary: | |
prefix /usr/local | |
ARCH x86_64 | |
CPU generic | |
MKL_DISTRO osx | |
CC gcc-4.9 | |
CXX g++-4.9 | |
LD clang | |
NM nm | |
STRIP strip | |
CPPFLAGS -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith | |
PKG_CONFIG pkg-config | |
INSTALL install | |
LIB_LDFLAGS -shared -dynamiclib -Wl,-install_name,$(DESTDIR)$(libdir)/$(LIBNAME).so.$(LIBVER) | |
LDFLAGS -g | |
RDKAFKA_VERSION_STR 0.8.3 | |
LIBS -lpthread -lz | |
CXXFLAGS -Wno-non-virtual-dtor | |
SYMDUMPER otool -TV | |
exec_prefix /usr/local | |
bindir /usr/local/bin | |
sbindir /usr/local/sbin | |
libexecdir /usr/local/libexec | |
datadir /usr/local/share | |
sysconfdir /usr/local/etc | |
sharedstatedir /usr/local/com | |
localstatedir /usr/local/var | |
libdir /usr/local/lib | |
includedir /usr/local/include | |
infodir /usr/local/info | |
mandir /usr/local/man | |
Generated config.cache | |
Now type 'make' to build | |
rm -f *.test test.o | |
rm -f rdkafka_example rdkafka_performance rdkafka_example_cpp | |
rm -f rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_defaultconf.o rdkafka_timer.o rdkafka_offset.o rdcrc32.o rdgz.o rdaddr.o rdrand.o rdthread.o rdqueue.o rdlog.o snappy.o rdkafka.d rdkafka_broker.d rdkafka_msg.d rdkafka_topic.d rdkafka_defaultconf.d rdkafka_timer.d rdkafka_offset.d rdcrc32.d rdgz.d rdaddr.d rdrand.d rdthread.d rdqueue.d rdlog.d snappy.d | |
rm -f librdkafka*.a librdkafka*.so librdkafka*.so.1 \ | |
librdkafka.lds | |
rm -f RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o TopicImpl.o MessageImpl.o RdKafka.d ConfImpl.d HandleImpl.d ConsumerImpl.d ProducerImpl.d TopicImpl.d MessageImpl.d | |
rm -f librdkafka++*.a librdkafka++*.so librdkafka++*.so.1 \ | |
librdkafka++.lds | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdkafka.c -o rdkafka.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdkafka_broker.c -o rdkafka_broker.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdkafka_msg.c -o rdkafka_msg.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdkafka_topic.c -o rdkafka_topic.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdkafka_defaultconf.c -o rdkafka_defaultconf.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdkafka_timer.c -o rdkafka_timer.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdkafka_offset.c -o rdkafka_offset.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdcrc32.c -o rdcrc32.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdgz.c -o rdgz.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdaddr.c -o rdaddr.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdrand.c -o rdrand.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdthread.c -o rdthread.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdqueue.c -o rdqueue.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdlog.c -o rdlog.o | |
gcc-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c snappy.c -o snappy.o | |
Generating linker script librdkafka.lds from rdkafka.h | |
Creating shared library librdkafka.so.1 | |
gcc-4.9 -g -shared -dynamiclib -Wl,-install_name,/usr/local/lib/librdkafka.so.1 rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_defaultconf.o rdkafka_timer.o rdkafka_offset.o rdcrc32.o rdgz.o rdaddr.o rdrand.o rdthread.o rdqueue.o rdlog.o snappy.o -o librdkafka.so.1 -lpthread -lz | |
Creating static library librdkafka.a | |
ar rcs librdkafka.a rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_defaultconf.o rdkafka_timer.o rdkafka_offset.o rdcrc32.o rdgz.o rdaddr.o rdrand.o rdthread.o rdqueue.o rdlog.o snappy.o | |
Checking librdkafka integrity | |
librdkafka.so.1 OK | |
librdkafka.a OK | |
Symbol visibility FAILED | |
g++-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wno-non-virtual-dtor -c RdKafka.cpp -o RdKafka.o | |
g++-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wno-non-virtual-dtor -c ConfImpl.cpp -o ConfImpl.o | |
g++-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wno-non-virtual-dtor -c HandleImpl.cpp -o HandleImpl.o | |
g++-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wno-non-virtual-dtor -c ConsumerImpl.cpp -o ConsumerImpl.o | |
g++-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wno-non-virtual-dtor -c ProducerImpl.cpp -o ProducerImpl.o | |
g++-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wno-non-virtual-dtor -c TopicImpl.cpp -o TopicImpl.o | |
g++-4.9 -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wno-non-virtual-dtor -c MessageImpl.cpp -o MessageImpl.o | |
Generating linker script librdkafka++.lds from rdkafkacpp.h | |
Creating shared library librdkafka++.so.1 | |
gcc-4.9 -g -shared -dynamiclib -Wl,-install_name,/usr/local/lib/librdkafka++.so.1 RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o TopicImpl.o MessageImpl.o -o librdkafka++.so.1 -L../src -lrdkafka -lpthread -lz -lstdc++ | |
Creating static library librdkafka++.a | |
ar rcs librdkafka++.a RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o TopicImpl.o MessageImpl.o | |
Checking librdkafka++ integrity | |
librdkafka++.so.1 OK | |
librdkafka++.a OK | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C examples | |
gcc-4.9 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -I../src rdkafka_example.c -o rdkafka_example -g \ | |
../src/librdkafka.a -lpthread -lz | |
# rdkafka_example is ready | |
# | |
# Run producer (write messages on stdin) | |
./rdkafka_example -P -t <topic> -p <partition> | |
# or consumer | |
./rdkafka_example -C -t <topic> -p <partition> | |
# | |
# More usage options: | |
./rdkafka_example --help | |
gcc-4.9 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -I../src rdkafka_performance.c -o rdkafka_performance -g \ | |
../src/librdkafka.a -lpthread -lz | |
# rdkafka_performance is ready | |
# | |
# Run producer | |
./rdkafka_performance -P -t <topic> -p <partition> -s <msgsize> | |
# or consumer | |
./rdkafka_performance -C -t <topic> -p <partition> | |
# | |
# More usage options: | |
./rdkafka_performance --help | |
g++-4.9 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wno-non-virtual-dtor -I../src-cpp rdkafka_example.cpp -o rdkafka_example_cpp -g \ | |
../src-cpp/librdkafka++.a ../src/librdkafka.a -lpthread -lz -lstdc++ | |
Updating CONFIGURATION.md | |
Checking integrity | |
CONFIGURATION.md OK | |
examples/rdkafka_example OK | |
examples/rdkafka_performance OK | |
examples/rdkafka_example_cpp OK | |
Checking librdkafka integrity | |
librdkafka.so.1 OK | |
librdkafka.a OK | |
Symbol visibility FAILED | |
Checking librdkafka++ integrity | |
librdkafka++.so.1 OK | |
librdkafka++.a OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment