aesni-examples icon indicating copy to clipboard operation
aesni-examples copied to clipboard

Relocation truncated to fit

Open emc2314 opened this issue 9 years ago • 2 comments

I got this when I compiled it on my PC: /tmp/ccxMsZIh.o:fake:(.text+0x40): relocation truncated to fit: R_X86_64_32S against symbol `buf' defined in COMMON section in /tmp/ccxMsZIh.o Any Ideas?

emc2314 avatar Nov 23 '16 15:11 emc2314

same here

Zibri avatar Mar 20 '19 10:03 Zibri

all you need to do is to add the compile flag : -no-pie , it'll look like this :+1: printf 'Building... ' for bin in encrypt decrypt; do gcc -Wall -no-pie -nostdlib -o $bin $bin.s done

E6DUchiha avatar Apr 09 '19 21:04 E6DUchiha