Turns out this failed on i386, ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
Any suggestions on whether -nopie or -Wl,-z,notext is more appropriate?