| Summary: |
=net-misc/bfgminer-5.4.2 - 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 |
| Product: |
Gentoo Linux
|
Reporter: |
Milos Ivanovic <bugs> |
| Component: |
Current packages | Assignee: |
Anthony Basile <blueness> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
normal
|
CC: |
FRadiatio, luke-jr+gentoobugs
|
| Priority: |
Normal
|
|
|
| Version: |
unspecified | |
|
| Hardware: |
All | |
|
| OS: |
Linux | |
|
| Whiteboard: |
|
|
Package list:
|
|
Runtime testing required:
|
---
|
| Attachments: |
build.log
emerge --info
|
Created attachment 509778 [details] build.log Hi team, I'm getting the following errors trying to compile bfgminer: [...snip...] x86_64-pc-linux-gnu-gcc -DHAS_YASM -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -o bfgminer-rpc api-example.o x86_64-pc-linux-gnu-gcc -DHAS_YASM -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as-needed -o bfgminer bfgminer-miner.o bfgminer-deviceapi.o bfgminer-util.o bfgminer-sha2.o bfgminer-api.o bfgminer-version.o bfgminer-logging.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 lib/libgnu.a ccan.bfg/libccan.a -lbase58 -lblkmaker-0.1 -lblkmaker_jansson-0.1 -lcurl -ljansson -lpthread -L/usr/lib64 -lncursesw -lm x86_64/libx8664.a /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/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/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/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/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output [...snip...] The full build log is attached.