Skip to content

Failure to compile on x86_64 without -fPIC #32

@rekado

Description

@rekado

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions