I didn't get the 'final link failed: Bad value' error when building on docker.
Consider rebuilding docker VM. FYI On Fri, Sep 29, 2017 at 11:01 AM, Andrzej <[email protected]> wrote: > W dniu 29.09.2017 o 19:12, Ted Yu pisze: > >> bq. Problem is with libevent.a library >> >> Can you share more details on what you found ? >> >> I did a quick search but didn't find how libevent.a is involved. >> >> > Compiling with Buck and Docker: > [+] BUILDING...12.4s [16%] (89/91 JOBS, 2 UPDATED, 2 [2.2%] CACHE MISS) > |=> //NativeLib:NativeLib#binary... 2.0s (running c++ link[1.9s]) > /usr/bin/ld: /usr/src/hbase/hbase-native-client/buck-out/gen/third-party/ > gen_libevent/gen_libevent/libevent.a(event.o): relocation R_X86_64_PC32 > against symbol `event_global_current_base_' can not be used when making a > shared object; recompile with -fPIC > /usr/bin/ld: final link failed: Bad value > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > >
