Open snifong opened 11 years ago
Full config and make logs, please.
I have no idea why it'd be trying to link a shared object here.
Output from:
make AM_V_CCLD=''
make all-recursive make[1]: Entering directory `/media/truecrypt2/bfgminer' Making all in lib make[2]: Entering directory `/media/truecrypt2/bfgminer/lib' GEN arg-nonnull.h GEN c++defs.h GEN warn-on-use.h GEN signal.h GEN string.h make all-recursive make[3]: Entering directory `/media/truecrypt2/bfgminer/lib' make[4]: Entering directory `/media/truecrypt2/bfgminer/lib' CC dummy.o AR libgnu.a make[4]: Leaving directory `/media/truecrypt2/bfgminer/lib' make[3]: Leaving directory `/media/truecrypt2/bfgminer/lib' make[2]: Leaving directory `/media/truecrypt2/bfgminer/lib' Making all in ccan make[2]: Entering directory `/media/truecrypt2/bfgminer/ccan' CC opt/libccan_a-helpers.o CC opt/libccan_a-opt.o CC opt/libccan_a-parse.o CC opt/libccan_a-usage.o AR libccan.a make[2]: Leaving directory `/media/truecrypt2/bfgminer/ccan' Making all in libblkmaker make[2]: Entering directory `/media/truecrypt2/bfgminer/libblkmaker' /bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT libblkmaker_jansson_0.1_la-blkmaker_jansson.lo -MD -MP -MF .deps/libblkmaker_jansson_0.1_la-blkmaker_jansson.Tpo -c -o libblkmaker_jansson_0.1_la-blkmaker_jansson.lo `test -f 'blkmaker_jansson.c' || echo './'`blkmaker_jansson.c libtool: compile: gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT libblkmaker_jansson_0.1_la-blkmaker_jansson.lo -MD -MP -MF .deps/libblkmaker_jansson_0.1_la-blkmaker_jansson.Tpo -c blkmaker_jansson.c -fPIC -DPIC -o .libs/libblkmaker_jansson_0.1_la-blkmaker_jansson.o mv -f .deps/libblkmaker_jansson_0.1_la-blkmaker_jansson.Tpo .deps/libblkmaker_jansson_0.1_la-blkmaker_jansson.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT base58.lo -MD -MP -MF .deps/base58.Tpo -c -o base58.lo base58.c libtool: compile: gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT base58.lo -MD -MP -MF .deps/base58.Tpo -c base58.c -fPIC -DPIC -o .libs/base58.o mv -f .deps/base58.Tpo .deps/base58.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT blkmaker.lo -MD -MP -MF .deps/blkmaker.Tpo -c -o blkmaker.lo blkmaker.c libtool: compile: gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT blkmaker.lo -MD -MP -MF .deps/blkmaker.Tpo -c blkmaker.c -fPIC -DPIC -o .libs/blkmaker.o mv -f .deps/blkmaker.Tpo .deps/blkmaker.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT blktemplate.lo -MD -MP -MF .deps/blktemplate.Tpo -c -o blktemplate.lo blktemplate.c libtool: compile: gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT blktemplate.lo -MD -MP -MF .deps/blktemplate.Tpo -c blktemplate.c -fPIC -DPIC -o .libs/blktemplate.o mv -f .deps/blktemplate.Tpo .deps/blktemplate.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT hex.lo -MD -MP -MF .deps/hex.Tpo -c -o hex.lo hex.c libtool: compile: gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT hex.lo -MD -MP -MF .deps/hex.Tpo -c hex.c -fPIC -DPIC -o .libs/hex.o mv -f .deps/hex.Tpo .deps/hex.Plo /bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -version-info 4:1:4 -no-undefined -o libblkmaker-0.1.la -rpath /usr/local/lib base58.lo blkmaker.lo blktemplate.lo hex.lo libtool: link: gcc -std=gnu99 -shared -fPIC -DPIC .libs/base58.o .libs/blkmaker.o .libs/blktemplate.o .libs/hex.o -O2 -Wl,-soname -Wl,libblkmaker-0.1.so.0 -o .libs/libblkmaker-0.1.so.0.4.1 libtool: link: (cd ".libs" && rm -f "libblkmaker-0.1.so.0" && ln -s "libblkmaker-0.1.so.0.4.1" "libblkmaker-0.1.so.0") libtool: link: (cd ".libs" && rm -f "libblkmaker-0.1.so" && ln -s "libblkmaker-0.1.so.0.4.1" "libblkmaker-0.1.so") libtool: link: ( cd ".libs" && rm -f "libblkmaker-0.1.la" && ln -s "../libblkmaker-0.1.la" "libblkmaker-0.1.la" ) /bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -L.libs -lblkmaker-0.1 -ljansson -no-undefined -version-info 4:1:4 -o libblkmaker_jansson-0.1.la -rpath /usr/local/lib libblkmaker_jansson_0.1_la-blkmaker_jansson.lo libtool: link: gcc -std=gnu99 -shared -fPIC -DPIC .libs/libblkmaker_jansson_0.1_la-blkmaker_jansson.o -Wl,-rpath -Wl,/media/truecrypt2/bfgminer/libblkmaker/.libs -L.libs /media/truecrypt2/bfgminer/libblkmaker/.libs/libblkmaker-0.1.so -ljansson -O2 -Wl,-soname -Wl,libblkmaker_jansson-0.1.so.0 -o .libs/libblkmaker_jansson-0.1.so.0.4.1 libtool: link: (cd ".libs" && rm -f "libblkmaker_jansson-0.1.so.0" && ln -s "libblkmaker_jansson-0.1.so.0.4.1" "libblkmaker_jansson-0.1.so.0") libtool: link: (cd ".libs" && rm -f "libblkmaker_jansson-0.1.so" && ln -s "libblkmaker_jansson-0.1.so.0.4.1" "libblkmaker_jansson-0.1.so") libtool: link: ( cd ".libs" && rm -f "libblkmaker_jansson-0.1.la" && ln -s "../libblkmaker_jansson-0.1.la" "libblkmaker_jansson-0.1.la" ) make[2]: Leaving directory `/media/truecrypt2/bfgminer/libblkmaker' Making all in x86_64 make[2]: Entering directory `/media/truecrypt2/bfgminer/x86_64' /usr/bin/yasm -f elf64 -o sha256_xmm_amd64.o sha256_xmm_amd64.asm /usr/bin/yasm -f elf64 -o sha256_sse4_amd64.o sha256_sse4_amd64.asm AR libx8664.a make[2]: Leaving directory `/media/truecrypt2/bfgminer/x86_64' make[2]: Entering directory `/media/truecrypt2/bfgminer' make -C lib make[3]: Entering directory `/media/truecrypt2/bfgminer/lib' make all-recursive make[4]: Entering directory `/media/truecrypt2/bfgminer/lib' make[5]: Entering directory `/media/truecrypt2/bfgminer/lib' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/media/truecrypt2/bfgminer/lib' make[4]: Leaving directory `/media/truecrypt2/bfgminer/lib' make[3]: Leaving directory `/media/truecrypt2/bfgminer/lib' CC bfgminer-miner.o CC bfgminer-deviceapi.o CC bfgminer-util.o CC bfgminer-sha2.o CC bfgminer-api.o CC bfgminer-logging.o CC bfgminer-driver-proxy.o CC bfgminer-httpsrv.o CC bfgminer-driver-getwork.o CC bfgminer-driver-stratum.o CC bfgminer-sha256_generic.o CC bfgminer-sha256_via.o CC bfgminer-sha256_cryptopp.o CC bfgminer-sha256_sse2_amd64.o CC bfgminer-sha256_sse4_amd64.o CC bfgminer-sha256_altivec_4way.o CC bfgminer-driver-cpu.o CC bfgminer-fpgautils.o CC bfgminer-lowl-usb.o CC bfgminer-lowlevel.o CC bfgminer-driver-bigpic.o CC bfgminer-driver-klondike.o CC bfgminer-driver-bitfury.o CC bfgminer-libbitfury.o CC bfgminer-spidevc.o CC bfgminer-driver-littlefury.o cd libblkmaker && make make[3]: Entering directory `/media/truecrypt2/bfgminer/libblkmaker' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/media/truecrypt2/bfgminer/libblkmaker' gcc -std=gnu99 -DHAS_YASM -g -O2 -pthread -Llibblkmaker/.libs -Wl,-rpath,\$ORIGIN/libblkmaker/.libs,-zorigin -o bfgminer bfgminer-miner.o bfgminer-deviceapi.o bfgminer-util.o bfgminer-sha2.o bfgminer-api.o bfgminer-logging.o bfgminer-driver-proxy.o bfgminer-httpsrv.o bfgminer-driver-getwork.o bfgminer-driver-stratum.o bfgminer-sha256_generic.o bfgminer-sha256_via.o bfgminer-sha256_cryptopp.o bfgminer-sha256_sse2_amd64.o bfgminer-sha256_sse4_amd64.o bfgminer-sha256_altivec_4way.o bfgminer-driver-cpu.o bfgminer-fpgautils.o bfgminer-lowl-usb.o bfgminer-lowlevel.o bfgminer-driver-bigpic.o bfgminer-driver-klondike.o bfgminer-driver-bitfury.o bfgminer-libbitfury.o bfgminer-spidevc.o bfgminer-driver-littlefury.o -lcurl -ljansson -lpthread -L/usr/lib64 -lncursesw -ludev -lusb-1.0 -lm lib/libgnu.a ccan/libccan.a -lblkmaker_jansson-0.1 -lblkmaker-0.1 -lmicrohttpd -levent x86_64/libx8664.a /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: x86_64/libx8664.a(sha256_xmm_amd64.o): relocation R_X86_64_32 against `sha256_consts_m128i' can not be used when making a shared object; recompile with -fPIC x86_64/libx8664.a: could not read symbols: Bad value collect2: error: ld returned 1 exit status make[2]: *** [bfgminer] Error 1 make[2]: Leaving directory `/media/truecrypt2/bfgminer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/truecrypt2/bfgminer' make: *** [all] Error 2
Please bisect this.
I don't know what that means.
Can replicate in v 5.4.2 commit 4f861b4b; result of make AM_V_CCLD='' (NOT a clean configure) follows; will bisect if I get a beat, can do a clean config if needed.
andrew@big-rig:~/bfgminer$ make AM_V_CCLD=''
( cd . && ./gen-version.sh ) >version.h.new
cmp ./version.h version.h.new && rm version.h.new || mv version.h.new ./version.h
make all-recursive
make[1]: Entering directory '/home/andrew/bfgminer'
Making all in lib
make[2]: Entering directory '/home/andrew/bfgminer/lib'
make all-recursive
make[3]: Entering directory '/home/andrew/bfgminer/lib'
make[4]: Entering directory '/home/andrew/bfgminer/lib'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/andrew/bfgminer/lib'
make[3]: Leaving directory '/home/andrew/bfgminer/lib'
make[2]: Leaving directory '/home/andrew/bfgminer/lib'
Making all in ccan.bfg
make[2]: Entering directory '/home/andrew/bfgminer/ccan.bfg'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/andrew/bfgminer/ccan.bfg'
Making all in libbase58
make[2]: Entering directory '/home/andrew/bfgminer/libbase58'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/andrew/bfgminer/libbase58'
Making all in libblkmaker
make[2]: Entering directory '/home/andrew/bfgminer/libblkmaker'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/andrew/bfgminer/libblkmaker'
Making all in x86_64
make[2]: Entering directory '/home/andrew/bfgminer/x86_64'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/andrew/bfgminer/x86_64'
make[2]: Entering directory '/home/andrew/bfgminer'
make -C lib
make[3]: Entering directory '/home/andrew/bfgminer/lib'
make all-recursive
make[4]: Entering directory '/home/andrew/bfgminer/lib'
make[5]: Entering directory '/home/andrew/bfgminer/lib'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/andrew/bfgminer/lib'
make[4]: Leaving directory '/home/andrew/bfgminer/lib'
make[3]: Leaving directory '/home/andrew/bfgminer/lib'
( cd . && ./gen-version.sh ) >version.h.new
cmp ./version.h version.h.new && rm version.h.new || mv version.h.new ./version.h
make -C libbase58
make[3]: Entering directory '/home/andrew/bfgminer/libbase58'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrew/bfgminer/libbase58'
make -C libblkmaker
make[3]: Entering directory '/home/andrew/bfgminer/libblkmaker'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrew/bfgminer/libblkmaker'
gcc -DHAS_YASM -fPIC -pthread -o bfgminer bfgminer-miner.o bfgminer-deviceapi.o bfgminer-util.o bfgminer-sha2.o bfgminer-api.o bfgminer-version.o bfgminer-logging.o bfgminer-driver-proxy.o bfgminer-httpsrv.o bfgminer-driver-getwork.o bfgminer-driver-stratum.o malgo/bfgminer-sha256d.o bfgminer-sha256_generic.o bfgminer-sha256_via.o bfgminer-sha256_cryptopp.o bfgminer-sha256_sse2_amd64.o bfgminer-sha256_sse4_amd64.o bfgminer-sha256_altivec_4way.o bfgminer-driver-cpu.o bfgminer-lowl-vcom.o bfgminer-lowl-usb.o bfgminer-binloader.o bfgminer-lowlevel.o bfgminer-dynclock.o bfgminer-work2d.o bfgminer-driver-bitforce.o bfgminer-driver-bigpic.o bfgminer-driver-drillbit.o bfgminer-driver-twinfury.o bfgminer-driver-icarus.o bfgminer-driver-cairnsmore.o bfgminer-driver-erupter.o bfgminer-driver-antminer.o bfgminer-gc3355.o bfgminer-driver-dualminer.o bfgminer-driver-avalon.o bfgminer-driver-avalonmm.o bfgminer-driver-klondike.o bfgminer-driver-hashbusteravalon.o bfgminer-driver-modminer.o bfgminer-driver-x6500.o bfgminer-jtag.o bfgminer-driver-ztex.o bfgminer-libztex.o bfgminer-driver-bifury.o bfgminer-driver-bitfury.o bfgminer-libbitfury.o bfgminer-driver-bfx.o bfgminer-driver-littlefury.o bfgminer-driver-hashbusterusb.o bfgminer-driver-cointerra.o bfgminer-driver-hashfast.o bfgminer-driver-rockminer.o bfgminer-lowl-ftdi.o bfgminer-lowl-pci.o bfgminer-lowl-spi.o lib/libgnu.a ccan.bfg/libccan.a -L/home/andrew/bfgminer/libbase58/.libs -Wl,-rpath,\$ORIGIN/libbase58/.libs,-zorigin -lbase58 -L/home/andrew/bfgminer/libblkmaker/.libs -Wl,-rpath,\$ORIGIN/libblkmaker/.libs,-zorigin -lblkmaker_jansson-0.1 -lblkmaker-0.1 -lcurl -ljansson -lpthread -lncursesw -ltinfo -ludev -lusb-1.0 -lm -lmicrohttpd -levent -levent_pthreads -levent x86_64/libx8664.a
/usr/bin/ld: x86_64/libx8664.a(sha256_xmm_amd64.o): relocation R_X86_64_32 against undefined symbol `sha256_consts_m128i' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: x86_64/libx8664.a(sha256_sse4_amd64.o): relocation R_X86_64_32 against undefined symbol `g_4sha256_k' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:1257: recipe for target 'bfgminer' failed
make[2]: *** [bfgminer] Error 1
make[2]: Leaving directory '/home/andrew/bfgminer'
Makefile:2756: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/andrew/bfgminer'
Makefile:1127: recipe for target 'all' failed
make: *** [all] Error 2
Using the latest source. Configuration Options Summary:
curses.TUI...........: FOUND: ncursesw5 scrypt...............: Disabled
OpenCL...............: Enabled sensors.monitoring.: Enabled ADL.monitoring.....: Disabled Avalon.ASICs.........: Disabled BitForce.devices.....: Disabled Icarus.FPGAs.........: Disabled ModMiner.FPGAs.......: Disabled X6500.FPGAs..........: Disabled ZTEX.FPGAs...........: Disabled
CPU Mining...........: Enabled ASM.(for CPU mining).: true
Compilation............: make (or gmake) CPPFLAGS.............: -I/usr/include/ncursesw -pthread CFLAGS...............: -g -O2 -pthread LDFLAGS..............: -pthread -lpthread LDADD................: -ldl -lcurl -ljansson -L/usr/lib64 -lncursesw -lm
Installation...........: make install (as root if needed, with 'su' or 'sudo') prefix...............: /usr/local
Error Message: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: x86_64/libx8664.a(sha256_xmm_amd64.o): relocation R_X86_64_32 against `sha256_consts_m128i' can not be used when making a shared object; recompile with -fPIC x86_64/libx8664.a: could not read symbols: Bad value