You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
platform:aarch64
version:2.6.0
cmd :
autoconf
./configure CFLAGS="-fPIC"
make
error log:
/home/spack/lib/spack/env/gcc/gcc -shared -rdynamic -Wl,-soname,libjlog.so.2 -o libjlog.so jlog.lo jlog_hash.lo jlog_io.lo jlog_compress.lo -fPIC -Wall -Wno-int-to-pointer-cast -Werror -D_GNU_SOURCE -D_REENTRANT -lpthread
/usr/bin/ld: jlog.lo: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `stderr@@GLIBC_2.17' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: jlog.lo(.text+0x315c): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17'
/usr/bin/ld: final link failed: Bad value
In version 2.5.4, the compilation is successful when the -fPIC option is used. In version 2.6.0, the preceding error is reported.
The text was updated successfully, but these errors were encountered:
platform:aarch64
version:2.6.0
cmd :
autoconf
./configure CFLAGS="-fPIC"
make
error log:
In version 2.5.4, the compilation is successful when the -fPIC option is used. In version 2.6.0, the preceding error is reported.
The text was updated successfully, but these errors were encountered: