Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to compile on x86_64 without -fPIC #32

Open
rekado opened this issue Jan 11, 2014 · 0 comments
Open

Failure to compile on x86_64 without -fPIC #32

rekado opened this issue Jan 11, 2014 · 0 comments

Comments

@rekado
Copy link
Contributor

rekado commented Jan 11, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant