Created attachment 189157 [details]
Does not link with bfd (complains about missing symbols IIRC), so I set -fuse-ld=lld. Would be nice to have a BFD_UNSAFE flag in the framework :)
Does not build on 11: https://gist.github.com/lwhsu/6848f5eb4ab86f6b7ef4559f794d42d7
Hm, looks like 11.2-RELEASE has old lld..
I can reproduce this error in an old 11.1 jail, but copying /usr/bin/ld.lld from 11-STABLE fixes it.
The 11.2 release notes say "The clang, llvm, lldb and compiler-rt utilities have been updated to version 6.0.0", but looks like lld did not join the party :(
Created attachment 199086 [details]
This should work. (Just patching the makefile now.)
A commit references this bug:
Date: Thu Nov 8 23:19:04 UTC 2018
New revision: 484487
Add maxcso, ISO to CSO compressor for PSP/PS2 emulators
Submitted by: Greg V <firstname.lastname@example.org>