Hi Everyone,

I'm seeing a fair amount of "ld: warning: relocation error:
R_AMD64_64" when linking from nettle-3.6 release tarball:

gcc -g2 -O2 -m64 -march=native -fPIC -pthread -ggdb3 -Wall -W
-Wno-sign-compare   -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast
-Wnested-externs -L.. -L/opt/ssh/lib -m64 -Wl,-R,'RIGIN/../lib'
-Wl,-R,/opt/ssh/lib -Wl,-z,now rsa-sign.o io.o read_rsa_key.o \
-lhogweed -lnettle -lgmp -ldl -lpthread -o rsa-sign
ld: warning: relocation error: R_AMD64_64: file ../getopt.o: symbol
optarg: external symbolic relocation against non-allocatable section
.debug_info; cannot be processed at runtime: relocation ignored

It looks like getopt was not built correctly.

Jeff
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to