riboseinc / retrace

retrace is a versatile security vulnerability / bug discovery tool through monitoring and modifying the behavior of compiled binaries on Linux, OpenBSD/FreeBSD/NetBSD (shared object) and macOS (dynamic library).
Other
60 stars 19 forks source link

FreeBSD 12 build fails #412

Closed pablo-mendoza closed 5 years ago

pablo-mendoza commented 5 years ago

Builds in FreeBSD 12-RELEASE is failing with a bunch of errors like this:

/usr/bin/ld: error: can't create dynamic relocation R_X86_64_64 against symbol: retrace_engine_wrapper in readonly segment; recompile object files with -fPIC

defined in .libs/libretrace_v2_la-engine.o referenced by funcs_symbols.S:29 .libs/libretrace_v2_la-funcs_symbols.o:(.text+0x37)

Note that we are building using -fPIC so this need a bit of investigation.

pablo-mendoza commented 5 years ago

fixed by https://github.com/riboseinc/retrace/pull/413