Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ld error due to debian/ubuntu -pie default
Fixes iovisor#782. Solution taken verbatim from @jepio here: iovisor#782 (comment) I ran into the same issue attempting to compile from source on a fresh Ubuntu 16.10/Yakkety host: Linking C executable bcc-lua /usr/bin/ld: libluajit-5.1.a(ljamalg.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output Build succeeded after patch was applied.
- Loading branch information