On 19.05.2016 17:40, Jakub Bogusz wrote:
># echo 'int main() {}' > a.c
>
># gcc a.c -o test
>/usr/bin/ld:
>/usr/lib64/gcc/x86_64-pld-linux/4.9.3/../../../../lib64/crti.o:
>unrecognized relocation (0x2a) in section `.init'
>/usr/bin/ld: final link failed: Bad value
>collect2: error: ld returned 1 exit status
>
>
># gcc a.c -fPIC -o test
>/usr/bin/ld:
>/usr/lib64/gcc/x86_64-pld-linux/4.9.3/../../../../lib64/crti.o:
>unrecognized relocation (0x2a) in section `.init'
>/usr/bin/ld: final link failed: Bad value
>collect2: error: ld returned 1 exit status
Isn't it binutils related?
42 is R_X86_64_REX_GOTPCRELX, a new relocation introduced in 2.26.

See also:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808205

so how that should be handled in .spec dependencies?

--
glen

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to