On 2018-11-20, Christian Weisgerber <na...@mips.inka.de> wrote: > (Unfortunately, it still errors out with text relocations when built > on i386 with lld, but that's a separate issue.)
There are text relocations deep in the runtime environment, somewhere in a maze of Prolog, WAM, C and inline assembly. That said, simply passing LDFLAGS=-Wl,-znotext to configure propagates all the way through to the right places. Can be done from the port Makefile, or, if you still patch the configure script, added there. -- Christian "naddy" Weisgerber na...@mips.inka.de