Failure to compile on x86_64 without -fPIC
rekado opened this issue · comments
rekado commented
On Fedora 20 I cannot compile HEAD:
/usr/bin/ld: markdown_parser.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
markdown_parser.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [library] Error 1
It works fine when I add -fPIC
to the CFLAGS.
This broke with commit c3564c9. Versions before that commit build fine.